Hey guys, is there any possibility to forward the mails to the host from which they came from? Currently we use the smtp_forward plugin but we always have to hardcode the host. We want to forward the mail always to the host from which it came from. Any thoughts about that? Thank you very much in advance
baudehlo
Use outbound and a get_mx hook?
Andy_
Does this also work when I dont want do deliver the email to recipient but forward to other SMTP for final delivery?
Or solution 2: Can I somehow put other hosts for different domains into the file while the server is running?
get_mx is to get host of email recipient? but I want host of email sender