11 messages in net.sourceforge.lists.courier-users[courier-users] Re: Can Courier call ...
FromSent OnAttachments
Greg EarleNov 19, 2004 9:35 pm 
cour...@gmx.netNov 20, 2004 2:35 am 
Sam VarshavchikNov 20, 2004 6:58 am 
Greg EarleNov 21, 2004 6:22 am 
Sam VarshavchikNov 21, 2004 7:46 am 
Greg EarleNov 21, 2004 2:12 pm 
Sam VarshavchikNov 21, 2004 3:10 pm 
Greg EarleNov 23, 2004 2:57 pm 
Sam VarshavchikNov 23, 2004 4:31 pm 
Greg EarleNov 24, 2004 11:57 am 
Greg EarleNov 24, 2004 4:26 pm 
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:[courier-users] Re: Can Courier call external mailers for certain outgoing addresses?Actions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Nov 20, 2004 6:58:45 am
List:net.sourceforge.lists.courier-users

Greg Earle writes:

On Nov 12, 2004, at 4:15 PM PST, mrs@courier-mta.com wrote:

Put '@domain.com: x500' into aliases, then makealiases.

Put '| /usr/local/sbin/mail500 "$EXT"' into aliasdir/.courier-x500-default

Read http://www.courier-mta.org/makealiases.html

Read http://www.courier-mta.org/dot-courier.html

Mind the double-quotes around the environment variable in the .courier file, unless you want your server to be hacked.

Hi Sam,

Thanks for the suggestion, never thought the aliasdir stuff could handle this sort of thing.

Finally had a chance to try it out and got some strangeness:

isolar:1:81 [/opt/courier/etc/aliasdir] # cat .courier-x500-default '|/usr/local/sbin/mail500 -f "$SENDER" -h "$HOST" -m MAIL@isolar.DynDNS.ORG "$RECIPIENT"'

Again, read the man pages. If you did, you would've known that when I used apostrophes, '…', I wasn't telling you to literally put apostrophes in the .courier file, the way you did.