|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: [postfix 2.1.5] Problem using check_recipient_access with smtpd_client_restrictions
From: Eric Fung (efungsh
gmail.com)
Date: Thu Dec 16 2004 - 00:21:12 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 15 Dec 2004 21:59:16 -0800, Charles Quesenberry
<quesenberry
peak.org> wrote:
> On Thu, 2004-12-16 at 16:08 +1100, Eric Fung wrote:
> > Hey folks,
> >
> > I'm having an issue where I'm trying to use check_recipient_access in
> > the smtpd_client_restrction config var where upon reloading of the
> > server, the smtpd process responds to a TCP connection, however it
> > doesn't send the welcome banner nor does it respond to any input.
> >
> > I'm not sure if this is a bug or not, but I just want to see if anyone
> > has run into this problem before I start delving into source.
> >
> > Reason I'm doing this: I'm trying to setup a access lookup of domains
> > that do not want to be part of DNSBL checking that is enabled.
> >
> > And yes, I haven't set smtpq_delay_reject to off.
> >
> > Any help would be appreciated.
>
> 1. Did it work prior to your changes?
> 2. What is the output of 'postconf -n'
> 3. Can you post mail log info from the connection you describe above?
>
> Chuck
>
>
Yes, it did work prior to before my changes. It's been running for
well over a year.
Only change I made was to add the check_recipient_access to
smtpd_client_restrictions
I'm putting only that config line in for now, I don't need the rest of
my config out for the world to see =P
Working Line:
smtpd_client_restrictions = permit_mynetworks,
permit_sasl_authenticated, check_client_access
hash:/etc/postfix/client-access, reject_rbl_client t1.dnsbl.net.au,
permit
Broken Line:
smtpd_client_restrictions = permit_mynetworks,
permit_sasl_authenticated, check_client_access
hash:/etc/postfix/client-access, check_recipient_access
hash:/etc/postfix/dnsbl_whitelist, reject_rbl_client t1.dnsbl.net.au,
permit
Logs don't contain anything useful:
As follows
Dec 16 17:10:39 dbmail-01 postfix/smtpd[8362]: connect from
Dec 16 17:10:39 dbmail-01 postfix/smtpd[8362]: lost connection after
CONNECT from
Dec 16 17:10:39 dbmail-01 postfix/smtpd[8362]: disconnect from
Connection attempt
Trying <IP>
Connected to <IP>
Escape character is '^]'.
^]
telnet> c
Connection closed.
Mind you even the logs state this happened within milliseconds, I
held the connection open for at least 5.
Honestly, I would have put all the information that I had on hand if I
had it. =) This is abnormal behaviour that is occuring, smtpd isn't
segfaulting at all.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]