Re: Closing port 25

2010-11-28 Thread Mauro
On 29 November 2010 01:56, Victor Duchovni wrote: > On Sun, Nov 28, 2010 at 01:36:12PM -0700, ghe wrote: > >>> I run postfix and my mail clients use smtps so I was thinking I may as >>> well close port 25.  How can I do that? >> >> I'd use iptables or equivalent. >> >> I have my doubts about postf

Re: FrontBridge RFC 2920 write-up

2010-11-28 Thread Victor Duchovni
On Mon, Nov 29, 2010 at 11:08:09AM +1000, Stephen Thorne wrote: > On 2010-11-28, Victor Duchovni wrote: > > > It's up at http://www.porcupine.org/postfix-mirror/workarounds.html > > > and soon at http://www.postfix.org/workarounds.html. > > > > > > Please have a look for glaring errors. I'll link

Re: domain masquerade?

2010-11-28 Thread mouss
Le 28/11/2010 22:59, Eero Volotinen a écrit : 2010/11/28 Pete: On Sun, 2010-11-28 at 23:38 +0200, Eero Volotinen wrote: 2010/11/28 Jerry: On Sun, 28 Nov 2010 23:06:48 +0200 Eero Volotinen articulated: I want to masquerade domain.fi with domain.com on outgoing mail? How to do this on postfi

Re: FrontBridge RFC 2920 write-up

2010-11-28 Thread Stephen Thorne
On 2010-11-28, Victor Duchovni wrote: > > It's up at http://www.porcupine.org/postfix-mirror/workarounds.html > > and soon at http://www.postfix.org/workarounds.html. > > > > Please have a look for glaring errors. I'll link it off the top-level > > webpages when the text is OK. > > Looks good. Ju

Re: Closing port 25

2010-11-28 Thread Victor Duchovni
On Sun, Nov 28, 2010 at 01:36:12PM -0700, ghe wrote: >> I run postfix and my mail clients use smtps so I was thinking I may as >> well close port 25. How can I do that? > > I'd use iptables or equivalent. > > I have my doubts about postfix itself because I think that'd be an RFC > violation. So

Re: FrontBridge RFC 2920 write-up

2010-11-28 Thread Victor Duchovni
On Sun, Nov 28, 2010 at 06:10:45PM -0500, Wietse Venema wrote: > Wietse Venema: > > Victor Duchovni: > > > > > > Wietse, is this sufficient? I know it is not very detailed on the > > > "impact analysis". Since pipelined "[message].QUIT" > > > works correctly, while in theory there could be other

Re: FrontBridge RFC 2920 write-up

2010-11-28 Thread Wietse Venema
Wietse Venema: > Victor Duchovni: > > > > Wietse, is this sufficient? I know it is not very detailed on the > > "impact analysis". Since pipelined "[message].QUIT" > > works correctly, while in theory there could be other pipelining issues, > > none other that SAV come to mind. > > Thanks. I'll p

Re: domain masquerade?

2010-11-28 Thread Wietse Venema
Eero Volotinen: > No, I want that my smarthost that is used via smtp, replaces domain > with another (for example.fi to example.com) in from field. > > is the correct configuration option this: > http://swoolley.org/man.cgi/5/canonical For address rewriting on INPUT: http://www.postfix.org/ADDRE

Re: domain masquerade?

2010-11-28 Thread Eero Volotinen
2010/11/28 Pete : > > On Sun, 2010-11-28 at 23:38 +0200, Eero Volotinen wrote: >> 2010/11/28 Jerry : >> > On Sun, 28 Nov 2010 23:06:48 +0200 >> > Eero Volotinen articulated: >> > >> >> I want to masquerade domain.fi with domain.com on outgoing mail? How >> >> to do this on postfix? >> > >> > http:

Re: Closing port 25

2010-11-28 Thread Grant
>>> I have my doubts about postfix itself because I think that'd be an RFC >>> violation. So far... >> >> Could you elaborate on that a bit?  I'm not sure what you mean. > > See Mouss' reply for a non-newbie response :-) > > Postfix is very good about obeying the 'rules'. And AFAIK, port 25 is one

Re: domain masquerade?

2010-11-28 Thread Pete
On Sun, 2010-11-28 at 23:38 +0200, Eero Volotinen wrote: > 2010/11/28 Jerry : > > On Sun, 28 Nov 2010 23:06:48 +0200 > > Eero Volotinen articulated: > > > >> I want to masquerade domain.fi with domain.com on outgoing mail? How > >> to do this on postfix? > > > > http://www.postfix.com/postconf.5.

Re: domain masquerade?

2010-11-28 Thread Eero Volotinen
2010/11/28 Jerry : > On Sun, 28 Nov 2010 23:06:48 +0200 > Eero Volotinen articulated: > >> I want to masquerade domain.fi with domain.com on outgoing mail? How >> to do this on postfix? > > http://www.postfix.com/postconf.5.html#masquerade_domains Is this really correct setting? Manual says: "Op

Re: domain masquerade?

