Postfix, deliver to a command
I am trying to replicate an ubuntu server, set up by someone else, with postfix delivering emails to a perl file, as well as to maildir. I cannot find a way to make this happen the second server. The log of a single email is:
Oct 28 16:43:08 ubuntu postfix/smtpd[27564]: connect from web00.ext.com[00.00.00.00]
Oct 28 16:43:09 ubuntu postfix/smtpd[27564]: 304DE3D2F2: client=web00.ext.com[00.00.00.00]
Oct 28 16:43:09 ubuntu postfix/cleanup[27569]: 304DE3D2F2: message-id=<201110281543.p9SFh7Nv005363@web00.ext.com>
Oct 28 16:43:09 ubuntu postfix/qmgr[1570]: 304DE3D2F2: from=<uf.net@web00.ext.com>, size=4377, nrcpt=1 (queue active)
Oct 28 16:43:09 ubuntu postfix/smtpd[27564]: disconnect from web00.ext.com[00.00.00.00]
Oct 28 16:43:09 ubuntu postfix/local[27570]: 304DE3D2F2: to=<someone@somewhere.com>, relay=local, delay=0.7, delays=0.41/0.01/0/0.28, dsn=2.0.0, status=sent (delivered to command: /home/someone/something.pl)
Oct 28 16:43:09 ubuntu postfix/local[27570]: 304DE3D2F2: to=<someone@somewhere.com>, relay=local, delay=0.77, delays=0.41/0.01/0/0.35, dsn=2.0.0, status=sent (delivered to maildir)
Oct 28 16:43:10 ubuntu postfix/qmgr[1570]: 304DE3D2F2: removed
Have you any suggestions as to how I can achieve this please?
|