transport_maps for autoreply

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

transport_maps for autoreply

Andrew Wood
Im trying to configure Postifx to pass mail to a custom Python script
which performs an out of office autoreply function.

The server has virtual mailboxes only no local unix accounts.

I have set Postfix to send mail to the script if there is an entry in
transport_maps. If a user sets up an autoreply for their mail box an
appropriate entry is put in transport_maps

However it appears to be impossible using this method to then have the
Python script re-submit the message using the sendmail command for
delivery into the mailbox. There seems to be no way of over riding an
entry in transport_maps for a message submitted from the command line.

Bearing in mind all user specific config is in a MySQL database what is
the recommened way of achieving this?