> [EMAIL PROTECTED] writes:
>
> Hi,
> Is there any way to log subject or other headers of fetched mails (to
> database or a file) with courier pop3 and imap.

You can use maildrop to filter incoming mails, then you can write a rule
in maildrop to match something and log it to syslog or do whatever you
want with it.

Something like that in your maildroprc:

if ((/^X-Spam-Status: Yes/))
{
      echo "This mail message is probably spam"
}

more info at: http://www.courier-mta.org/maildrop/maildropfilter.html

HTH.
Ciao, Dino.


____________________________________
JOB OPPORTUNITY PER GIOVANI LAUREATI

Martedi' 4 Novembre presso la sede di Roma in Via Zoe Fontana n. 220, REplat 
seleziona personale per lo stage dell'Area Commerciale.
Per info e adesioni: [EMAIL PROTECTED]


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to