LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 11-06-2004, 05:40 PM   #1
calmbomb
LQ Newbie
 
Registered: Oct 2004
Posts: 9

Rep: Reputation: 0
Perl form wont send mail


Ok, I have always used the following script and it has never let me down.

I just set a server up with a full fresh install of fedora core 2 and I am able to send mail out using Evolution Email which is set to use sendmail as SMTP.

You'll notice that the form can be filled out and submitted without any errors. The problem is I never receive the email

I've gone through the perl script many times and don't see any mistakes. What could I possible of done wrong ?
 
Old 11-06-2004, 05:42 PM   #2
calmbomb
LQ Newbie
 
Registered: Oct 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Here's the Form: http://www.lewisspecialtyservice.com/
Here's the Perl Code: http://www.lewisspecialtyservice.com/linkexchange.txt
 
Old 11-06-2004, 08:45 PM   #3
calmbomb
LQ Newbie
 
Registered: Oct 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Can someone explain to me what this data format error means ?

Nov 6 20:41:28 reviews sendmail[3422]: iA71fR9i003420: to=<calmlikeabomb@cfl.rr.com>, ctladdr=<apache@reviews.product-research.us> (48/48), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30805, relay=flmx-2.tampabay.rr.com. [65.32.1.38], dsn=5.6.0, stat=Data format error
Nov 6 20:41:28 reviews sendmail[3422]: iA71fR9i003420: iA71fS9i003422: DSN: Data format error
Nov 6 20:41:28 reviews sendmail[3422]: iA71fS9i003422: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31829, dsn=2.0.0, stat=Sent
 
Old 11-06-2004, 09:38 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,158

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
Check root's mail -- it looks like a notice of the error, which may contain more helpful details, was sent to root.
 
Old 11-07-2004, 11:08 AM   #5
calmbomb
LQ Newbie
 
Registered: Oct 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Here is what was in my mail. Any suggestions as to how I can fix this ?

From MAILER-DAEMON@reviews.product-research.us Sun Nov 7 11:05:13 2004
Date: Sun, 7 Nov 2004 11:05:13 -0500
From: Mail Delivery Subsystem <MAILER-DAEMON@reviews.product-research.us>
To: <apache@reviews.product-research.us>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="iA7G5Dwe011282.1099843513/reviews.product-research.us"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)

This is a MIME-encapsulated message

--iA7G5Dwe011282.1099843513/reviews.product-research.us

The original message was received at Sun, 7 Nov 2004 11:05:10 -0500
from localhost.localdomain [127.0.0.1]

----- The following addresses had permanent fatal errors -----
<calmlikeabomb@cfl.rr.com>
(reason: 553 5.1.8 <apache@reviews.product-research.us>... Domain of sender address apache@reviews.product-research.us does not exist)

----- Transcript of session follows -----
... while talking to flmx-1.tampabay.rr.com.:
>>> MAIL From:<apache@reviews.product-research.us> SIZE=808
<<< 553 5.1.8 <apache@reviews.product-research.us>... Domain of sender address apache@reviews.product-research.us does not exist
501 5.6.0 Data format error

--iA7G5Dwe011282.1099843513/reviews.product-research.us
Content-Type: message/delivery-status

Reporting-MTA: dns; reviews.product-research.us
Received-From-MTA: DNS; localhost.localdomain
Arrival-Date: Sun, 7 Nov 2004 11:05:10 -0500

Final-Recipient: RFC822; calmlikeabomb@cfl.rr.com
Action: failed
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
perl send mail code pragti Programming 2 03-17-2006 06:48 PM
Send Mail with Perl Cool_Hand_Luke Programming 2 03-14-2005 10:59 AM
Qmail wont send mail to some addresses The_Nerd Linux - Software 5 01-03-2005 07:40 PM
howto send a mail with attachment via perl script ? cccc Programming 24 03-05-2004 08:49 PM
I'm looking for a simply perl script to send mail, when ping down cccc Programming 2 01-12-2004 05:36 AM


All times are GMT -5. The time now is 08:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration