sendmail: from virtual address changed to maindomain

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Sat Mar 15 08:00:22 UTC 2008


>
> 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!

could you please show whole hostname.mc


More information about the freebsd-questions mailing list