Hi,
I have postfix with postfixadmin and everything stored in a mysql database.
How do I forward emails sent to a mail account to an external command?
Please help
THanks
George wrote:
I have postfix with postfixadmin and everything stored in a mysql database.
How do I forward emails sent to a mail account to an external command?
Since you are using virtual aliases (postfixadmin w/mysql assumes so)
you'll need to setup a pipe transport in master.cf and proper
George wrote:
Hi,
Please, Do not top post. Reply to the text directly.
Thanks for your reply
I am sorry but I am not very technical.
I am the type of guy that can follow howtos
You don't seem to follow J.P.'s example very well.
Especially the part about See the man pages of pipe and
What is my_custom_transport.example.com ? A subdomain?
Yes. In addition, this list uses example.com as a basis quite frequently.
You didn't provide your own domain, so J.P. used this as an example.
As a side note, it doesn't have to be a real sub-domain. When the mail
is handed off to
Hi,
Thanks all for your help.
If anyone needs this in future, here's how I did it:
1. Added the following line to /etc/postfix/main.cf:
transport_maps = hash:/etc/postfix/transport
2. create a subdomain like(postfixadmin does not allow to add an alias
to a not existing domain):