Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: email parsing

by powerhouse (Friar)
on Oct 18, 2003 at 03:43 UTC ( [id://300230]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: email parsing
in thread email parsing

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

Replies are listed 'Best First'.
Re: Re: email parsing
by vek (Prior) on Oct 18, 2003 at 04:28 UTC

    You could try piping an email to your script from the command line manually. If it works you can safely assume that your script is not the cause of the problem.

    cat some_email_file | /path-to/your_script.pl

    If that does work then you'll probably have to find out exactly what that Cpanel thingamajig is doing.

    -- vek --

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-13 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found