On Monday 03 January 2005 19:09, William Hue wrote:
> Sam,
>
> If the domain is listed only in "esmtpacceptmailfor", then courier
> acts as a relay for that domain--it accepts the e-mail, then looks
> up the MX record for that domain and sends it there.
Ah, I read 'accept' to mean would place it in local inbox.
> If you want the mail for the domain to be delivered locally, you
> have to put the domain in "locals" as well. If the domain is
> virtual then the domain should be in "hosteddomains" instead of
> "locals".
Well, using locals causes a different error:
I have the following in locals:
glendale.org.uk
.glendale.org.uk
When I send an email to the glendale.org.uk domain, I get the following error:
configuration error: mail loops back to myself (MX problem).
Trying testmxlookup gives the following output btw:
wotan courier # testmxlookup glendale.org.uk
Domain glendale.org.uk:
Relay: mailgate.glendale.org.uk, Priority: 50, Address: 80.176.97.122
[ LOCAL ]
Relay: relay-2.mail.demon.net, Priority: 100, Address: 194.217.242.209
Relay: relay-1.mail.demon.net, Priority: 100, Address: 194.217.242.208
(mailgate.glendale.org.uk is my firewall, which redirects port 25 to
my mailserver which is otherwise not accessable from the outside).
If I use hosteddomains instead of locals, then I get an unknown user
error. This possibly looks like the most promising way forward however.
I'm guessing that I could setup USERDB to create users for this domain.
However, I just want anything to user X to get put into the UNIX mailbox
for user X, regardless of the domain it is sent to. This works fine
for the default domain (bifrost.demon.co.uk), but is there a way to
tell courier to do the same for all domains, so I don't have to set up
a virtual account for each UNIX user?
Alternatively, is there a way to get Courier to ignore the MX record
and just accept delivery? I'm guessing putting something in esmtproutes
would just cause another infinite loop, but that's the only place I've
been able to find which ignores MX records.
--
Be seeing you, http://www.glendale.org.uk/
Sam. jabber: [EMAIL PROTECTED]
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users