[sclug] Disabling outgoing mail on postfix

Chris Aitken chris at ion-dreams.com
Tue Nov 2 11:15:41 UTC 2004


> Hi all
> 
> After a recent spammer expoloit on my server, I am trying to 
> keep tabs on my server activities. I have been trying to find 
> out how to get postfix to only deliver mail locally (to the 
> server), but not allow any mail to be sent from my server.
> 
> Can anyone give me a hint on how to do that?
> 
> Also id be interested to know if there is a way I could get 
> postfix to give me some daily stats of number of emails 
> received by my system and number of emails sent by my system.

Heres one:
http://archives.neohapsis.com/archives/postfix/2000-10/1442.html

Why not set it to listen on another port, or use inetd (hosts.allow &
hosts.deny) to disallow access to port 25 unless it is from
127.0.0.1/localhost?


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Sclug mailing list