mail treatment

View: New views
3 Messages — Rating Filter:   Alert me  

mail treatment

by Xavier Cardil :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.
_______________________________________________
freebsd-isp@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@..."

Re: mail treatment

by rblayzor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Jul 7, 2009, at 5:32 AM, Xavier Cardil wrote:
> 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,



procmail ?

--
Robert Blayzor, BOFH
INOC, LLC
rblayzor@...
http://www.inoc.net/~rblayzor/



_______________________________________________
freebsd-isp@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@..."

Re: mail treatment

by Julian H. Stacey-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

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
_______________________________________________
freebsd-isp@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@..."