Date: Tue, 07 Jul 2009 12:17:01 +0200 From: "Julian H. Stacey" <jhs@berklix.com> To: Xavier Cardil <cardil.xavier@gmail.com> Cc: freebsd-isp@freebsd.org Subject: Re: mail treatment Message-ID: <200907071017.n67AH1kc050687@fire.js.berklix.net> In-Reply-To: Your message "Tue, 07 Jul 2009 11:32:54 %2B0200." <50c2d0150907070232g7642cec9j3a24511dda5f81c3@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Reference: > From: Xavier Cardil <cardil.xavier@gmail.com> > Date: Tue, 7 Jul 2009 11:32:54 +0200 > Message-id: <50c2d0150907070232g7642cec9j3a24511dda5f81c3@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907071017.n67AH1kc050687>