Re: How to setup postfix to have port 25 for receive only

2009-07-28 Thread Zbyszek
Magnus Bäck pisze: On Monday, July 27, 2009 at 10:56 CEST, Zbyszek wrote: I googled everywhere, read how-tos but can not find solution for simple problem in postfix: I would like to have such config: - smtp25/tcp; only server-server communication, only mail receive for

Re: How to setup postfix to have port 25 for receive only

2009-07-27 Thread Scott Haneda
I don't think that's a terribly good idea, but anyway: main.cf: smtpd_client_restrictions = check_client_access pcre:/path/to/file /path/to/file: /(ppp|dialup|adsl)/ REJECT You can move the check_client_access restriction to any other smtpd_xxx_restrictions if you want. You probably

Re: How to setup postfix to have port 25 for receive only

2009-07-27 Thread Jon
I can see why he would want to do that - 99% of the spam I get is from US-based cable modem- and DSL-hosted systems. My host - earthlink - recently reconfigured their routers to disallow outbound email that doesn't go through their servers, and I wish all ISPs would do that. Perhaps . .

Re: How to setup postfix to have port 25 for receive only

2009-07-27 Thread Daniel L'Hommedieu
On Jul 27, 2009, at 5:08, Magnus Bäck wrote: On Monday, July 27, 2009 at 10:56 CEST, Zbyszek wrote: I googled everywhere, read how-tos but can not find solution for simple problem in postfix: I would like to have such config: - smtp25/tcp; only server-server communication,

Re: How to setup postfix to have port 25 for receive only

2009-07-27 Thread Magnus Bäck
On Monday, July 27, 2009 at 10:56 CEST, Zbyszek wrote: > I googled everywhere, read how-tos but can not find solution for > simple problem in postfix: > I would like to have such config: > - smtp25/tcp; only server-server communication, only > mail receive for local domain, n

How to setup postfix to have port 25 for receive only

2009-07-27 Thread Zbyszek
Hello, I googled everywhere, read how-tos but can not find solution for simple problem in postfix: I would like to have such config: - smtp25/tcp; only server-server communication, only mail receive for local domain, no relay, no send, encryption optional, SPF, blocking 'serve