]> git.sur5r.net Git - openldap/blob - clients/mail500/mail500.m4
Obsolete file. Oops.
[openldap] / clients / mail500 / mail500.m4
1 PUSHDIVERT(-1)
2 #
3 # mail500 mailer
4 #
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:
7 #       MAILER(mail500)
8 #
9
10 #CQ foo.com
11
12 POPDIVERT
13
14 dnl
15 ifdef(`MAIL500_HOST',
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')))')
27 dnl
28 MAILER_DEFINITIONS
29
30 VERSIONID(`OpenLDAP mail500 981207')
31
32 ######################*****##############
33 ###   MAIL500 Mailer specification   ###
34 ##################*****##################
35
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
38
39 PUSHDIVERT(3)
40 # mail500 additions
41 R$* < @ $=Q > $*        $#mail500 $@ $2 $: <$1>         domain handled by mail500
42 POPDIVERT