trideni posty
jiri na baum.com.au
jiri na baum.com.au
Středa Únor 10 04:54:44 CET 1999
Kouril:
> potrebuji poradit s tridenim posty z POP3 schranky. Maily pro vsechny
> uzivatele v dane domene se mi skladaji do jednoho mailboxu u ISP. Odtud je
> stahuju fetchmailem. Problem je v tom, ze se casto stane, ze fetchmail
> nedovede urcit prijemce a dopis odesle uzivateli, ktery spustil fetchmail.
> Muzete mi prosim poradit zpusob, jakym lze docilit spravneho trideni?
Spatne, protoze POP zahazuje obalku.
Nektere ISP davaji kopii obalky do hlavicky Received - tak i muj, takze
tridim pomoci eximu:
# Exim filter
if "$h_Received:" matches
"(?:.|\n)*?for <([A-Za-z0-9_-]*)@baum.com.au>(.|\n)*"
and "$1" is not root
then deliver "$1 na baum.com.au"
else
deliver jiri na baum.com.au
endif
Jiri Baum
--
<jiri na baum.com.au>
We'll know the future has arrived when every mailer transparently
quotes lines that begin with "From ", but no-one remembers why.
Další informace o konferenci Linux