Email piping

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

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.


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:

|/usr/bin/maildrop /home/interworx/lib/maildrop/spamfilter

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