I have 7 domains.
I am using dovecot and sendmail.
I can set one domain to so I can use it with the same outgoing settings as the incoming settings.
Like mail.domain1.com incoming port 110
mail.domain1.com outgoing 25
But When I try and send out using the same setting on the other domains I get a 504 authentication error.
I have put the domains into the domain masquerading of sendmail. as well as the relay and outgoing mail addresses...