mail treatment

Julian H. Stacey jhs at berklix.com
Tue Jul 7 10:40:18 UTC 2009


Hi,
Reference:
> From:		Xavier Cardil <cardil.xavier at gmail.com> 
> Date:		Tue, 7 Jul 2009 11:32:54 +0200 
> Message-id:	<50c2d0150907070232g7642cec9j3a24511dda5f81c3 at mail.gmail.com> 

Xavier Cardil wrote:
> Hi all, another question:
> 
> When I check some user inbox mail, the mail is stored as only 1 file.
> That's good because you don't get lots of files, one file per e-mail.
> But when it comes to mail treatment, I find it is harder to manage.
> I'm trying to find the way to get a message every time it come in,
> analyse the subject and the attachments and with that two results do
> something, like create another file to send it to a fax send
> application. Is there a way to cut the file by mail, or to receive the
> messages on different files ?
> 
> Thank you.

You are asking on wrong list.
Better ask on eg hackers@ or questions@ next time.
See list remit on http://freebsd.org/

However, Answer/ what I use: /usr/ports/mail/procmail
Which is nmh compatible		/usr/ports/mail/nmh
Which is compatible with most MUA Mail User Agents.
Procmail has lots of docu. & some example syntax, but here's
my personal filter syntax for procmail
	http://www.berklix.com/~jhs/dots/.procmailrc
	http://www.berklix.com/~jhs/dots/.procmailrc.lists	# for this list

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys. Eng. Consultant Munich http://berklix.com
  Mail in plain ASCII text, HTML & Base64 are spam.  http://asciiribbon.org


More information about the freebsd-isp mailing list