Hello,
I am in the process of migrating from qmail to something a tad more modern, and for this I have settled on postfix.
One task I do on qmail, is take an outgoing email and rewrite it (add a signature if the sender is a specific string).
Can anyone tell me how to go about doing that on postfix?
My process is
1 - create a virtual domain in tcp.smtp (home/vpopmail/etc/tcp.emtp)
2 - specify a .qmail file for the virtual domain
3 - pipe to a shell script via .qmail file
4 - execute an awk script if sender=[something] (from 822 field), then reinject via qmail-inject
That might be Greek to you folks, I am hoping to do something similar in postfix - any ideas?
I am in the process of migrating from qmail to something a tad more modern, and for this I have settled on postfix.
One task I do on qmail, is take an outgoing email and rewrite it (add a signature if the sender is a specific string).
Can anyone tell me how to go about doing that on postfix?
My process is
1 - create a virtual domain in tcp.smtp (home/vpopmail/etc/tcp.emtp)
2 - specify a .qmail file for the virtual domain
3 - pipe to a shell script via .qmail file
4 - execute an awk script if sender=[something] (from 822 field), then reinject via qmail-inject
That might be Greek to you folks, I am hoping to do something similar in postfix - any ideas?