Email piping

hello,
where does the email forwarders files resides? or how do i pipe emails for a domain into a perl script?
any help please
Issam

Not exactly sure if this is what you are looking for, but you can setup the forwards manually inside the mail directory of the domain.

/home/account/var/account.com/mail

You create .qmail files there. For example you have a user “Bob”.

You create file in this directory as .qmail-bob

Here is an example file:

&bob@aol.com
|/usr/bin/maildrop /home/interworx/lib/maildrop/spamfilter

This would forward a copy of the email to bob@aol.com and also send it to the regular inbox.