LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-02-2009, 02:30 AM   #16
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 436

Original Poster
Rep: Reputation: 30

Messages send from Telnet ok:

Code:
dave@Gimli:~ $ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 Gimli.example.co.za ESMTP Sendmail 8.14.3/8.14.3/Debian-6; Mon, 2 Nov 2009 10:23:35 +0200; (No UCE/UBE) logging access from: localhost(OK)-localhost [127.0.0.1]
HELO localhost
250 Gimli.example.co.za Hello localhost [127.0.0.1], pleased to meet you
MAIL FROM:davec@example.co.za
250 2.1.0 davec@example.co.za... Sender ok
RCPT To:cov@yahoo.com
250 2.1.5 cov@yahoo.com... Recipient ok
DATA
354 Enter mail, end with "." on a line by itself
SUBJECT: 'nother test
doing it again.
.
250 2.0.0 nA28NZVd005874 Message accepted for delivery
quit
221 2.0.0 Gimli.example.co.za closing connection
Connection closed by foreign host.
dave@Gimli:~ $ cat /var/log/mail.log 

Nov  2 10:25:16 Gimli sm-mta[5874]: nA28NZVd005874: from=davec@example.co.za, size=38, class=0, nrcpts=1, msgid=<200911020824.nA28NZVd005874@Gimli.example.co.za>, proto=SMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Nov  2 10:25:25 Gimli sm-mta[5903]: nA28NZVd005874: to=cov@yahoo.com, delay=00:00:50, xdelay=00:00:09, mailer=esmtp, pri=120038, relay=a.mx.mail.yahoo.com. [67.195.168.31], dsn=2.0.0, stat=Sent (ok dirdel)
 
Old 11-02-2009, 03:03 AM   #17
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,
Quote:
Nov 2 05:55:01 Gimli sendmail[13476]: nA23t071013476: Authentication-Warning: Gimli.example.co.za: dave set sender to davec@example using -f
Nov 2 05:55:03 Gimli sendmail[13476]: nA23t071013476: from=davec@example, size=335, class=0, nrcpts=1, msgid=<1257134100.13415.0.camel@Gimli>, relay=dave@localhost
Nov 2 05:55:07 Gimli sendmail[13476]: nA23t071013476: to=cov@yahoo.com, ctladdr=davec@example (1000/1000), delay=00:00:07, xdelay=00:00:04, mailer=relay, pri=30335, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection timed out with [127.0.0.1]
It looks like Evolution tries to deliver the mail to localhost and somehow it times out. Try to use the IP address of your mail server, instead of localhost and see if it helps.
BTW, as sendmail works from telnet, remove the changes in /etc/mail/access and/or sendmail.cf as they had nothing to do with sendmail itself
 
Old 11-02-2009, 04:22 AM   #18
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 436

Original Poster
Rep: Reputation: 30
Got this sent to the root mailbox:
Code:
cat /var/spool/mail/root |more
From MAILER-DAEMON  Mon Nov  2 10:09:14 2009
Return-Path: <MAILER-DAEMON>
Received: from localhost (localhost)
	by Gimli.example.co.za (8.14.3/8.14.3/Debian-6) id nA289Djq003777;
	Mon, 2 Nov 2009 10:09:13 +0200
Date: Mon, 2 Nov 2009 10:09:13 +0200
From: Mail Delivery Subsystem <MAILER-DAEMON>
Message-Id: <200911020809.nA289Djq003777@Gimli.example.co.za>
To: postmaster
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
	boundary="nA289Djq003777.1257149353/Gimli.example.co.za"
Subject: Postmaster notify: see transcript for details
Auto-Submitted: auto-generated (postmaster-notification)

This is a MIME-encapsulated message

--nA289Djq003777.1257149353/Gimli.example.co.za

The original message was received at Mon, 2 Nov 2009 10:09:11 +0200
from localhost [127.0.0.1]

   ----- The following addresses had permanent fatal errors -----
<davec@example>
    (reason: 550 Host unknown)

   ----- Transcript of session follows -----
550 5.1.2 <davec@example>... Host unknown (Name server: example: host not foun
d)

--nA289Djq003777.1257149353/Gimli.example.co.za
Content-Type: message/delivery-status

Reporting-MTA: dns; Gimli.example.co.za
Received-From-MTA: DNS; localhost
Arrival-Date: Mon, 2 Nov 2009 10:09:11 +0200

Final-Recipient: RFC822; davec@example
Action: failed
Status: 5.1.2
Remote-MTA: DNS; example
Diagnostic-Code: SMTP; 550 Host unknown
Last-Attempt-Date: Mon, 2 Nov 2009 10:09:13 +0200

