sendmail: from virtual address changed to maindomain
Roberto Nunnari
roberto.nunnari at supsi.ch
Sat Mar 15 01:36:13 UTC 2008
Hi all.
This is driving me mad.. I hope a kind soul can help me out..
This is the relevant environment:
# uname -rms
FreeBSD 6.1-RELEASE-p23 i386
# hostname
jupiter.maindomain.com
# cat /etc/mail/local-host-names
maindomain.com
mydomain1.com
# cat /etc/mail/generics-domains
mydomain1.com
# cat /etc/mail/genericstable
md101 john at mydomain1.com
md102 jack at mydomain1.com
# cat /etc/mail/virtusertable
john at mydomain1.com md101
jack at mydomain1.com md102
entries in hostname.mc
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
FEATURE(genericstable, `hash -o /etc/mail/genericstable')
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')
MX hostnames are all A records.
well, as long as the users receive/send emails from/to external domains
everything works just fine, but when:
john at mydomain1.com sends to jack at mydomain1.com or viceversa
the message gets to the right user, but the from header is
changed to john at maindomain.com, mailbox that doesn't exists!
Any hints/suggestions?
Please, help!
Thank you.
Robi
More information about the freebsd-questions
mailing list