> A /etc/default/fetchmail-ban a következő van:
> START_DAEMON=yes
>
> A .fetchmailrc valami ilyesmi:
> set logfile .fetchmail.log
> poll mail.domain.hu proto POP3 user [email protected] pass "xxx"
> is kjt here
> mda "procmail -f kjt@localhost ~/.procmailrc"
> keep
>
Én nem .fetchmailrc-t használok, hanem központit (/etc/fetchmailrc) és
abban van az összes fiók leszedési adata valahogy ilyenformán:
poll mail.domain.hu proto POP3
user [email protected] pass "xxx" to <user1_újnév@újtartomány>
user [email protected] pass "xxx" to <user2_újnév@újtartomány>
stb.
Aztán az egyes emberkék könyvtárában pedig a .forward tartalma:
"| /usr/bin/procmail -p"
Majd a démon így fut:
/usr/bin/fetchmail -f /etc/fetchmailrc --pidfile
/var/run/fetchmail/fetchmail.pid -d 300 --syslog -i
/var/lib/fetchmail/.fetchmail-UIDL-cache
A -d 300 hatására ötpercenként megnézi, van-e új levél. Az utolsó
paramétert a rendszer rakta oda, nem tudom mi az.
Évek óta hibátlanul működik.
Üdv:
Pali.
Évek óta stabilan
_________________________________________________
linux lista - [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux