sendmail: from virtual address changed to maindomain

Roberto Nunnari roberto.nunnari at
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

# cat /etc/mail/local-host-names

# cat /etc/mail/generics-domains

# cat /etc/mail/genericstable
md101        john at
md102        jack at

# cat /etc/mail/virtusertable
john at            md101
jack at            md102

entries in
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
FEATURE(genericstable, `hash -o /etc/mail/genericstable')

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 sends to jack at or viceversa

the message gets to the right user, but the from header is
changed to john at, mailbox that doesn't exists!

Any hints/suggestions?

Please, help!

Thank you.

More information about the freebsd-questions mailing list