*this the output of dump file tcpdump -s 0 -w file.cap port 25*
tcpdump: WARNING: arptype 65535 not supported by libpcap - falling back to
cooked socket
tcpdump: listening on venet0, link-type LINUX_SLL (Linux cooked), capture
size 65535 bytes
260 packets captured
261 packets received by filter
0 packets dropped by kernel

what i am thinking regarding this problem
If you check haproxy listening on port 10021
*frontend smtp_proxy 0.0.0.0:10021*
 according to me this means haproxy will accept client request on port
10021 and will respond by* backend bk_postfix* servers which are listed i
have checked the* log of bakend servers *looks like

warning: hostname unassigned.psychz.net does not resolve to address
199.83.95.70: Name or service not known
Sep  8 17:00:59 r23 postfix/smtpd[30403]: connect from unknown[199.83.95.70]
Sep  8 17:00:59 r23 postfix/smtpd[30403]: lost connection after
CONNECT from unknown[199.83.95.70]
Sep  8 17:00:59 r23 postfix/smtpd[30403]: disconnect from unknown[199.83.95.70]
Sep  8 17:00:59 r23 postfix/smtpd[30403]: warning: hostname
unassigned.psychz.net does not resolve to address 199.83.95.70: Name
or service not known
Sep  8 17:00:59 r23 postfix/smtpd[30403]: connect from unknown[199.83.95.70]
Sep  8 17:00:59 r23 postfix/smtpd[30403]: lost connection after
CONNECT from unknown[199.83.95.70]
Sep  8 17:00:59 r23 postfix/smtpd[30403]: disconnect from unknown[199.83.95.70]
Sep  8 17:00:59 r23 postfix/smtpd[30403]: warning: hostname
unassigned.psychz.net does not resolve to address 199.83.95.70: Name
or service not known
Sep  8 17:00:59 r23 postfix/smtpd[30403]: connect from unknown[199.83.95.70]
Sep  8 17:00:59 r23 postfix/smtpd[30403]: lost connection after
CONNECT from unknown[199.83.95.70]
Sep  8 17:00:59 r23 postfix/smtpd[30403]: disconnect from unknown[199.83.95.70]

means haproxy sending proxy on bakend server.
But it not accepting mails.
And the reason for this according to me (not sure but) we are sending mails
to postfix on port 25 while haproxy listening on port 10021 how it will
accept mails.
is this correct. if this is the issue than please tell me on which port i
have to bind frontend and on which i have to bind postfix. ?


On Sat, Sep 8, 2012 at 6:13 PM, Wietse Venema <wie...@porcupine.org> wrote:

> Naval saini:
> > Sep  8 13:09:47 r22 postfix/smtpd[3170]: connect from unknown[unknown]
> > Sep  8 13:09:47 r22 postfix/smtpd[3170]: disconnect from unknown[unknown]
> > Sep  8 13:09:53 r22 postfix/smtpd[3170]: warning: haproxy read: timeout
> error
> > Sep  8 13:09:53 r22 postfix/smtpd[3170]: connect from unknown[unknown]
> > Sep  8 13:09:53 r22 postfix/smtpd[3170]: disconnect from unknown[unknown]
> > Sep  8 13:09:58 r22 postfix/smtpd[3170]: warning: haproxy read: timeout
> error
> > Sep  8 13:09:58 r22 postfix/smtpd[3170]: connect from unknown[unknown]
> > Sep  8 13:09:58 r22 postfix/smtpd[3170]: disconnect from unknown[unknown]
> > Sep  8 13:10:04 r22 postfix/smtpd[3170]: warning: haproxy read: timeout
> error
> >
> > now please tell me where i am doing mistake ..?
>
> Capture a session with:
>
>     tcpdump -s 0 -w OUTPUTFILE port 25
>
> Make THAT OUTPUTFILE available so that Willy and I can have a look.
>
> Then we can make progress.
>
>         Wietse
>

Reply via email to