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?
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to