LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   'trapping' relayed messages (https://www.linuxquestions.org/questions/linux-networking-3/trapping-relayed-messages-714796/)

turbo_acura 03-27-2009 05:26 AM

'trapping' relayed messages
 
Hello!

We have a Linux qmail server acting as a mail relay. Is there anyway to 'trap' some of these messages on the server. We want to be able to see if anything is on the subject line for these outgoing emails. My initial thought is to do something with iptables to see if it can block outgoing email traffic and the messages will 'stop' on this qmail server and build up so we can have a look at the emails. But i'm not sure how to do this with iptables and whether it would work or not.

Any thoughts or ideas?

Much appreciate your help in advance!
turbo_acura


All times are GMT -5. The time now is 11:56 AM.