[SunHELP] sendmail alias problem
Mon Oct 21 15:08:12 CDT 2002
I'm trying to get an mail alias working for the first time.
A uncommented the AliasFile entry from sendmail.cf and I added an "A" to the
"F=" entry for the Mlocal line.
Mlocal, P=/usr/lib/mail.local, F=lsDFM5qfSmn9A,
S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
T=DNS/RFC822/X-Unix,
A=mail.local -d $u
Mprog, P=/bin/sh, F=lsDFMoqeu9, S=EnvFromL/HdrFromL,
R=EnvToL/HdrToL, D=$z:/,
T=X-Unix/X-Unix/X-Unix,
A=sh -c $u
I created two entries in /etc/mail/aliases and ran "newaliases" the command
returns good output:
/etc/mail/aliases: 5 aliases, longest 41 bytes, 137 bytes total
If I send to either alias (one is pager: 302201XXXX at archwireless.net), the
other is an include list, it seems to get deferred for reasons I don't
understand.
Here's the mailx command:
[bkbox root] /usr/openv/local #mailx -v -s "test3 to pager" nbdistro
test
.
EOT
[bkbox root] /usr/openv/local #nbdistro... Connecting to local...
nbdistro... Deferred: local mailer (/usr/lib/mail.local) exited with
EX_TEMPFAIL
Here's the logfile errors:
Oct 21 14:59:49 bkbox sendmail[22456]: [ID 801593 mail.info]
g9LJxn81022456: from=donaldsm, size=61, class=0, nrcpts=1,
msgid=<200210211959.g9LJxn81022456 at europa.experian.com>,
relay=root at localhost
Oct 21 14:59:49 bkbox sendmail[22457]: [ID 801593 mail.crit]
g9LJxn81022456: SYSERR(root): openmailer: insufficient privileges to
change gid, RunAsUid=25, new_gid=0, gid=25, egid=25
Oct 21 14:59:49 bkbox sendmail[22456]: [ID 801593 mail.info]
g9LJxn81022456: to=nbdistro, ctladdr=donaldsm (0/1), delay=00:00:00,
xdelay=00:00:00, mailer=local, pri=30056, dsn=4.0.0, stat=Deferred: local
mailer (/usr/lib/mail.local) exited with EX_TEMPFAIL
the output remains unchanged if I send to either mail alias.
I'm stuck. I'm unsure of the version of sendmail but the header on the
executable suggest 8.887
@(#)$Id: main.c,v 8.887.2.1 2002/08/04 17:36:06 gshapiro Exp $
Using "sendmail -v -bv <distroname>" says the mail is deliverable.
[bkbox root] /usr/openv/local #/usr/lib/sendmail -v -bv nbdistro
nbdistro... aliased to :include:/usr/openv/netbackup/mail.distro
:include:/usr/openv/netbackup/mail.distro... deliverable: mailer relay, host
experian.com, user :include:/usr/openv/netbackup/mail.distro at experian.com
Any help would be appreciated.
More information about the SunHELP
mailing list