cobalt raq4: disable pop before smtp

cobalt raq4: disable pop before smtp

Post by tg » Fri, 14 Aug 2009 05:10:24


I'm having a lot of difficulty disabling the 'pop before smtp' feature in
the sendmail on a cobalt raq4. Unticking the box in the GUI never works and
I do stop and start the sendmail service after doing it. I also installed
the update from zeffie that's supposed to fix this but popb4smtp still
runs. I figured there has got to be a way to turn this feature off but a
search on google only brings up ways to set it up and use it.
Here is a copy of my sendmail config: Thanks for any pointers.

#
# cobalt.mc
# define(`confCACERT_PATH', `/etc/certs')dnl

divert(0)
include(`m4/cf.m4')dnl
VERSIONID(`cobalt.mc for sendmail 8.14.3 [May 17 2008]')dnl
OSTYPE(`linux')dnl
divert(-1)

# general options
divert(0)
undefine(`UUCP_RELAY')dnl
undefine(`BITNET_RELAY')dnl
define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl
define(`QUEUE_DIR', `/var/spool/mqueue/q*')dnl
define(`STATUS_FILE', `/etc/mail/statistics')dnl
define(`ALIAS_FILE', `/etc/mail/aliases')dnl
define(`confCT_FILE', `/etc/mail/trusted-users')dnl
define(`confCW_FILE', `/etc/mail/local-host-names')dnl
define(`confEBINDIR', `/usr/sbin')dnl
define(`confDEF_USER_ID', ``8:12'')dnl
define(`confAUTH_MECHANISMS', `PLAIN CRAM-MD5 DIGEST-MD5')dnl
define(`confDONT_BLAME_SENDMAIL',
`forwardfileingroupwritabledirpath,GroupWritableIncludeFile')dnl
define(`confAUTO_REBUILD', `True')dnl
define(`confPRIVACY_FLAGS', `goaway,noexpn,novrfy,authwarnings')dnl
define(`confQUEUE_LA', `15')dnl
define(`confREFUSE_LA', `20')dnl
define(`confME_TOO', `True')dnl
define(`confDONT_EXPAND_CNAMES', `True')dnl
define(`confSMTP_LOGIN_MSG', `$?{if_name}${if_name}$|$j$. Sendmail $v/$Z;
$b')dnl
define(`confRECEIVED_HEADER', `$?sfrom $s $.$?_($?s$|from $.$_)
$.$?{auth_type}(authenticated)
$.by $?{if_name}${if_name}$|$j$. ($v/$Z)$?r with $r$. id $i$?u
for $u; $|;
$.$b')dnl
divert(-1)

# features
divert(0)
FEATURE(`smrsh')dnl
FEATURE(`redirect')dnl
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
FEATURE(`local_procmail')dnl
FEATURE(`no_default_msa')dnl
FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
FEATURE(`virtusertable', hash -o /etc/mail/virtusertable)dnl
FEATURE(`blacklist_recipients')
dnl # FEATURE(`dnsbl',`dnsbl.sorbs.net',`554 Rejected $&{client_addr} - see
http://www.yqcomputer.com/ ')dnl
dnl # FEATURE(`dnsbl',`bl.spamcop.net',`554 Rejected $&{client_addr} - see
http://www.yqcomputer.com/ ')dnl
dnl # FEATURE(`dnsbl',`sbl.spamhaus.org',`554 Rejected $&{client_addr} -
see http://www.yqcomputer.com/ ')dnl
dnl # FEATURE(`dnsbl',`dnsbl.njabl.org',`554 Rejected $&{client_addr} - see
http://www.yqcomputer.com/ ')dnl
FEATURE(`block_bad_helo')
FEATURE(`require_rdns')
FEATURE(`badmx')
TRUST_AUTH_MECH(`CRAM-MD5 DIGEST-MD5')dnl
divert(-1)

# mailers
divert(0)
MAILER(`smtp')dnl
MAILER(`procmail')dnl
divert(-1)

LOCAL_RULESETS
SLocal_check_relay
# Put the address into cannonical form (even if it doesn't resolve to an
MX).
R$* $: $>Parse0 03 $1
R$* < $* > $* $: $1 < $2 . > $3
R$* < $* . . > $* $1 < $2 . > $3
# Test against pop-before-relay hash
R$* $: < $&{client_addr} >
R< $* > $(popauth $1 $)
R$* < MATCH > $#OK