Red Hat Bugzilla – Bug 82057
Sendmail seems to ignore the trusted users class (Ct).
Last modified: 2007-04-18 12:50:05 EDT
Description of problem:
Using the sendmail-8.12.5-7 package from RH8, sendmail seems to ignore trusted
users, producing a warning header like this:
X-Authentication-Warning: luna.sophic.org: ddm set sender to email@example.com using -f
I tried adding the user in two ways: added it to /etc/mail/trusted-users, and
when that didn't work, I also defined confTRUSTED_USERS in sendmail.mc and
recreated sendmail.cf. The entries appear to have been created correctly:
# Trusted users #
# this is equivalent to setting class "t"
However, mail send by ddm with sendmail's -f flag still generates the warning
message. I even restarted sendmail, though this should not be necessary, since
sendmail invoked on the command line will read the config file (and hence should
notice the Tddm)...
Note that I was able to test that it works fine for root, daemon, and uucp, but
NOT for ddm.
Here's my sendmail.mc:
VERSIONID(`linux setup for Red Hat Linux')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
Thanks. Oh, FWIW, I tested this on my 7.2 machine running sendmail-8.11.6, and
it worked fine by simply adding the user name to the ct file.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. add user to /etc/mail/trusted-users
2. send mail using sendmail -f "firstname.lastname@example.org" to yourself
3. note X-authentication-warning header in headers of received message
Seems to work fine with current 8.12.7-4. If your sendmail already has a
submit.cf, make sure that is also setup correctly.
Florian La Roche
Ok, but this is not the package that 8.0 ships with. How do I get it? There
appears to be no sendmail errata, and no update in the updates directory of the
FTP site. I can't find this package anywhere on the FTP site...
Ok, I found sendmail 8.12.7 packages in Rawhide, but this is absolutely NOT a
solution to the problem. Installing these packages requires an updated
libcrypto.so which means that in order to install this package, I have to update
half my system with beta quality software. Sendmail 8.12.7 is not what is
shipped with Red Hat 8, and I can't run your 8.12 packages, so this is clearly
still a bug.
This is only a configuration issue, please adjust it with your existing rpm
and all should be working fine.
Florian La Roche
Ok, I get it. I was not aware that there was a seperate config file for the
msp, and didn't get your comment about the submit.cf file above. It's all set.