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', `')',
17 `define(`MAIL500_HOST_FLAG', CONCAT(` -l ', CONCAT(MAIL500_HOST,` ')))')
18 ifdef(`MAIL500_MAILER_PATH',,
19 `ifdef(`MAIL500_PATH',
20 `define(`MAIL500_MAILER_PATH', MAIL500_PATH)',
21 `define(`MAIL500_MAILER_PATH', /usr/local/libexec/mail500)')')
22 ifdef(`MAIL500_MAILER_FLAGS',,
23 `define(`MAIL500_MAILER_FLAGS', `SmnXuh')')
24 ifdef(`MAIL500_MAILER_ARGS',,
25 `define(`MAIL500_MAILER_ARGS',
26 CONCAT(`mail500',CONCAT(MAIL500_HOST_FLAG,`-f $f -h $h -m $n@$w $u')))')
30 VERSIONID(`OpenLDAP mail500 981207')
32 ######################*****##############
33 ### MAIL500 Mailer specification ###
34 ##################*****##################
36 Mmail500, P=MAIL500_MAILER_PATH, F=CONCAT(`DFM', MAIL500_MAILER_FLAGS), S=11/31, R=20/40, T=DNS/RFC822/X-Unix,
37 ifdef(`MAIL500_MAILER_MAX', `M=500_MAILER_MAX, ')A=MAIL500_MAILER_ARGS
41 R$* < @ $=Q > $* $#mail500 $@ $2 $: <$1> domain handled by mail500