1999-03-05 02:03:56 +08:00
|
|
|
PUSHDIVERT(-1)
|
1999-10-29 06:17:23 +08:00
|
|
|
## Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
|
|
|
|
## All rights reserved.
|
|
|
|
##
|
|
|
|
## Redistribution and use in source and binary forms are permitted only
|
|
|
|
## as authorized by the OpenLDAP Public License. A copy of this
|
|
|
|
## license is available at http://www.OpenLDAP.org/license.html or
|
|
|
|
## in file LICENSE in the top-level directory of the distribution.
|
1999-03-05 02:03:56 +08:00
|
|
|
|
|
|
|
dnl
|
1999-10-29 06:17:23 +08:00
|
|
|
dnl mail500 mailer
|
|
|
|
dnl
|
|
|
|
dnl This file should be placed in the sendmail's cf/mailer directory.
|
|
|
|
dnl To include this mailer in your .cf file, use the directive:
|
|
|
|
dnl MAILER(mail500)
|
|
|
|
dnl
|
|
|
|
|
1999-03-05 02:03:56 +08:00
|
|
|
ifdef(`MAIL500_HOST',
|
1999-06-30 21:54:32 +08:00
|
|
|
`define(`MAIL500_HOST_FLAG', CONCAT(` -l ', CONCAT(MAIL500_HOST,` ')))',
|
|
|
|
`define(`MAIL500_HOST_FLAG', `')')
|
|
|
|
ifdef(`MAIL500_CONFIG_PATH',,
|
|
|
|
`define(`MAIL500_CONFIG_PATH', /etc/mail/mail500.conf)')
|
1999-03-05 02:03:56 +08:00
|
|
|
ifdef(`MAIL500_MAILER_PATH',,
|
|
|
|
`ifdef(`MAIL500_PATH',
|
|
|
|
`define(`MAIL500_MAILER_PATH', MAIL500_PATH)',
|
|
|
|
`define(`MAIL500_MAILER_PATH', /usr/local/libexec/mail500)')')
|
|
|
|
ifdef(`MAIL500_MAILER_FLAGS',,
|
|
|
|
`define(`MAIL500_MAILER_FLAGS', `SmnXuh')')
|
|
|
|
ifdef(`MAIL500_MAILER_ARGS',,
|
|
|
|
`define(`MAIL500_MAILER_ARGS',
|
1999-07-24 04:52:17 +08:00
|
|
|
CONCAT(`mail500',CONCAT(` -C ',MAIL500_CONFIG_PATH,MAIL500_HOST_FLAG,`-f $f -m $n@$w $u')))')
|
1999-03-05 02:03:56 +08:00
|
|
|
|
1999-10-29 06:17:23 +08:00
|
|
|
POPDIVERT
|
|
|
|
|
|
|
|
MAILER_DEFINITIONS
|
1999-03-05 02:03:56 +08:00
|
|
|
|
|
|
|
######################*****##############
|
|
|
|
### MAIL500 Mailer specification ###
|
|
|
|
##################*****##################
|
|
|
|
|
1999-10-29 06:17:23 +08:00
|
|
|
VERSIONID(`$OpenLDAP$')
|
|
|
|
|
1999-03-05 02:03:56 +08:00
|
|
|
Mmail500, P=MAIL500_MAILER_PATH, F=CONCAT(`DFM', MAIL500_MAILER_FLAGS), S=11/31, R=20/40, T=DNS/RFC822/X-Unix,
|
|
|
|
ifdef(`MAIL500_MAILER_MAX', `M=500_MAILER_MAX, ')A=MAIL500_MAILER_ARGS
|
|
|
|
|
1999-10-29 06:17:23 +08:00
|
|
|
LOCAL_CONFIG
|
|
|
|
# Mail500 Domains
|
|
|
|
#CQ foo.com
|
|
|
|
|
1999-03-05 02:03:56 +08:00
|
|
|
PUSHDIVERT(3)
|
|
|
|
# mail500 additions
|
1999-06-30 21:54:32 +08:00
|
|
|
R$* < @ $=Q > $* $#mail500 $@ $2 $: <$1@$2> domain handled by mail500
|
1999-03-05 02:03:56 +08:00
|
|
|
POPDIVERT
|