5 # This file should be placed in the sendmail's cf/mailer directory.
6 # To include this mailer in your .cf file, use the directive:
16 `define(`MAIL500_HOST_FLAG', CONCAT(` -l ', CONCAT(MAIL500_HOST,` ')))',
17 `define(`MAIL500_HOST_FLAG', `')')
18 ifdef(`MAIL500_CONFIG_PATH',,
19 `define(`MAIL500_CONFIG_PATH', /etc/mail/mail500.conf)')
20 ifdef(`MAIL500_MAILER_PATH',,
21 `ifdef(`MAIL500_PATH',
22 `define(`MAIL500_MAILER_PATH', MAIL500_PATH)',
23 `define(`MAIL500_MAILER_PATH', /usr/local/libexec/mail500)')')
24 ifdef(`MAIL500_MAILER_FLAGS',,
25 `define(`MAIL500_MAILER_FLAGS', `SmnXuh')')
26 ifdef(`MAIL500_MAILER_ARGS',,
27 `define(`MAIL500_MAILER_ARGS',
28 CONCAT(`mail500',CONCAT(` -C ',MAIL500_CONFIG_PATH,MAIL500_HOST_FLAG,`-f $f -m $n@$w $u')))')
32 VERSIONID(`OpenLDAP mail500 990630')
34 ######################*****##############
35 ### MAIL500 Mailer specification ###
36 ##################*****##################
38 Mmail500, P=MAIL500_MAILER_PATH, F=CONCAT(`DFM', MAIL500_MAILER_FLAGS), S=11/31, R=20/40, T=DNS/RFC822/X-Unix,
39 ifdef(`MAIL500_MAILER_MAX', `M=500_MAILER_MAX, ')A=MAIL500_MAILER_ARGS
43 R$* < @ $=Q > $* $#mail500 $@ $2 $: <$1@$2> domain handled by mail500