Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: email parsing

by mandog (Curate)
on Oct 17, 2003 at 23:47 UTC ( [id://300201]=note: print w/replies, xml ) Need Help??


in reply to email parsing

How are you piping the email to the script?

If you were using postfix to recieve your email, I would say that you were attempting to send mail to a pipe from inside  /etc/postfix/virtual This can't be done. Guessing wildly you need to do your piping in your alias file and send your mail to the alias.

Replies are listed 'Best First'.
Re: Re: email parsing
by powerhouse (Friar) on Oct 18, 2003 at 00:11 UTC
    Well, I am on a Cpanel Machine, I'm using the forward an email feature to PIPE it to the script. It works for my HelpDesk Application.

    I simply enter the email I want the forwarder on, and put the forward to as:
    |/home/user/main_files/email.pl
    That "forward" puts it in the valiases for the domain name.

    thx,
    Richard

      Well, I am on a Cpanel Machine, I'm using the forward an email feature to PIPE it to the script. It works for my HelpDesk Application.

      What does "I'm using the forward an email feature" mean? Do you mean a *nix .forward file? If not, a quick explanation of what the "forward an email feature" is and what it actually does would be, er, helpful don't you think?

      -- vek --
        I'm sorry. What I mean is that Cpanel is a web interface that gives just about complete control over the domain.

        In the email manager, there is a forward feature, which bascially just allows you to enter a forwarding address for a chosen email address.

        You can tell the form what email you want to forward from your domain name, and enter a forwarding address. You can also choose to pipe it to a script, by entering the pipe and path: |/path/to/script.pl instead of an email address.

        Either way, Cpanel, the software that manages the server, puts that entry into your /etc/valiases/domain file.
        Such as this:
        It adds a line such as this:
        email_addy_to_forward@domain.com: |/home/path/to/script.pl
        or:
        email_addy_to_forward@domain.com: myotheremail@domain.net
        Whatever you enter into the form in your control panel(cpanel).
        thx,
        Richard

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-03-19 07:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found