Hmm, Nope, did not leave expecting code to be fixed, first of all, I did not show you all the code, I was just wondering if someone knows how to do what I'm trying, and can see a BLATANT problem, that just stands out, maybe they possibly had the same problem, and know what caused it.

That is why I came here, not for someone to fix it, but for some advice.

So, with that said, here is my reply to your comments, that I do appreciate you giving:

>More comments in the code.
Ok, I'll try to work on doing that before I ever post anything.

>Which parts of the code are producing the error messages?
I don't know, I don't get any error message, EXCEPT the email being returned with this message:
pipe to |/home/user/main_files/email.pl generated by registration@domain.com local delivery failed
That is the ONLY error I get. Nothing in the logs, and so forth.

>What has been tried that should work but didn't?
Sending an email that gets piped to the script, which appears to not even be getting ran. It's almost like it errors before the script even executes. I even added a
open(FILE,">>test.txt") or die "Could not open Test: $!"; print FILE "Got to line xx"; close(FILE);
But test.txt was never created, almost like the script NEVER ran.
I checked the directory permissions.
I checked the Script permissions.
I checked the syntax in Shell: (perl -c email.pl)

I could find NO Problem.

I'm going to try a few things, to clean up the code, but I don't think it will help.

thx,
Richard

In reply to Re: email parsing by powerhouse
in thread email parsing by powerhouse

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.