andrew anand
07-13-2006, 08:41 AM
This is a example of an old sendmail.cf (old)
I want to turn it into a postfix.cf any ideas please.
Andrew
----------------------------------------------------------------------------------------------
Finally, make a new sendmail.cf file which sends all mail to the bull
domain name through the bullserver. What follows is an example ".mc"
file suitable for use with sendmail 8.7.5.
-------------------------------------------------------------------------------
divert(-1)
# Example sendmail configuration for a bullserver
include(`../m4/cf.m4')
dnl
dnl Set your Operating system type below
dnl
OSTYPE(solaris2)dnl
dnl
dnl These flags are necessary to encure privacy (and to prevent nym
dnl from lines from being rewritten with names of actual users in the
dnl password file):
dnl
define(`confPRIVACY_FLAGS',
`novrfy,noexpn,noreceipts,restrictmailq,restrictqr un')dnl
define(`confFROM_HEADER', `$g')dnl
define(`confLOG_LEVEL', `1')dnl
define(`confTO_IDENT', `0s')dnl
define(`HReceived', `H?R?Received')dnl
dnl
dnl Recommended:
dnl
define(`confMIME_FORMAT_ERRORS', `False')dnl
dnl
dnl Uncomment the following line if you want procmail used for local
dnl mail:
dnl
dnl FEATURE(local_procmail)
PUSHDIVERT(7)dnl
######################################
### alias mailer specification ###
######################################
dnl
dnl Note here that 8888 should be changed to the user ID of the nym
dnl user, and 9999 should be changed to the group ID of that user.
dnl
Mnym, P=/usr/bull/bulserv, F=DFMehluS, L=255, T=X-Unix,
U=8888 9999, S=10/30, R=20/40,
A=bullserv -d $u
POPDIVERT`'dnl
MAILER(local)dnl
MAILER(smtp)dnl
LOCAL_RULE_0
dnl
dnl Replace bull.andrew.comwith the actual name of your nymserver.
dnl
# Redirect the alias mail to the alias mailer
R$+<@bull.andrew.com#nym $: $1
I want to turn it into a postfix.cf any ideas please.
Andrew
----------------------------------------------------------------------------------------------
Finally, make a new sendmail.cf file which sends all mail to the bull
domain name through the bullserver. What follows is an example ".mc"
file suitable for use with sendmail 8.7.5.
-------------------------------------------------------------------------------
divert(-1)
# Example sendmail configuration for a bullserver
include(`../m4/cf.m4')
dnl
dnl Set your Operating system type below
dnl
OSTYPE(solaris2)dnl
dnl
dnl These flags are necessary to encure privacy (and to prevent nym
dnl from lines from being rewritten with names of actual users in the
dnl password file):
dnl
define(`confPRIVACY_FLAGS',
`novrfy,noexpn,noreceipts,restrictmailq,restrictqr un')dnl
define(`confFROM_HEADER', `$g')dnl
define(`confLOG_LEVEL', `1')dnl
define(`confTO_IDENT', `0s')dnl
define(`HReceived', `H?R?Received')dnl
dnl
dnl Recommended:
dnl
define(`confMIME_FORMAT_ERRORS', `False')dnl
dnl
dnl Uncomment the following line if you want procmail used for local
dnl mail:
dnl
dnl FEATURE(local_procmail)
PUSHDIVERT(7)dnl
######################################
### alias mailer specification ###
######################################
dnl
dnl Note here that 8888 should be changed to the user ID of the nym
dnl user, and 9999 should be changed to the group ID of that user.
dnl
Mnym, P=/usr/bull/bulserv, F=DFMehluS, L=255, T=X-Unix,
U=8888 9999, S=10/30, R=20/40,
A=bullserv -d $u
POPDIVERT`'dnl
MAILER(local)dnl
MAILER(smtp)dnl
LOCAL_RULE_0
dnl
dnl Replace bull.andrew.comwith the actual name of your nymserver.
dnl
# Redirect the alias mail to the alias mailer
R$+<@bull.andrew.com#nym $: $1