sendmail & trusted-users weirdness 

http://www.redhat.com/archives/psyche-list/2002-December/msg00573.html

To: "'psyche-list redhat com'" <psyche-list redhat com>
Date: Sat, 7 Dec 2002 10:13:12 -0600
> I added a username to /etc/mail/trusted-users, next added
> define(`confCT_FILE', `-o /etc/mail/trusted-users') to
> sendmail.mc, then did m4 /etc/mail/sendmail.mc >
> /etc/mail/sendmail.cf and restarted sendmail.
>
> Yet, if I send out an email with evolution 1.2 I still see in the
> headers of the recipient's email the warning:
> X-Authentication-Warning:
> myhost: user set sender to some_other_email_address using -f

I don't think you need the above "define" if your .mc file already has FEATURE (use_ct_file)dnl

The use_ct_file feature will add the proper tags in your .cf file for the use of the trusted users file.

> In /etc/mail/sendmail.cf I see:
> #####################
> #   Trusted users   #
> #####################
>
> # this is equivalent to setting class "t"
> Ft-o /etc/mail/trusted-users
> Troot
> Tdaemon
> Tuucp

If you add the use_ct_file feature as shown above, then the reulting sendmail.cf file will contain…

#####################
#   Trusted users   #
#####################
# this is equivalent to setting class "t"
Ft/etc/mail/trusted-users
Troot
Tdaemon
Tuucp

Note the difference in the trusted users line.

BTW: It's the -o thats incorrect. should be

define(`confCT_FILE', `/etc/mail/trusted-users')

Steve Cowles