--nA289Djq003777.1257149353/Gimli.example.co.za
Content-Type: text/rfc822-headers
Return-Path: <>
Received: from Gimli.example.co.za (localhost [127.0.0.1])
	by Gimli.example.co.za (8.14.3/8.14.3/Debian-6) with ESMTP id nA289Ajq0
03691
	for <davec@example>; Mon, 2 Nov 2009 10:09:11 +0200
Received: from localhost (localhost)
	by Gimli.example.co.za (8.14.3/8.14.3/Submit) id nA27e1dS010940;
	Mon, 2 Nov 2009 09:58:58 +0200
Date: Mon, 2 Nov 2009 09:58:58 +0200
From: Mail Delivery Subsystem <MAILER-DAEMON@Gimli.example.co.za>
Message-Id: <200911020758.nA27e1dS010940@Gimli.example.co.za>
To: davec@example
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
	boundary="nA27e1dS010940.1257148738/Gimli.example.co.za"
Subject: Warning: could not send message for past 4 hours
Auto-Submitted: auto-generated (warning-timeout)

--nA289Djq003777.1257149353/Gimli.example.co.za--

From MAILER-DAEMON  Mon Nov  2 10:09:15 2009
Return-Path: <MAILER-DAEMON>
Received: from localhost (localhost)
	by Gimli.example.co.za (8.14.3/8.14.3/Debian-6) id nA289Ejq003779;
	Mon, 2 Nov 2009 10:09:14 +0200
Date: Mon, 2 Nov 2009 10:09:14 +0200
From: Mail Delivery Subsystem <MAILER-DAEMON>
Message-Id: <200911020809.nA289Ejq003779@Gimli.example.co.za>
To: postmaster
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
	boundary="nA289Ejq003779.1257149354/Gimli.example.co.za"
Subject: Postmaster notify: see transcript for details
Auto-Submitted: auto-generated (postmaster-notification)

This is a MIME-encapsulated message

--nA289Ejq003779.1257149354/Gimli.example.co.za

The original message was received at Mon, 2 Nov 2009 10:09:12 +0200
from localhost [127.0.0.1]

   ----- The following addresses had permanent fatal errors -----
<davec@example>
    (reason: 550 Host unknown)
There's more....
 
Old 11-02-2009, 04:39 AM   #19
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
I don't see why it fails to deliver to yahoo. But it tries to nofiy you for the failure to davec@example and it fails again (as you don't have a valid domain name after the @), so it notifies postmaster about the 2nd failure.
You should read more on how to configure Evolution, or try a different mail client, like Thunderbird.
 
Old 11-02-2009, 04:57 AM   #20
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 436

Original Poster
Rep: Reputation: 30
Well, it's clearly something to do with Evolution because it sends from the telnet localhost.

In point of fact, the message is sitting in the outbox whereas previously it was being removed to the 'sent' folder.

I must admit, I was never a big fan of Evolution when I first tried it 6 or 7 years ago; it was always a bit flakey in spite of it's professional look. The problem is that some guys I am doing work for want a specific look to any email I send out on their behalf and also they want integration with their Outlook Calendars, etc. something Evolution manges quite well.
 
Old 11-02-2009, 05:23 AM   #21
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Check the configuration to see where have you used davec@example and change it accordingly (just to receive direclty the failure notices). Maybe you can uncheck the "Server Rquires Authentication" as you can send from sendmail without authentication.
I'm afraid cannot help you more on this as I have never used Evolution as mail client.

Regards
 
Old 11-02-2009, 05:56 AM   #22
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 436

Original Poster
Rep: Reputation: 30
Thanks.

It's working now.

The dave@example (without the co.za tld) was set as the account email address. Not sure how that happened as I was sending email (although not receving them) earlier.

Anyway, it's working now.

Thanks again,

Dave Coventry
 
  


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 with evolution problem shivanrathore Linux - Server 4 05-16-2008 01:48 PM
Difference between Sendmail and Evolution ? paragkalra Linux - Software 1 08-26-2007 01:46 AM
evolution sendmail problem christer Linux - Software 13 09-07-2004 03:19 AM
Evolution and sendmail devinWhalen Linux - Software 1 04-15-2003 12:02 AM
RH8.0 Evolution or Sendmail GtkUser Linux - Software 1 11-08-2002 03:02 AM

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

All times are GMT -5. The time now is 06:29 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
Open Source Consulting | Domain Registration