|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: Always_bcc option
From: Rafi Sadowsky (rafi
meron.openu.ac.il)Date: Tue Feb 08 2000 - 00:52:51 CST
- Next message: Werner Reisberger: "Re: domain in a mailbox"
- Previous message: Simon J Mudd: "Re: which version of postfix to use."
- In reply to: Ron Tsur: "Always_bcc option"
- Reply: Rafi Sadowsky: "Re: Always_bcc option"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 7 Feb 2000, Ron Tsur wrote:
> How do I use the Always_bcc option. Where can I find the documentation for it
> and preferably some good examples.>
> Ron.
>
>
how much dopcumentation to you need ?
snippet from <http://postfix.openu.ac.il/cleanup.8.html>
CONFIGURATION PARAMETERS
The following main.cf parameters are especially relevant
to this program. See the Postfix main.cf file for syntax
details and for default values. Use the postfix reload
command after a configuration change.
Miscellaneous
always_bcc
Address to send a copy of each message that enters
the system.
Example - backup MX for XXX which is down for a long time
use procmail to notify first time mailers that XXX is down
(ugly but it worked just fine for
backup MX with sustained 100+ incoming SMTP sessions)
--in main.cf
# The always_bcc parameter specifies an optional address that
# receives a copy of each message that enters the Postfix system,
# not including bounces that are generated locally.
#
always_bcc = XXXmastr
---- ---procmailrc SHELL=/bin/sh # for other shells, this might need adjustment SENDMAIL=/usr/site/sbin/postfix/sendmail LOGFILE=$HOME/XXXmaillog COMSAT=NO DEFAULT=/dev/null #VERBOSE=YES:0 Whc: vacation.lock # Perform a quick check to see if the mail was addressed to XXX * ^TO.*XXX\.ac\.il #exclude users with special forwarding * !^TO(USER1|USER2)
\.XXX\.ac\.il # Don't reply to daemons and mailinglists * !^FROM_DAEMON * !^Precedence: (junk|bulk) # Mail loops are evil * !^X-Loop: XXXmastr
MX-XXX.openu.ac.il # check (hashed) cache to see if sender has already got auto-reply # (will repeat when cache overflows - still OK) | /usr/local/bin/formail -rD 65536 vacation.cache :0 ehc # if the name was not in the cachei then auto-notify | (/usr/local/bin/formail -I "Delivered-To:" -rA"Precedence: junk" \ -A"X-Loop: XXXmastr
MX-XXX.openu.ac.il"; \ /bin/cat $HOME/XXXmessage \ ) | $SENDMAIL -oi -t
- Next message: Werner Reisberger: "Re: domain in a mailbox"
- Previous message: Simon J Mudd: "Re: which version of postfix to use."
- In reply to: Ron Tsur: "Always_bcc option"
- Reply: Rafi Sadowsky: "Re: Always_bcc option"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]