Open shadow7412 opened 3 years ago
Hm I dont really understand you. Do you want to send mails from e.g. your monitoring via mailcow using a local MTA?
I want emails (sent to specific defined users) to be sent to a script instead of a mailbox.
Here is an example of how you could achieve this using postfix alone - hopefully that will clarify my request.
I'd be interested in this as well. Is there possibly a way to add a custom "drop-in" aliases map file?
I'd be interested in this too, has anyone figured it out?
Summary
I get constant reports for certain services that I would rather send to a script to handle. This is possible using postfix - but I'm not sure how to configure it whist keeping mailcow operational. It looks like there are various hooks I could use - but I don't see a guide on how to use them.
A way I've done it in the past is setting an alias to "|/scriptname", but I don't know where such an alias would go.
Motivation
If a concise guide was added to the docs, people who want to do this could follow it.
Please also note that I only want to forward email to a specific user (ie, not a whole domain and certainly not all mail). Though guides for both of these may benefit some people.
Additional context
I don't believe any changes would need to be made to mailcow itself. This one is just for documentation.