Sam Varshavchik wrote: > Olivier Sannier writes: > >> Hi all, >> >> I'd like to use courier as a SMTP relay in the following conditions : >> >> - the From header must be equal to a predefined value >> - the IP address of the connected server must be equal to a >> predefined value >> >> If those conditions are met, then the email is accepted and then >> relayed to whatever destination domain was specified in the email. >> Relaying should not be done for any other case. >> I'm quite sure this is possible with courier, but I couldn't manage >> to find this in the documentation nor through the webadmin CGI script. > > Courier does not support granting of relaying privileges based on the > contents of the From: header. And I do not know if any mail server > that does this. > > Absolute relaying privileges can be given to any range of IP > addresses. Also, relaying privileges are given after any successful > SMTP authentication. > > You probably want to use authenticated SMTP. Nothing needs to be > configured. Courier will give relaying privileges to anyone who > provides a valid userid and password. Ok, fair enough. 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?
Thanks for any help ------------------------------------------------------------------------- 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
