On Tue, Nov 16, 2010 at 11:17:17PM +0100, mouss wrote:
> Le 16/11/2010 19:58, Chris G a écrit :
> >On Tue, Nov 16, 2010 at 01:47:26PM -0500, Victor Duchovni wrote:
> >>On Tue, Nov 16, 2010 at 06:39:49PM +0000, Chris G wrote:
> >>
> >>>>It sounds like you have both Postfix and Sendmail on the same systems,
> >>>>and perhaps confused about which MTA is handling which mail.
> >>>
> >>>When I say 'sendmail' I just mean the postfix executable of that name
> >>>which is used by mutt (amoung others) to send mail from the system.
> >>>I have enver had 'real' sendmail installed on these systems.
> >>
> >>What logs on the client provide supporting evidence that Postfix
> >>handled the mail from Mutt? That's the first place to look. Not on
> >>the receiving server. Please post the client-side logs.
> >>
> >Here's what appears in mail.log when I send a mail from mutt on
> >dps.zbmc.eu which is 192.168.1.2 :-
> >
> >     Nov 16 18:53:31 dps postfix/pickup[2366]: A6AC610034B: uid=1000 
> > from=<chris>
> >     Nov 16 18:53:31 dps postfix/cleanup[2707]: A6AC610034B: 
> > message-id=<20101116185331.ga2...@dps.zbmc.eu>
> >     Nov 16 18:53:31 dps postfix/qmgr[1124]: A6AC610034B: 
> > from=<ch...@dps.zbmc.eu>, size=459, nrcpt=1 (queue active)
> >     Nov 16 18:53:32 dps postfix/smtp[2709]: A6AC610034B: 
> > to=<ch...@halon.org.uk>, relay=zbmc.eu[84.45.228.40]:25, delay=0.49, 
> > delays=0.31/0.01/0.04/0.13, dsn=5.7.1, status=bounced (host 
> > zbmc.eu[84.45.228.40] said: 554 5.7.1<ch...@halon.org.uk>: Relay access 
> > denied (in reply to RCPT TO command))
> >     Nov 16 18:53:32 dps postfix/cleanup[2707]: 22BF9100354: 
> > message-id=<20101116185332.22bf9100...@dps.zbmc.eu>
> >     Nov 16 18:53:32 dps postfix/bounce[2710]: A6AC610034B: sender 
> > non-delivery notification: 22BF9100354
> >     Nov 16 18:53:32 dps postfix/qmgr[1124]: 22BF9100354: from=<>, 
> > size=2280, nrcpt=1 (queue active)
> >     Nov 16 18:53:32 dps postfix/local[2711]: 22BF9100354: 
> > to=<ch...@dps.zbmc.eu>, relay=local, delay=0.33,
> >     delays=0.27/0.01/0/0.05, dsn=2.0.0, status=sent (delivered to command: 
> > procmail -a "$EXTENSION")
> >     Nov 16 18:53:32 dps postfix/qmgr[1124]: A6AC610034B: removed
> >     Nov 16 18:53:32 dps postfix/qmgr[1124]: 22BF9100354: removed
> >
> 
> 
> so, your client says
>       relay=zbmc.eu[84.45.228.40]

So that means it's sending to 84.45.228.40 doesn't it?

> and your server says
>       reject: RCPT from unknown[84.45.228.40]
> 
> So your client and server have the same IP. This means that they run
> on the same box. is it so? if so, why didn't you say it before?
> 
That's certainly not the intention.  The client is (locally) 192.168.1.2
and the server is (locally) 192.168.1.4.  What I don't understand is
where *either* system is getting that 84.45.228.40 from, it's that which
is screwing things up.


> if the client and server run on the same box, then you either
> configure the client to use 127.0.0.1 for routing email or you add
> whatever IP the client uses to mynetworks.
> 
> 
> >I'm pretty certain that the message is only getting as far as
> >mws.zbmc.eu (which is the relayhost that dps.zbmc.eu should be using)
> >and it there that it's being rejected.
> >
> 
> stop talking about domain names. talk about IP addresses and
> networks. explain how the client and the server are connected and
> how the client is configured to relay to server, ... and please: all
> that using IP addresses.
> 
OK, sorry, the client is 192.168.1.2 and the server is 192.168.1.4 both
sitting on a hardwired LAN connected through a Netgear Gigabit switch. 
There's also (of course) an ADSL router connected to the same LAN and
the 'outward facing' IP address on the WAN side of the rotuer is
84.45.228.40. 

Both 192.168.1.2 and 192.168.1.4 are running xubuntu 10.04 with Postfix
2.7.  192.168.1.2 is supposed to be sending *all* its external mail to
192.168.1.4 and 192.168.1.4 sends external (non LAN) mail to the ISP's
smarthost. 

Thanks for keeping with this, I appreciate it.
-- 
Chris Green

Reply via email to