LonelyStar Guru
Joined: 06 Dec 2005 Posts: 390
|
Posted: Thu Feb 21, 2008 12:21 pm Post subject: Script running for every mail given to qmail-smtp |
|
|
Hi,
I have a vServer with qmail and an ldap-addressbook on it.
I am sending mail over the qmail-smtp client.
I would like to automaticly add addresses from mails I am sending.
So is it possible to run a script whenever a mail is passed to qmail-smtp which can get the following information:
- If the sender authenticated (so that I know if I send the mail or if I am receiving a mail).
- The recipients address and name.
Can this be done?
Thanks!
Nathan |
|