Greg Earle writes:

overloaded central server(s).  All that was required was a ruleset in
sendmail.cf to look for recipients in the form "[EMAIL PROTECTED]" and,
if it was triggered, hand it off to this X.500 external mailer:

# Handle redirections via X.500
R$*<@work.do.main.>$*   $#mail500 [EMAIL PROTECTED] $:<$1>

[...]

########################################
###   MAIL500 Mailer specification   ###
########################################

#####  @(#)mail500.m4   1.0 01/20/1999  #####

Mmail500,       P=/usr/local/sbin/mail500, F=DFMSmnXuh,
                 A=mail500 -f $f -h $h -m [EMAIL PROTECTED] $u

I don't see any obvious way to handle special-case outgoing
addresses in Courier in this same type of fashion - is there?

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

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

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

Read http://www.coutier-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.



Attachment: pgpxfhgCGEu4B.pgp
Description: PGP signature

Reply via email to