Hi All,

I need to execute my code when I receive email on my postfix smtp server.

Sorry I couldn't understand what Wietse said:
You can pipe-to-command with ~/.forward (see "man 5 aliases") and with the 
pipe(8) delivery agent (see "man 8 pipe"). 

Can anybody tell me what I can do if I want to execute my java function when I 
receive email.
Also I need my whole email content in my java function.

It will be great if anyone can show me some examples.

Many Thanks,
Sumit Arora



----------------------

My Reply


You can add another email address to the aliases file if you are running just 
straight postfix with no modifications like so:

root: u...@somehost.com

that would forward roots email to u...@somehost.com

Thanks,
Daniel



      

Reply via email to