Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Perl and Sendmail

by chas (Priest)
on Aug 13, 2005 at 12:28 UTC ( #483533=note: print w/ replies, xml ) Need Help??


in reply to Perl and Sendmail

On Linux, I use a .forward file of the form:

myusername |/home/myusername/bin/wmail.pl
My wmail.pl file has a line:
@text=<>;
and then I process the contents in various ways (e.g., filtering some messages, putting some in a file I can read in a web browser, etc.) Pretty rudimentary, but it works well for me.
chas
(Update-remark: The .forward file sends my emails to the usual spool via the first line, and then I can do anything else with it with the script. The first line could be omitted; I included it to have a backup file.)


Comment on Re: Perl and Sendmail
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://483533]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2015-07-04 11:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (59 votes), past polls