Operating System - HP-UX
1833049 Members
2561 Online
110049 Solutions
New Discussion

How to set rules for mails

 
Sanjay Jadhav (Pune)
Occasional Contributor

How to set rules for mails

Hi!
I am pretty beginer... Is it possible to set rules on mails/mail? similar to outlook (at least simple rules?).

Example I want filter out and save those message automatically if sent by perticular sender.

Thanks,
Sanjay
2 REPLIES 2
Mancboy
Valued Contributor

Re: How to set rules for mails

it is possible to do in sendmail, but you would need some pretty strong macros writing or some good milters.

I would suggest using openXchange instead (the free version).
It runs on unix quite happily and gives a web based GUI to the inbox (can also be integrated into Outlook for those desperate for windoze).

As for the mail or mailx command, then not really as they just process the mbox file.
Sanjay Jadhav (Pune)
Occasional Contributor

Re: How to set rules for mails

Thanks!
I wanted to save some attachments without mail being read using any mail client. So I was thinking of some rules.. unfortunately I am unable to use procmail due to some restrictions (also I never understood it properly). I am thinking of alternatives like writing a script in perl to read /var/mail/mymailqueue using MailTools or MIME and process it... pretty hard!