[svlug] Sendmail routing mail to root

Skip Evans skip at bigskypenguin.com
Sat Sep 2 08:59:42 PDT 2006


Hey all,

We just set up a new server for a client, FC5, at 
800hosting.com. I configured sendmail to send mail 
to two 5 accounts.

virtusertable contains:

robert at pixoasis.com             robert
eadler at pixoasis.com             eliana
support at pixoasis.com            support
robert at catapultbooks.com        robert
info at catapultbooks.com          info

local-host-names contains:

# local-host-names - include all aliases for your 
machine here.
pixoasis.com
catapultbooks.com

I changed sendmail.mc to accept outside 
connections by putting the '#' in:

dnl #  DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, 
Name=MTA')dnl

I then rebuilt the .db files with:

makemap hash /etc/mail/access < /etc/mail/access
makemap hash /etc/mail/virtusertable < 
/etc/mail/virtusertable

I tested the email with two of the accounts, 
support at pixoasis.com and robert at pixoasis.com. As 
you can see in the log file entries below, mail to 
robert at pixoasis.com is being places in the

/var/mail/robert

...folder, but any mail going to 
support at pixoasis.com ends up in the folder

/var/mail/root

Sep  2 10:44:47 server sendmail[25550]: 
k82Fik5F025550: from=<skip at bigskypenguin.com>, 
size=679, class=0, nrcpts=1, 
msgid=<44F9A87C.9050906 at bigskypenguin.com>, 
proto=ESMTP, daemon=MTA, relay=[71.36.241.190]
Sep  2 10:44:47 server sendmail[25552]: 
k82Fik5F025550: to=root, delay=00:00:01, 
xdelay=00:00:00, mailer=local, pri=30864, 
dsn=2.0.0, stat=Sent

Sep  2 10:45:24 server sendmail[25556]: 
k82FjNed025556: from=<skip at bigskypenguin.com>, 
size=677, class=0, nrcpts=1, 
msgid=<44F9A8A1.2000404 at bigskypenguin.com>, 
proto=ESMTP, daemon=MTA, relay=[71.36.241.190]
Sep  2 10:45:24 server sendmail[25557]: 
k82FjNed025556: to=<robert at pixoasis.com>, 
delay=00:00:01, xdelay=00:00:00, mailer=local, 
pri=30861, dsn=2.0.0, stat=Sent

Looking through the configuration I don't see any 
discrepancies between the two very similar email 
addresses.

Suggestions would be greatly appreciated.

Thanks!

-- 
Skip Evans
Big Sky Penguin, LLC
61 W Broadway
Butte, Montana 59701
406-782-2240




More information about the Svlug mailing list