user/4951: Sendmail: diff to make submit.cf honour /etc/mail/trusted-users
>Synopsis: Sendmail: diff to make submit.cf honour /etc/mail/trusted-users
>Arrival-Date: Thu Dec 22 11:20:01 GMT 2005
>Originator: Stuart Henderson
System : OpenBSD 3.8
Machine : i386
/etc/mail/trusted-users is only honoured by the MTA not the MSA,
so it's not read in most situations where it's needed.
$ echo whoami | sudo sh -c "cat >> /etc/mail/trusted-users"
$ sudo kill -HUP `head -1 /var/run/sendmail.pid`
$ echo "test"|sendmail -f'[hidden email]' `whoami`
- examine headers in received mail.
New file /usr/src/gnu/usr.sbin/sendmail/cf/cf/openbsd-submit.mc to
avoid clobbering when the new release is imported:
# Copyright (c) 2001-2003 Sendmail, Inc. and its suppliers.
# All rights reserved.
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
# This is the prototype file for a set-group-ID sm-msp sendmail that
# acts as a initial mail submission program.
VERSIONID(`$Sendmail: submit.mc,v 8.13 2003/09/10 22:12:48 ca Exp $')
define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
define(`confCT_FILE', `-o MAIL_SETTINGS_DIR`'trusted-users')dnl