5 messages in net.sourceforge.lists.courier-usersRe: [courier-users] courier-users Dig...
FromSent OnAttachments
Ken SarkiesJan 24, 2007 4:16 pm 
Gordon MessmerJan 24, 2007 4:39 pm 
Ken SarkiesJan 25, 2007 8:59 pm 
Gordon MessmerJan 26, 2007 10:16 am 
Ken SarkiesJan 28, 2007 1:59 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] courier-users Digest, Vol 9, Issue 42Actions...
From:Ken Sarkies (ksar@internode.on.net)
Date:Jan 25, 2007 8:59:00 pm
List:net.sourceforge.lists.courier-users

Hi Gordon

Gordon Messmer wrote:

error,relay=::ffff:203.57.193.26,from=<xx@agl.com.au>: 421 mail2.agl.com.au rejected the MAIL FROM command

That's an odd place for dialback to fail. Perhaps your hostname doesn't resolve in DNS?

Start python from the command line, and enter:

import courier.config print courier.config.me()

The name that's printed must be valid in DNS, or many sites will reject mail from you (possibly DSNs).

Many thanks for the advice. I'm a tad confused at this point as I don't really know enough about how Courier communicates with other mailservers. There is no "me" file so above commands just gave the FQDN for the server machine hta21.trinity.asn.au. This is not accessible directly from outside the LAN. All external email to domain trinity.asn.au is directed to our external IP address, and we forward port 25 from the router (which I gather would be a typical small system setup). I have set the defaultdomain file to trinity.asn.au and that appears to work fine. We have been running Courier-MTA for 2 and a half years without any apparent connection problems, certainly nothing visibly associated with DNS resolution.

We also have the esmtphelo file set to mail.trinity.asn.au which is not a machine inside the network - it is just a dummy identifier.

Is it that Courier is sending DSNs with the full machine hostname that is causing this? I haven't tried setting the me file as I'm still unsure what I'm doing. I'll readup a bit more over the weekend.

cheers, Ken

If that's the problem, you should create /etc/courier/me or fix your DNS records. See the man page for courier(8) for information.

Gordon,

Scott wrote:

Pythonfilter is fabulous! It's intuitive and easy to setup and works flawlessly (for me anyway).

Ditto