On 06/02/2015 11:42 AM, Daniele Nicolodi wrote:
On 02/06/15 22:45, Sharon Stahl wrote:
My problem is that when the .forward file only has just "username",
"thismachine" does not check the aliases file to see that it is the
machine that
keeps mail for that user. It adds @domain to the name and sends it off to
our main NIS machine that answers for "domain" (masterfor) and is
currrently a Solaris machine
running sendmail. That machine sends it back because it knows that it
is for
"thismachine" and "thismachine" marks it as "mail loop".
[...]
relay_domains = $mydestination, $mydomain
relayhost = [only mail input/output of domain server]
[...]
I may be wrong, bur aren't you here asking explicitly to relay mail
destined to $mydomain through your $relayhost?
Cheers,
Daniele
I may have mislead. The relayhost is the MX for everyone but these
messages never
go to that relayhost machine.