On Fri, 17 Oct 2008, Frank B. Brokken wrote:
Trusted users specified by either confTRUSTED_USERS or trusted-users file are apparently not recognized. I've used FEATURE(use_ct_file)dnl with trusted-users containing majordom as well as define(`confTRUSTED_USERS',`majordom') but whenever mail is sent by majordomo messages like ... sendmail[32069]: m9H6KRGC032069: Authentication-Warning: ...: majordom set sender to [EMAIL PROTECTED] using -f continue to appear in the logs and distributed headers.
Neither show up in the include sendmail/submit .mc
Privacy Options used are: O PrivacyOptions=noexpn,novrfy,noverb,noetrn,needmailhelo,needexpnhelo,needvrfyhelo,nobodyreturn
Hrm, not sure that is going to work the way you'd like Since you apparently started from way back (8.7), you may be being bit by the MSP/MTA split... Ie, for majordomo, using the sendmail binary in MSP mode, you may also need to add FEATURE(use_ct_file)dnl to submit.mc
sendmail.mc: divert(-1) divert(0) define(`_USE_ETC_MAIL_')dnl include(`/usr/share/sendmail/cf/m4/cf.m4')dnl VERSIONID(`@(#)sendmail.mc 8.7 (Linux) 3/5/96')
Wow... right about the time I started maintaining sendmail ;^)
OSTYPE(`debian')dnl DOMAIN(`debian-mta')dnl FEATURE(always_add_domain)dnl FEATURE(`masquerade_envelope')dnl FEATURE(redirect)dnl FEATURE(`nouucp', `reject')dnl FEATURE(`smrsh')dnl FEATURE(`genericstable')dnl FEATURE(`enhdnsbl', `bl.spamcop.net', `"Spam blocked see: http://spamcop.net/bl.shtml?"$&{client_addr}', `t')dnl FEATURE(`access_db')dnl FEATURE(`blacklist_recipients')dnl GENERICS_DOMAIN_FILE(`/etc/mail/sendmail.cG')dnl define(`confTO_QUEUEWARN', `1d')dnl define(`confTO_QUEUERETURN', `7d')dnl MAILER(local)dnl MAILER(smtp)dnl EXPOSED_USER(`root') LOCAL_CONFIG MASQUERADE_AS(rug.nl)dnl
You really want a LOCAL_CONFIG *right* before this line
O PrivacyOptions=needexpnhelo,needmailhelo,needvrfyhelo,nobodyreturn,noexpn,noverb,novrfy
But... you'd be better off doing this the sendmail.mc way: define(`confPRIVACY_FLAGS', `<good stuff here>')dnl
Ct frank
If you wanted frank to be trusted, that should be Tfrank but irregardless, this line also wants LOCAL_CONFIG
include(`/etc/mail/tls/starttls.m4')dnl INPUT_MAIL_FILTER(`countrymilter', `S=local:/var/run/countrymilter.sock') define(`confMILTER_MACROS_ENVFROM', `_') define(`confINPUT_MAIL_FILTERS', `countrymilter') submit.mc... divert(-1)dnl divert(0)dnl define(`_USE_ETC_MAIL_')dnl include(`/usr/share/sendmail/cf/m4/cf.m4')dnl VERSIONID(`$Id: submit.mc, v 8.12.0.Beta19 2001/04/23 12:00:00 cowboy Exp $') OSTYPE(`debian')dnl DOMAIN(`debian-msp')dnl FEATURE(`msp')dnl
See above about privacy options
O PrivacyOptions=needexpnhelo,needmailhelo,needvrfyhelo,nobodyreturn,noexpn,noverb,novrfy
And you likely also want use_ct_file here -- Rick Nelson If we want something nice to get born in nine months, then sex has to happen. We want to have the kind of sex that is acceptable and fun for both people, not the kind where someone is getting screwed. Let's get some cross fertilization, but not someone getting screwed. -- Larry Wall -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]