|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Ruleset 0 -- Parse Address on postfix ?!
From: pigfoot (pigfoot
CDPA.nsysu.edu.tw)Date: Fri Sep 08 2000 - 14:29:40 CDT
- Next message: Wietse Venema: "Re: Ruleset 0 -- Parse Address on postfix ?!"
- Previous message: Simon J Mudd: "Re: sendmail traces"
- In reply to: Darron Froese: "Re: Pflogsumm: Big Oops!"
- Next in thread: Wietse Venema: "Re: Ruleset 0 -- Parse Address on postfix ?!"
- Reply: pigfoot: "Ruleset 0 -- Parse Address on postfix ?!"
- Reply: Wietse Venema: "Re: Ruleset 0 -- Parse Address on postfix ?!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Dear all,
i try to modify the main.cf of postfix to suit the bbs server.
It means that if the messages of Internet, and rctp to:
<my_bbs_user_id.bbs
my.bbs.server>, i would like to pass it to the program
"bbsmail my_bbs_user_id" via pipeline. Hence, bbsmail can parse the head
and body to the user, "my_bbs_user_id", by the argv[1] automationally.
Now, i have some questions. It can work well on MTA, sendmail. But
postfix will be better! i can't find the way of Re-Write-Rule on
http://www.postfix.org/. Could someone help me modify main.cf or master.cf?
The Re-Write-Rule on sendmail.cf follows:
##################################################
### Local and Program Mailer specification ###
##################################################
Mmailpost, P=/home/bbs/bin/mailpost, F=lsSDFMhPu, U=bbs, S=10,
R=20/40,
A=mailpost $u
Mbbsmail, P=/home/bbs/bin/bbsmail, F=lsSDFMhPu, U=bbs, S=10,
R=20/40,
A=bbsmail $u
######################################
### Ruleset 0 -- Parse Address ###
######################################
S0
<cut..>
# handle local hacks
R$* $: $>98 $1
Rbbs <
$=w . > $#mailpost $: bbs mailpost for bbs
R$+.bbs <
$=w .> $#bbsmail $: $1 bbs mail gateway
<cut.....>
# everything else is a local name
Rbbs $#mailpost $:bbs mailpost for bbs
R$+.bbs $#bbsmail $:$1 bbs mail gateway
--
Regards,
pigfoot Chen.
- Next message: Wietse Venema: "Re: Ruleset 0 -- Parse Address on postfix ?!"
- Previous message: Simon J Mudd: "Re: sendmail traces"
- In reply to: Darron Froese: "Re: Pflogsumm: Big Oops!"
- Next in thread: Wietse Venema: "Re: Ruleset 0 -- Parse Address on postfix ?!"
- Reply: pigfoot: "Ruleset 0 -- Parse Address on postfix ?!"
- Reply: Wietse Venema: "Re: Ruleset 0 -- Parse Address on postfix ?!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]