|
Re: lug-bg: Poshtenski zadachi
- Subject: Re: lug-bg: Poshtenski zadachi
- From: stoyan@xxxxxxxxxxxxxxx (Stoyan Jekov)
- Date: Mon, 16 Jul 2001 16:54:10 +0900
Problema moze da se re6i naprimer, kato vlu4i6 dopulnitelen
header w prepratenoto pismo -> X-Loop: unikalen string
napr login@host). Togava:
1. Niakoi izpra6te pismo na user
2. Forwarder PROVERIABA ima li X-Loop header
3. Ako ne:Forwarder go prepra6ta kum usa.net, NO DOBAVIA X-Loop
header. Goto 5
4. Ako da: not forward (mail stopped)
5. Usa.net vru6ta pismoto
6. Mailer-a na na6ia host prepra6ta pismoto
7. Goto 2
Konkretno za procmail:
USER="lamer"
HOST="dummy\.net"
MY_XLOOP="X-Loop: $USER@$HOST"
:0
* conditions-for-auto-reply
*$ ! ^$MY_XLOOP
* ! ^FROM_DAEMON
| $FORMAIL -A "$MY-XLOOP" ...other-headers...
--
Stoyan Jekov stoyan [AT] silveregg [DOT] co [DOT] jp
SilverEgg Technology Co.,Ltd. http://www.silveregg.co.jp/
Phone: 06-6386-1931 Fax: 06-6386-2101
==== "Security begins as a state of mind." -> NSA manual ====
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|