[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linux-team] In-Reply-To: <396ED6B8.C54E102C@cisco.com>
Crée un .procmailrc (look en-dessous) dans la homedir du gars qui est en
vacances et remplace xxx par le login du gars et yyy par son domaine.
Devrais fonctionner.
A+
-------------------
SNIPP ---------------------------------------------------
PATH=/bin:/usr/bin:/usr/bin
MUSER=xxx
MAILDIR=/var/spool/mail
DEFAULT=$MAILDIR/$MUSER
LOGFILE=/home/$MUSER/$MUSER.procmail.log
SENDMAIL=/usr/sbin/sendmail
:0 Whc: /home/$MUSER/vacation.lock
* !^FROM_DAEMON
* !^X-Loop: $MUSER@yyy.com
| formail -rD 8192 /home/$MUSER/vacation.cache
:0 ehc # if the name was not in the cache
| (formail -rA"Precedence: junk" \
-A"X-Loop: $MUSER@yyy.com" ; \
echo "I won't be reading my mail bla bla"; \
echo "bla bla line 2"; \
) | $SENDMAIL -oi -t
-------------------
SNIPP ---------------------------------------------------
----- Original Message -----
From: alain mahiat <mahiat@infomaco.com>
To: <linux-team@rtfm.be>
Sent: Saturday, July 15, 2000 3:30 PM
Subject: [linux-team] In-Reply-To: <>
> Bonjour,
>
> Y aurait-il quelqu'un qui aurait une idée comment je peux faire un
> autoreplay sur mon serveur sendamail ? en clair, chaque fois que
quelqu'un
> envoi un émail vers un user particulier, la boîte lui répond
> automatiquement un message pré-enregistré du type '"désolé mais je bronze
> pour une semaine !"
>
> Un utilisateur pourrait-il gérer cette fonction lui-même ?
> merci d'avance
>
> alain
>
> --------------------------------------------------------------------------
----------------------------------------------------
>
> INFOMACO sprl
> Bvd A. Reyerslaan, 159 - 1030 BRUXELLES - Belgique
> Tél : +32-2-732-4020 Fax : +32-2-732-4702
> site : http://www.infomaco.com
> email : alain.mahiat@infomaco.com
> ISP (Internet Service Provide) + Network specialist + LINUX another
> Solution ...
> Already 18 years in the Computer field ...
>
> --------
> Visit the Linux Supertore Online: http://www.redcorp.com !
> If you want to be deleted from the list, send a mail to
> majordomo@rtfm.be with "unsubscribe linux-team" in the body.
> Archive of the list: http://tania.be.linux.org/
--------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.
Archive of the list: http://tania.be.linux.org/