Hi,

I'm almost done with my server with opensmtpd/dovecot ; I have a last question I hope: is it possible to relay with sending hostname related to the domain I use ?

Indeed, I'm in a multi-domain context and I would like if possible to say something like :

accept from local "from" domain "domainA.tld" for any relay hostname "mail.domainA.tld" pki mail.domainA.tld accept from local "from" domain "domainB.tld" for any relay hostname "mail.domainB.tld" pki mail.domainB.tld

Idea is that for a mail from domainA.tld, it is sent via mail.domainA.tld and for a mail from domainB.tld it is sent via mail.domainB.tld and not via mail.domainA.tld.

I tried to play with a addrname table but it "requires" one IP per domain. I had a duplicate key in log files.

"source" table does not make me think I can use them for my need and relay "as" seems global also and not related to a domain.

Thanks,
Nicolas

--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to