On Tue, 18 Jun 2002, Charles Philip Chan wrote:
It look like the trusted user file only gives permission of sending mail as another user and *not* to disable the warning.
Seems so ... but the trusted user feature defines clearly: use_ct_file Read the file /etc/mail/trusted-users file to get the names of users that will be ``trusted'', that is, able to set their envelope from address using -f without generating a WARNING MESSAGE. The actual filename can be overridden by redefining confCT_FILE.
Try changing this line:
dnl define(`confPRIVACY_FLAGS', `authwarnings,needmailhelo,novrfy,noexpn,noetrn,noverb')dnl
to
define(`confPRIVACY_FLAGS', `needmailhelo,novrfy,noexpn,noetrn,noverb')dnl
From sendmail 2nd Edition I get: If the PrivacyOptions option is declared with authwarnings, V8 sendmail inserts a special header line for possible security concerns [...] A user or program's user identity used the -f command-line switche to change identity of the sender to other (and user was NOT listed with T configuration command)
In my scenario the option PRIVACY_FLAGS was not set ... but regarding Robert Paulsen (Thu, 9 May 2002) the problem is: " The file /etc/mail/submit.cf does not contain the last line above. If I copy that line into /etc/mail/submit.cf, I no longer get the Authentication-Warnings." So SuSEconfig generates a /etc/mail/submit.cf file ... changing here the T class leads to the desired result ... I always thought the logic is: create from linux.mc and /etc/sysconfig/sendmail a valid /etc/mail/submit.cf file and copy it to /etc/sendmail.cf ... but the truth is that sendmail is using the submit.cf file as configuration file ... this is flustering and deranging ... maybe even wrong!!!! Oliver -- ... don't touch the bang-bang fruit