2010-11-28 Thread Jerry
On Sun, 28 Nov 2010 23:06:48 +0200 Eero Volotinen articulated: > I want to masquerade domain.fi with domain.com on outgoing mail? How > to do this on postfix? http://www.postfix.com/postconf.5.html#masquerade_domains -- Jerry ✌ postfix-u...@seibercom.net ___

Re: Closing port 25

2010-11-28 Thread ghe
On 11/28/10 1:43 PM, Grant wrote: I have my doubts about postfix itself because I think that'd be an RFC violation. So far... Could you elaborate on that a bit? I'm not sure what you mean. See Mouss' reply for a non-newbie response :-) Postfix is very good about obeying the 'rules'. And AF

Re: Closing port 25

2010-11-28 Thread Mauro
On 28 November 2010 21:58, mouss wrote: > Le 28/11/2010 21:38, Grant a écrit : I run postfix and my mail clients use smtps so I was thinking I may as well close port 25.  How can I do that? >>> >>> See the description of the "Service type": inet >>> >>>    http://www.postfix.org/mas

Re: Closing port 25

2010-11-28 Thread Grant
I run postfix and my mail clients use smtps so I was thinking I may as well close port 25.  How can I do that? >>> >>> See the description of the "Service type": inet >>> >>>    http://www.postfix.org/master.5.html >> >> Thanks Viktor.  I commented the following in master.cf: >> >> smtp  

Re: domain masquerade?

2010-11-28 Thread Jeroen Geilman
On 11/28/2010 10:06 PM, Eero Volotinen wrote: Hi, I want to masquerade domain.fi with domain.com on outgoing mail? How to do this on postfix? With the masquerade_domains setting in main.cf. Thanks, -- Eero -- J.

domain masquerade?

2010-11-28 Thread Eero Volotinen
Hi, I want to masquerade domain.fi with domain.com on outgoing mail? How to do this on postfix? Thanks, -- Eero

Re: Closing port 25

2010-11-28 Thread mouss
Le 28/11/2010 21:38, Grant a écrit : I run postfix and my mail clients use smtps so I was thinking I may as well close port 25. How can I do that? See the description of the "Service type": inet http://www.postfix.org/master.5.html Thanks Viktor. I commented the following in master.cf:

Re: Closing port 25

2010-11-28 Thread Grant
>> I run postfix and my mail clients use smtps so I was thinking I may as >> well close port 25.  How can I do that? > > I'd use iptables or equivalent. > > I have my doubts about postfix itself because I think that'd be an RFC > violation. So far... Could you elaborate on that a bit? I'm not sur

Re: Closing port 25

2010-11-28 Thread Grant
>> I run postfix and my mail clients use smtps so I was thinking I may as >> well close port 25.  How can I do that? > > See the description of the "Service type": inet > >    http://www.postfix.org/master.5.html Thanks Viktor. I commented the following in master.cf: smtp inet n -

Re: Closing port 25

2010-11-28 Thread ghe
On 11/28/10 1:22 PM, Grant wrote: I run postfix and my mail clients use smtps so I was thinking I may as well close port 25. How can I do that? I'd use iptables or equivalent. I have my doubts about postfix itself because I think that'd be an RFC violation. So far... OTOH, you are liable

Re: Closing port 25

2010-11-28 Thread Victor Duchovni
On Sun, Nov 28, 2010 at 12:22:08PM -0800, Grant wrote: > I run postfix and my mail clients use smtps so I was thinking I may as > well close port 25. How can I do that? See the description of the "Service type": inet http://www.postfix.org/master.5.html -- Viktor.

Closing port 25

2010-11-28 Thread Grant
I run postfix and my mail clients use smtps so I was thinking I may as well close port 25. How can I do that? - Grant

Re: FrontBridge RFC 2920 write-up

2010-11-28 Thread Victor Duchovni
On Sun, Nov 28, 2010 at 02:13:11PM -0500, Wietse Venema wrote: > C:MAIL FROM: SIZE=338 > C:RCPT TO: > C:RSET > C:QUIT > > S:221 2.0.0 Service closing transmission channel > > Which means that Postfix reads the 221 as a positive reply to "MAIL > FROM", and that Postfix reads EOF instead of t

Re: FrontBridge RFC 2920 write-up

2010-11-28 Thread Wietse Venema
Victor Duchovni: > C> MAIL FROM: > C> RCPT TO: > C> RSET > C> QUIT > > S> 250 2.1.0 Sender OK > S> 221 2.0.0 Service closing transmission channel Should not the Postfix SMTP client read the 221 as a positive response to RCPT TO, and consider the recipient as "deliverable"?

Re: FrontBridge RFC 2920 write-up

2010-11-28 Thread Wietse Venema
Victor Duchovni: > > Wietse, is this sufficient? I know it is not very detailed on the > "impact analysis". Since pipelined "[message].QUIT" > works correctly, while in theory there could be other pipelining issues, > none other that SAV come to mind. Thanks. I'll put this up on a page so people

FrontBridge RFC 2920 write-up

