Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oud Of Office auto-reply doesn't respect transport settings #234

Open
jwegge opened this issue Aug 1, 2023 · 5 comments
Open

Oud Of Office auto-reply doesn't respect transport settings #234

jwegge opened this issue Aug 1, 2023 · 5 comments

Comments

@jwegge
Copy link

jwegge commented Aug 1, 2023

When using a filter created in round cube (such as out of office) on a setup where all outgoing malis is sent through an external server ("Relay outgoing email to" in web front-end), this is not done for the reply generated on the server itself.

Detail: we use Proxmox mail gateway for in- & outgoing email.
Iredmail is configured for all hosted domains to use the external mail gateway (in my case 10.10.10.14:26).
All outgoing email is scanned by the Proxmox mail gateway EXCEPT for the "out of office" messages, which get sent directly by iredmail to the destination mailserver.

Destination mailserver may or may not accept these messages as different pub ip & hostname as the expected mail gateway (dkim & spf gets mangled).

@Anzulo1984
Copy link
Contributor

Yes, because it is an autoreply, it strips out sender and other stuff to avoid bounceback loops, and aswell doesn't send trough normal sasl authenticated domain settings

consider it as an advanced bounce message

@jwegge
Copy link
Author

jwegge commented Aug 2, 2023 via email

@Anzulo1984
Copy link
Contributor

you can manually add a virtual transport map for such things

@jwegge
Copy link
Author

jwegge commented Aug 3, 2023

A hint as to how to accomplish this?

Working with sender_dependent_relayhost_maps and adding a "postmapped" file containing data underneath didn't work out.
127.0.0.1 10.10.10.14:26

Obviously the mysql "SELECT relayhost FROM sender_relayhost;" gives 10.10.10.14:26 for all hosted domains.

@bcnx
Copy link

bcnx commented Aug 11, 2023

you can manually add a virtual transport map for such things

Hi, I'm looking at the same problem as well and I just discovered that the autoreply mails are not using the local Postfix instance. The e-mails are sent directly to the destination e-mail servers. So Postfix virtual transport or transport maps will not help.
Is there any way to send those autoreply e-mails to a relay host as well?

Thanks,

BC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants