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:Olivier Sannier (obo@free.fr)
Date:Mar 22, 2007 10:48:41 am
List:net.sourceforge.lists.courier-users

Gordon Messmer wrote:

Olivier Sannier wrote:

What would be the best would be to have a specific user/password combination for this, and that this user cannot actually receive any email. Sending anything to him gets bounced back. Can using a virtual user without actually creating its directory work for this?

Out of curiosity, why are you trying so hard to avoid using the "normal" relay mechanisms?

To answer your question: yes, there are a couple of ways that you can prevent a user from receiving mail. You could label that address a spamtrap in 'bofh'. (Actually, you should probably have just one spamtrap, and alias all of the accounts which you don't want to receive mail to that account. That usually includes local users like 'apache'.) You could also use maildrop filters (see maildropfilter(7)) in that account's home directory to refuse mail from all senders.

Well, I'm trying so hard because here is the overall setup I'd like to achieve :

My courierd server is set as the MX for SomeDomain.com When it's for SomeDomain.com, anything that gets delivered to it gets forwarded transparently to the same address at SomeDomain.org On top of that, I'd like to act as an open relay for a selected list of accounts, provided they identify themselves during the STMP transfer.

So in the end, none of the accounts actually receive any mail. Do you think that's feasible with courier?