Re: trying to restrict postfix use of port

2010-01-25 Thread Adam Hardy
Stan Hoeppner on 25/01/10 02:08, wrote: Adam Hardy put forth on 1/24/2010 7:15 PM: Adam Hardy on 21/01/10 17:36, wrote: Camaleón on 21/01/10 16:27, wrote: The point is that I don't want to have port 25 open to the world, since I don't want to receive any emails on this system, I just want to s

Re: trying to restrict postfix use of port

2010-01-24 Thread Camaleón
On Mon, 25 Jan 2010 01:15:25 +, Adam Hardy wrote: > One small problem having postfix listen unnecessarily to the whole world > is that syslog logs all spam merchants attempts to abuse my postfix as > an open relay. I guess I can ignore them but I wish I didn't even get > them. If your provide

Re: trying to restrict postfix use of port

2010-01-24 Thread Stan Hoeppner
Adam Hardy put forth on 1/24/2010 7:15 PM: > Adam Hardy on 21/01/10 17:36, wrote: >> Camaleón on 21/01/10 16:27, wrote: >> The point is that I don't want to have port 25 open to the world, >> since I don't want to receive any emails on this system, I just want >> to send. >>> [snipped]

Re: trying to restrict postfix use of port

2010-01-24 Thread Adam Hardy
Adam Hardy on 21/01/10 17:36, wrote: Camaleón on 21/01/10 16:27, wrote: The point is that I don't want to have port 25 open to the world, since I don't want to receive any emails on this system, I just want to send. [snipped] That is the standard setup for Postfix. But that does not mean your

Re: trying to restrict postfix use of port

2010-01-22 Thread John Hasler
Eduardo writes: > ...but exim can receive mail via stdin, if called with some > option. Generally there is a link (/usr/lib/sendmail) that serves that > purpose. > But I'm not sure if it will work if exim is not running as a deamon. It will. -- John Hasler -- To UNSUBSCRIBE, email to debian-u

Re: trying to restrict postfix use of port

2010-01-22 Thread Eduardo M KALINOWSKI
On Qui, 21 Jan 2010, Adam Hardy wrote: Aha. Now we get to the crux of the matter. Is it a feature of SMTP itself, that it cannot send an email without port 25 because it has to receive the email it is going to send first, even if only locally as in my case, but nevertheless on port 25? I

Re: trying to restrict postfix use of port

2010-01-21 Thread Camaleón
On Fri, 22 Jan 2010 00:44:34 +, Adam Hardy wrote: > Camaleón on 21/01/10 20:04, wrote: >> A mail server has to listen at least in "loopback:25" so it can receive >> and process e-mails internally, coming from the host itself. > > Aha. Now we get to the crux of the matter. > > Is it a feature

Re: trying to restrict postfix use of port

2010-01-21 Thread Adam Hardy
Camaleón on 21/01/10 20:04, wrote: A mail server has to listen at least in "loopback:25" so it can receive and process e-mails internally, coming from the host itself. Aha. Now we get to the crux of the matter. Is it a feature of SMTP itself, that it cannot send an email without port 25 becau

Re: trying to restrict postfix use of port

2010-01-21 Thread Camaleón
On Thu, 21 Jan 2010 17:36:41 +, Adam Hardy wrote: > Camaleón on 21/01/10 16:27, wrote: >>> All I'm saying is that I don't need this, and I'd like to find a way >>> to shut it down whilst leaving the outbound mail delivery intact. >> >> mynetworks_style = host >> >> or >> >> mynetworks = 12

Re: trying to restrict postfix use of port

2010-01-21 Thread Adam Hardy
Camaleón on 21/01/10 16:27, wrote: The point is that I don't want to have port 25 open to the world, since I don't want to receive any emails on this system, I just want to send. [snipped] That is the standard setup for Postfix. But that does not mean your host is an acting as an "open relay".

Re: trying to restrict postfix use of port

2010-01-21 Thread Adam Hardy
Eduardo M KALINOWSKI on 21/01/10 16:12, wrote: On Qui, 21 Jan 2010, Adam Hardy wrote: All I'm saying is that I don't need this, and I'd like to find a way to shut it down whilst leaving the outbound mail delivery intact. Since you've eliminated listening on the loopback interface only or usin

Re: trying to restrict postfix use of port

2010-01-21 Thread Camaleón
On Thu, 21 Jan 2010 16:04:00 +, Adam Hardy wrote: > Camaleón on 21/01/10 15:44, wrote: >>> The point is that I don't want to have port 25 open to the world, >>> since I don't want to receive any emails on this system, I just want >>> to send. >> >> Unless you have a external IP address assig

Re: trying to restrict postfix use of port

2010-01-21 Thread Eduardo M KALINOWSKI
On Qui, 21 Jan 2010, Adam Hardy wrote: All I'm saying is that I don't need this, and I'd like to find a way to shut it down whilst leaving the outbound mail delivery intact. Since you've eliminated listening on the loopback interface only or using a simple relayer like nullmailer, how about

Re: trying to restrict postfix use of port

2010-01-21 Thread Adam Hardy
Camaleón on 21/01/10 15:44, wrote: On Thu, 21 Jan 2010 14:45:25 +, Adam Hardy wrote: I have set up postfix to listen as below using: inet_interfaces = 10.20.30.40 a...@ecocore:~$ netstat -an |grep -i "listen " >> tcp0 0 10.20.30.40:25 0.0.0.0:* LISTEN *** I am

Re: trying to restrict postfix use of port

2010-01-21 Thread Camaleón
On Thu, 21 Jan 2010 14:45:25 +, Adam Hardy wrote: > I have set up postfix to listen as below using: > > inet_interfaces = 10.20.30.40 > > a...@ecocore:~$ netstat -an |grep -i "listen " tcp0 0 > 10.20.30.40:25 0.0.0.0:* LISTEN *** > > I am not allowed to open it on 127

Re: trying to restrict postfix use of port

2010-01-21 Thread Adam Hardy
I have set up postfix to listen as below using: inet_interfaces = 10.20.30.40 a...@ecocore:~$ netstat -an |grep -i "listen " tcp0 0 10.20.30.40:25 0.0.0.0:* LISTEN *** I am not allowed to open it on 127.0.0.1 due to my vserver hosting rules. The point is that I don't wan

Re: trying to restrict postfix use of port [was trying to restrict exim smtp to specific IP]

2010-01-21 Thread Camaleón
On Thu, 21 Jan 2010 13:11:58 +, Adam Hardy wrote: > Camaleón on 21/01/10 12:29, wrote: >> Didn't you say this? >> >> *** >> It should listen like this (or all hell breaks loose on their server >> farm): >> >> tcp0 0 10.20.30.40:25 0.0.0.0:* >> LISTEN ***

Re: trying to restrict postfix use of port [was trying to restrict exim smtp to specific IP]

2010-01-21 Thread Adam Hardy
Camaleón on 21/01/10 12:29, wrote: On Thu, 21 Jan 2010 00:01:01 +, Adam Hardy wrote: Camaleón on 20/01/10 21:30, wrote: inet_interfaces = 10.20.30.40, localhost *** master_service_disable=smtp.inet And what is that parameter for? :-? Ah, you wanted to disable "smtp" connections at all?