[sclug] Disabling outgoing mail on postfix
Tim Sutton
t.sutton at reading.ac.uk
Tue Nov 2 11:36:05 UTC 2004
Hi
Yes I have it currently set to only allow outbound mail from localhost...the
problem arose last time when someone found a loophole in nuke that allowed
them to spam from my server. So I want to prevent localhost from sending
mail out from my server (delivery to local users is ok) so that I can monitor
bandwidth useage and see if my server is being used for undesired purposes.
Ill try the inetd approach.
Thanks for the tips!
Tim
On Tuesday 02 November 2004 11:14, Chris Aitken wrote:
> > 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?
--
Tim Sutton
BDWorld Middleware Programmer
-------------------------------------------------------------------
BiodiversityWorld Project
Centre for Plant Diversity & Systematics
School of Plant Sciences
The University of Reading
Reading, RG66AS, UK
Web : www.bdworld.org
Phone : +44-(0)118-378-6052
Email : t.sutton [at] reading.ac.uk
(email preferred method of correspondence)
-------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.tmdg.co.uk/pipermail/sclug/attachments/20041102/c5ca65ad/attachment.bin
More information about the Sclug
mailing list