i am facing a problem with the sendmail (with 2 domains)
domain : test1.domain.com
is the hostname of the machine (IP 192.168.1.1)
domain : test2.domain.com
is the alias for the same ip (IP 192.168.1.1)
when i try to send an email like this
mail -s "test" -r firstname.lastname@example.org email@example.com
i receive in headers "From: firstname.lastname@example.org
it seems that sendmail looks only for the hostname and ignores the
admin is not a local user in both domains.
any ideas on that?