2010-11-28 Thread Victor Duchovni
Wietse, is this sufficient? I know it is not very detailed on the "impact analysis". Since pipelined "[message].QUIT" works correctly, while in theory there could be other pipelining issues, none other that SAV come to mind. The SMTP service at mail.global.frontbridge.com does not fully conform t

Re: fatal: host/service localhost/10023 not found

2010-11-28 Thread Jeroen Geilman
On 11/28/2010 03:50 PM, Len Conrad wrote: ... which failed until I added /var/spool/postfix/etc/hosts As I said. there are not any "y" on any non-commented line in master.cf. As mouss already told you, that does not mean it isn't chrooted. there are defaults. the default for c

Re: 421 error code problem Postfix 2.6.5. Fedora Core 12 x64.

2010-11-28 Thread Wietse Venema
Marnix Petrarca (DaemonLabs.com): > > Hello everyone, Please follow instructions in the mailing list welcome message: - Send "postconf -n output". - Show "postfix logging". - In this case, also show "telnet hostaddress 25" output. Wietse > i'm running postfix from the Fedora Core 12

Re: fatal: host/service localhost/10023 not found

2010-11-28 Thread Wietse Venema
Len Conrad: > > >Wietse Venema: > >> Len Conrad: > >> > main.cf: > >> > > >> > check_policy_service inet:127.0.0.1:10023, > >> > > >> > > >> > but postfix ain't happy: > >> > > >> > Nov 26 15:23:02 mgw1 postfix/smtpd[92264]: fatal: host/service > >> > localhost/10023 not found: hostname nor

Re: fatal: host/service localhost/10023 not found

2010-11-28 Thread Len Conrad
At 08:29 AM 11/28/2010, you wrote: >Le 28/11/2010 15:14, Len Conrad a écrit : >> [snip] but postfix ain't happy: Nov 26 15:23:02 mgw1 postfix/smtpd[92264]: fatal: host/service localhost/10023 not found: hostname nor servname provided, or not known Nov 26 15:23:03

Re: fatal: host/service localhost/10023 not found

2010-11-28 Thread Len Conrad
>Wietse Venema: >> Len Conrad: >> > main.cf: >> > >> > check_policy_service inet:127.0.0.1:10023, >> > >> > >> > but postfix ain't happy: >> > >> > Nov 26 15:23:02 mgw1 postfix/smtpd[92264]: fatal: host/service >> > localhost/10023 not found: hostname nor servname provided, or not known >>

Re: fatal: host/service localhost/10023 not found

2010-11-28 Thread mouss
Le 28/11/2010 15:14, Len Conrad a écrit : [snip] but postfix ain't happy: Nov 26 15:23:02 mgw1 postfix/smtpd[92264]: fatal: host/service localhost/10023 not found: hostname nor servname provided, or not known Nov 26 15:23:03 mgw1 postfix/master[87697]: warning: process /usr/local/libexec/p

Re: fatal: host/service localhost/10023 not found

2010-11-28 Thread Wietse Venema
Wietse Venema: > Len Conrad: > > main.cf: > > > > check_policy_service inet:127.0.0.1:10023, > > > > > > but postfix ain't happy: > > > > Nov 26 15:23:02 mgw1 postfix/smtpd[92264]: fatal: host/service > > localhost/10023 not found: hostname nor servname provided, or not known > > Postfix doe

Re: fatal: host/service localhost/10023 not found

2010-11-28 Thread Len Conrad
>>[snip] >> >>but postfix ain't happy: >> >>Nov 26 15:23:02 mgw1 postfix/smtpd[92264]: fatal: host/service >>localhost/10023 not found: hostname nor servname provided, or not known >> >>Nov 26 15:23:03 mgw1 postfix/master[87697]: warning: process >>/usr/local/libexec/postfix/smtpd pid 92264 exit

Re: 421 error code problem Postfix 2.6.5. Fedora Core 12 x64.

2010-11-28 Thread Jeroen Geilman
On 11/28/2010 02:50 PM, Marnix Petrarca (DaemonLabs.com) wrote: Hello everyone, Hi! DO NOT post NEW questions to OLD threads. i'm running postfix from the Fedora Core 12 x64 distribution. The postfix box is on a 10.x.x.x segment of my firewall, and i'm connecting from a 192.x.x.x segme

Re: fatal: host/service localhost/10023 not found

2010-11-28 Thread mouss
Le 27/11/2010 22:43, Len Conrad a écrit : [snip] but postfix ain't happy: Nov 26 15:23:02 mgw1 postfix/smtpd[92264]: fatal: host/service localhost/10023 not found: hostname nor servname provided, or not known Nov 26 15:23:03 mgw1 postfix/master[87697]: warning: process /usr/local/libexec/pos

421 error code problem Postfix 2.6.5. Fedora Core 12 x64.

2010-11-28 Thread Marnix Petrarca (DaemonLabs.com)
Hello everyone, i'm running postfix from the Fedora Core 12 x64 distribution. The postfix box is on a 10.x.x.x segment of my firewall, and i'm connecting from a 192.x.x.x segment of the same firewall. I never had any of this problem, but perhaps something changed or i forgot. There is a NAT re