Date: Sat, 15 Mar 2008 01:35:36 +0100 From: Roberto Nunnari <roberto.nunnari@supsi.ch> To: freebsd-questions@freebsd.org Subject: sendmail: from virtual address changed to maindomain Message-ID: <47DB19D8.2010001@supsi.ch>
next in thread | raw e-mail | index | archive | help
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@mydomain1.com md102 jack@mydomain1.com # cat /etc/mail/virtusertable john@mydomain1.com md101 jack@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@mydomain1.com sends to jack@mydomain1.com or viceversa the message gets to the right user, but the from header is changed to john@maindomain.com, mailbox that doesn't exists! Any hints/suggestions? Please, help! Thank you. Robi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47DB19D8.2010001>