[Wylug-help] SMTP problem

Anne Wilson cannewilson at googlemail.com
Sat Nov 12 17:03:44 UTC 2011


On Saturday 12 Nov 2011 Simon Greenwood wrote:
> On 12 November 2011 08:38, Anne Wilson <cannewilson at googlemail.com> wrote:
> > On Friday 11 Nov 2011 Simon Greenwood wrote:
> > > On 11 Nov 2011 19:50, "Anne Wilson" <cannewilson at googlemail.com> wrote:
> > > > About an hour ago I wrote to this list:
> > > >  I've been using postfix for a long time, using transport maps to
> > > >  separate
> > > > 
> > > > messages for LAN delivery and messages to go externally.  My
> > > > transport
> > > 
> > > hash is
> > > 
> > > > based on
> > > > 
> > > > lydgate.net     local:
> > > > .lydgate.net    local:
> > > > lydgate.lan     local:
> > > > .lydgate.lan    local:
> > > > *       smtp:[mailhost.zen.co.uk]
> > > > .*      smtp:[mailhost.zen.co.uk]
> > > > 
> > > > Normally it works perfectly, but I need to send a message to a small
> > > 
> > > mailing
> > > 
> > > > list that I host, named creativestitching at lydgate.org.  The error
> > 
> > message
> > 
> > > > makes it clear that it thinks creativestitching is a LAN recipient.
> > > > 
> > > > NOQUEUE: reject: RCPT from unknown[192.168.0.103]: 550 5.1.1
> > > > <creativestitching at lydgate.org>: Recipient address rejected: User
> > > > unknown in local recipient table; from=<anne at lydgate.org>
> > > > to=<creativestitching at lydgate.org> proto=ESMTP
> > > > helo=<tosh.lydgate.lan>
> > > > 
> > > > a)  Why is a lydgate.org address now being seen as local?
> > > > 
> > > > b) How can I change the transport map to avoid it?
> > > > 
> > > > Since then I realised that even if I set the mail transport to use
> > > > gmail's smtp, the messages still don't go out.  This seems to have
> > > > started yesterday evening.  As far as I can see, there have been no
> > > > CentOS 6 updates, according to the log, since October 31st (but I
> > > > have a niggling feeling that that's not true).  SELinux is disabled
> > > > as is the firewall on this box.
> > > > 
> > > > /etc/alternatives/mta points to sendmail.postfix.
> > > > 
> > > > I'm out of ideas of what to check.  For the moment I'm reduced to
> > 
> > webmail
> > 
> > > L-(
> > > 
> > > 
> > > What does the mail server resolve lydgate.org to? Also, check your
> > 
> > virtual
> > 
> > > table.
> > 
> > Sorry, I'm not sure what/how you want me to check.  Could you give me
> > more precise instructions?  Thanks
> 
> Log onto the mail server and type 'host -t MX lydgate.org' on the command
> line and see how DNS resolves on the machine.
> 
> I think that for some reason your mail server believes that it has once
> hosted lydgate.org so there might be still something in its config so you
> might have to grep for 'lydgate.org' in the postfix config files, most
> likely in the virtual file, which should be in /etc/postfix or /etc/mail.
> 
host -t MX lydgate.org
lydgate.org mail is handled by 10 mailcluster.zen.co.uk.

The virtual file, in /etc/postfix, contains nothing but commented lines, 
clearlhy untouched by human hand.

Anne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mailman.lug.org.uk/pipermail/wylug-help/attachments/20111112/172000ac/attachment.pgp>


More information about the Wylug-help mailing list