Hi - yeah, I don't know but they rewite the header to say it's from the authenticated sender, to quote another from https://www.linode.com/community/questions/22287/550-57511-access-denied-banned-sender-office-365 (https://www.linode.com/community/questions/22287/550-57511-access-denied-banned-sender-office-365)
As @brayworth (https://www.linode.com/community/user/brayworth) has indicated, mailgun changes the headers, so if sending from a second domain you get the fugly "on behalf of" in mail clients. Cheers David Bray e. da...@brayworth.com January 5, 2022 12:06 AM, "Eric Broch" <ebr...@whitehorsetc.com (mailto:ebr...@whitehorsetc.com?to=%22Eric%20Broch%22%20<ebr...@whitehorsetc.com>)> wrote: Why does mailgun care that you have a multi-domain server (if that's what you're saying) just as long as you have credentials? You can set smtproutes up to relay mail from all domains on your server to mailgun (w/credentials). On 1/3/2022 10:07 PM, David Bray wrote: true, but relaying with a username/password so just trying to solve the linode problem by using a upstream smtp service (mailgun) .... it works on the first domain, but not the subsequent domains, because a separate set of creds can't be specified for sending from the 2nd domain Cheers David Bray e. da...@brayworth.com (mailto:da...@brayworth.com) January 4, 2022 2:58 PM, "Eric Broch" <ebr...@whitehorsetc.com (mailto:ebr...@whitehorsetc.com?to=%22Eric%20Broch%22%20<ebr...@whitehorsetc.com>)> wrote: All you're doing is relaying through another host. On 1/3/2022 9:41 PM, David Bray wrote:and to answer the question * yes, it is valid - but the format is [optiional target domain]:relay server:port|username|password but, that only allows one username for many virtual domains ... * so using mailgun or any smtp relay service is not an option - if you have virtual domains ... [my assumption] Cheers David Bray e. da...@brayworth.com (mailto:da...@brayworth.com) January 4, 2022 1:56 PM, "David Bray" <da...@brayworth.com (mailto:da...@brayworth.com?to=%22David%20Bray%22%20<da...@brayworth.com>)> wrote: Hi, Is this page valid * http://wiki.qmailtoaster.com/index.php/Smtproutes (http://wiki.qmailtoaster.com/index.php/Smtproutes) in particular the username/password settings It doesn't seem to be included in http://qmailtoaster.org/ (http://qmailtoaster.org/) I'm thinking of relaying through mailgun.com Cheers David Bray e. da...@brayworth.com (mailto:da...@brayworth.com)