Linode Forum
https://forum.linode.com/

How to pipe emails and use a mysql database?
https://forum.linode.com/viewtopic.php?f=11&t=10673
Page 1 of 1

Author:  aaplumbing [ Fri Dec 06, 2013 1:49 pm ]
Post subject:  How to pipe emails and use a mysql database?

Hello there, I followed this guide: https://library.linode.com/email/postfi ... ph_aliases

but how would I pipe emails for a single email address to a script?

Am i right in thinking it cant be done with a virtual_alias mysql table?

Author:  Vance [ Wed Dec 18, 2013 9:48 pm ]
Post subject:  Re: How to pipe emails and use a mysql database?

Not sure if you can put "|command" on the right-hand side of a virtual alias table. But I think you can specify "someaddress" (with no domain) on the right-hand side of the virtual alias table, then put the following in /etc/aliases.
Code:
someaddress: "|/path/to/command"


At least, the documentation seems to indicate this will work.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/