LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-20-2008, 02:59 PM   #1
the1sephiroth
Member
 
Registered: Oct 2005
Location: east coast
Distribution: Ubuntu
Posts: 131

Rep: Reputation: 15
Sendmail not sending


I have a drupal site set up on a debian box here. I followed instructions as closely as I could on how to set up a sendmail server. All I need it for is for drupal to be able to send emails, I do not need it to receive at all.
This is an error email that is in the /var/spool/mqueue/


qfm5KJuMOU028740
Code:
V8
T1213991782
K1213991782
N1
P33191
I8/1/556735
MOperating system error
Fbs
$_www-data@localhost.localdomain [127.0.0.1]
$rESMTP
$sintranet.thrashereng.com
${daemon_flags}EE
${if_addr}127.0.0.1
S<>
MOperating system error
rRFC822; www-data@intranet.thrashereng.com
RPFD:<www-data@intranet.thrashereng.com>
H?P?Return-Path: <<81>g>
H??Received: from intranet.thrashereng.com (www-data@localhost.localdomain [127.0.0.1])
        by intranet.thrashereng.com (8.13.8/8.13.8/Debian-3) with ESMTP id m5KJuMOU028740
        for <www-data@intranet.thrashereng.com>; Fri, 20 Jun 2008 15:56:22 -0400
H??Received: from localhost (localhost)
        by intranet.thrashereng.com (8.13.8/8.13.8/Submit) id m5KJuMTQ028739;
        Fri, 20 Jun 2008 15:56:22 -0400
H??Date: Fri, 20 Jun 2008 15:56:22 -0400
H??From: Mail Delivery Subsystem <MAILER-DAEMON@intranet.thrashereng.com>
H??Message-Id: <200806201956.m5KJuMTQ028739@intranet.thrashereng.com>
H??To: www-data@intranet.thrashereng.com
H??MIME-Version: 1.0
H??Content-Type: multipart/report; report-type=delivery-status;
        boundary="m5KJuMTQ028739.1213991782/intranet.thrashereng.com"
H??Subject: Returned mail: see transcript for details
H??Auto-Submitted: auto-generated (failure)
 
Old 06-23-2008, 10:53 AM   #2
the1sephiroth
Member
 
Registered: Oct 2005
Location: east coast
Distribution: Ubuntu
Posts: 131

Original Poster
Rep: Reputation: 15
I'm guessing it's a problem with the sendmail.mc file, but I'm not sure what else to try. I can post the file in order to try and help debug this problem
 
Old 06-23-2008, 11:22 AM   #3
the1sephiroth
Member
 
Registered: Oct 2005
Location: east coast
Distribution: Ubuntu
Posts: 131

Original Poster
Rep: Reputation: 15
I'm no longer getting operating system error

Quote:
MailID Sent From To Size Status
Quote:
qfm5KJCp8Q027920 Fri, 20 Jun 2008 15:12:51 -0400 info@thrashereng.com tjones@pentree.com 1.21 kB Deferred: Connection timed out with mail.thrashereng.com.
 
Old 06-23-2008, 05:05 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by the1sephiroth View Post
I followed instructions as closely as I could on how to set up a sendmail server.
Which instructions posted where?
Can you send e-mail on that system from one local user to another without problems?
Can you send e-mail from one user on that system to a user on another machine on your LAN without problems?


Quote:
Originally Posted by the1sephiroth View Post
H??Subject: Returned mail: see transcript for details
Sendmail queue items are really two parts. Where's the other part of the report and what does it say?
 
Old 06-24-2008, 08:50 AM   #5
the1sephiroth
Member
 
Registered: Oct 2005
Location: east coast
Distribution: Ubuntu
Posts: 131

Original Poster
Rep: Reputation: 15
http://aboutdebian.com has the instructions I followed

I was receiving emails from mysql so i'm assuming local users can send to each other.
Everyone that i want to send to is on the lan, but I have to send it to their domain (user@thrashereng.com) which resolves to an external address. Is there a way to fix this to email to the lan users ?
 
Old 06-24-2008, 12:28 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by the1sephiroth View Post
I was receiving emails from mysql so i'm assuming local users can send to each other.
You partially answered two out of four questions. Plus you should test things instead of assuming "it just works": you know what they say about assuming things. Looking back at the e-mail in your OP from "intranet.thrashereng.com", the reason why it's queued "MOperating system error" is not a resolver issue (like MDeferred:.*: No route to host) or route issue (like MDeferred: Connection refused) but the sender is empty: "S<>" and the return path looks weird as well: "H?P?Return-Path: <<81>g>". The error plus the "<81>" macro-like thingie makes it look like a configuration or permission error. If there's still messages in your /var/spool/mqueue (or wherever it is at), execute 'sendmail -O QueueDirectory=/var/spool/mqueue -q -v 2>&1' and post output. Maybe that'll yield something. If it doesn't you could post the steps and changes you performed to set up your mailserver.
 
  


Reply



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
Sendmail - not sending mail movitto Linux - Software 9 09-19-2014 03:23 AM
Sendmail not sending to internet wstclair Linux - General 1 03-21-2008 08:57 AM
Sendmail Issues - Sending ddzc Linux - Server 0 06-14-2007 02:08 PM
Sendmail not sending mail tarheel92x Linux - Server 8 10-27-2006 04:44 AM
sendmail not sending mail dtra Linux - Software 1 06-09-2005 07:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:00 PM.

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
Open Source Consulting | Domain Registration