[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: forward emails



On Fri, Jan 28, 2000 at 01:11:38PM +0100, lz71@libero.it wrote:
> Esiste un modo automatico per far distribuire la posta ai vari utenti, 
> magari usando delle parole chiave presenti nel messaggio ?

Io lo faccio con fetchmail + procmail

Il mio fetchmailrc (fetchmail e' lanciato via /etc/ppp/ip-up.d/) e'
cosi':

poll indirizzo.del.pop.3
proto POP3
user pinco
pass password
is UTENTEA here
fetchall
nokeep
smtpaddress localhost.localdomain
mda "/usr/bin/procmail -d UTENTEA"


poll indirizzo.del.pop.3
proto POP3
user pallino
pass password
is UTENTEB here
fetchall
nokeep
smtpaddress localhost.localdomain
mda "/usr/bin/procmail -d UTENTEB"

credo che la riga che invoca procmail sia perfettamente inutile
specificando il nome utente con is ..... here la posta dovrebbe finire
direttamente in /var/spool/mail/$USER

-- 
Lorenzo Pulici
Erich Weitzmann S.p.A. - web site http://www.weitzmann.it
PGP fingerprint: 0FA7 C3F0 8363 9F25 E5C8  6B23 C7CE 07CF B6BB C985


Reply to: