8 messages in net.sourceforge.lists.courier-usersRe: [courier-users] SMTP relay from a...
FromSent OnAttachments
Olivier SannierMar 17, 2007 10:05 am 
Sam VarshavchikMar 17, 2007 11:00 am 
Olivier SannierMar 19, 2007 2:31 am 
Gordon MessmerMar 20, 2007 11:05 am 
Olivier SannierMar 22, 2007 10:48 am 
Gordon MessmerMar 23, 2007 1:07 pm 
Olivier SannierMar 24, 2007 11:32 am 
Gordon MessmerMar 26, 2007 8:31 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] SMTP relay from a given IP address and a given senderActions...
From:Gordon Messmer (yiny@eburg.com)
Date:Mar 26, 2007 8:31:02 am
List:net.sourceforge.lists.courier-users

Olivier Sannier wrote:

Gordon Messmer wrote:

If you're able to get a list of the valid addresses on somedomain.org, then you can: * add somedomain.org to esmtpacceptmailfor and hosteddomains * create an alias file mapping all of the somedomain.org addresses to somedomain.com

Sounds good. I assume the "alias" file is described in the documentation, I'll look it up.

It is. You just need to generate a file in /etc/courier/aliases/ that looks more or less like:

a@example.com: a@example.org b@example.com: b@example.org ...

After you've generated the alias file, run "makealiases".

You'll also want to make arrangements on the MX for somedomain.org server so that it never rejects messages from the MX from somedomain.com. If it does, your queue and postmaster account are going to fill up with spam, and the server will be difficult to manage properly.

How do I setup this?

You'd have to work that out with your provider. The risk you run is that if your .org mail server rejects a mail for "a@somedomain.org" because it's spam or a virus, then courier will start rejecting mail for "a@somedomain.com" until that issue is resolved. You could turn off backscatter suppression, but then you'd run in to the problem where your queue fills up and postmaster gets a lot of mail it need not.

Generally, you need to make sure that either your .com server has the same protections that your .org server has, or the .org server has to whitelist the .com server and never check anything that comes in that way.