Re: [nottingham] Bouncing mail problem

From: Matthew Sackman (matthew@sackman.co.uk)
Date: Sat 09 Mar 2002 - 14:02:26 GMT


On Fri, Mar 08, 2002 at 01:43:18PM +0000, Ted wrote:
> Hi folks, I wonder whether you can help me sort out a little
> email problem I have. I use a dialup line from home, with
> Postfix as the MTA and freeserve as the ISP.
>
> I suspect something on my machine may be wrongly set up, because
> sometimes I get bounces such as this one:
>
> > From: Mail Delivery System <Mailer-Daemon@mailcore.pol.net.uk>
> > To: ted@nowtsfree.freeserve.co.uk
> >
> > This message was created automatically by mail delivery software (Exim).
> >
> > A message that you sent could not be delivered to one or more of its
> > recipients. This is a permanent error. The following address(es) failed:
> >
> > heike@totalise.co.uk
> > SMTP error from remote mailer after MAIL FROM:<ted@nowtsfree.freeserve.co.uk
> > > SIZE=20546:
> > host mailq.totalise.co.uk [217.197.192.143]: 550 Invalid MAIL FROM
> >
> > ------ This is a copy of the message, including all the headers. ------
> >
> > Return-path: <ted@nowtsfree.freeserve.co.uk>
> > Received: from modem-179.vanadium.dialup.pol.co.uk ([62.136.22.179] helo=marimba
> > .home.net)
> > by mail2.svr.pol.co.uk with esmtp (Exim 3.35 #1)
> > id 16jB04-0003qH-00; Fri, 08 Mar 2002 03:24:57 +0000
> > Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
> > by marimba.home.net (Postfix) with SMTP
> > id 110DB4920; Fri, 8 Mar 2002 03:24:05 +0000 (GMT)
> > To: "Heike" <heike@totalise.co.uk>
> >
> > etc. etc.
>
> Is it really not happy about my <ted@nowtsfree.freeserve.co.uk> address?
> Do I have to run some sort of naff ident service to get this accepted?
> Or is it the "helo=marimba.home.net" bit that upset it?

I have exactely the same set up here: postfix and freeserve. Is this error
from fetchmail when it's downloading emails or is it when you're sending?

In /etc/postfix/main.cf I have myhostname set to the hostname (doris in this
case) and mydestination needs to be set to every domain name and FQDN that
that machine needs to consider itself to be the final destination for. Thus for
me:
mydestination = localhost.namkas, sackman.co.uk, namkas, doris, localhost.localdomain, doris.namkas

(namkas is LAN network name).
Freeserve don't mind if you use your own machine for SMTP sending or emails:
I don't have any problems at all, just check that /etc/mailname is the
correct domain name from which you're sending emails. The following shows the
headers from a mail sent from strauss (badly set up) that sent to the sackman.co.uk
domain first instead of local delivery:

Delivered-To: matthew@localhost.namkas
Received: from localhost (localhost [127.0.0.1])
        by doris (Postfix) with ESMTP id 5805BCFB3
        for <matthew@localhost>; Sat, 9 Mar 2002 11:14:20 +0000 (GMT)
Received: from mail.sackman.co.uk [128.242.229.105]
        by localhost with POP3 (fetchmail-5.9.6)
        for matthew@localhost (multi-drop); Sat, 09 Mar 2002 11:14:20 +0000 (GMT)
Received: from mail3.svr.pol.co.uk (mail3.svr.pol.co.uk [195.92.193.19])
        by linux1694.easyspace.com (8.9.3/8.9.3) with ESMTP id LAA14027
        for <root@sackman.co.uk>; Sat, 9 Mar 2002 11:07:06 GMT
Received: from [195.92.168.141] (helo=tmailb1.svr.pol.co.uk)
        by mail3.svr.pol.co.uk with esmtp (Exim 3.35 #1)
        id 16jeh5-0007Lb-00
        for root@sackman.co.uk; Sat, 09 Mar 2002 11:07:19 +0000
Received: from modem-2740.snake.dialup.pol.co.uk ([62.137.122.180] helo=strauss)
        by tmailb1.svr.pol.co.uk with esmtp (Exim 3.35 #1)
        id 16jeh0-0003Ms-00
        for root@sackman.co.uk; Sat, 09 Mar 2002 11:07:19 +0000
Received: by strauss (Postfix, from userid 0)
        id 97A8D74A1; Sat, 9 Mar 2002 11:04:14 +0000 (GMT)

So postfix on strauss got it, and then as the dialup IP described the gateway
as modem-2740... (helo=strauss) it didn't matter at all that the helo didn't
match the PTR record for the IP.

It may be that if the helo doesn't look anything like a domain name then the
receiving mta won't bother checking, whilst if the helo is a resolvable hostname
that maps to a different IP than the one you're coming from then you'll hit
problems.

HTH,

Matthew

-- 

Matthew Sackman Nottingham England

BOFH Excuse Board: Computers under water due to SYN flooding. -------------------------------------------------------------------- http://www.lug.org.uk http://www.linuxportal.co.uk http://www.linuxjob.co.uk http://www.linuxshop.co.uk --------------------------------------------------------------------



This archive was generated by hypermail 2.1.3 : Sat 09 Mar 2002 - 14:02:46 GMT