LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-11-2012, 02:52 PM   #1
modem7
LQ Newbie
 
Registered: Nov 2012
Posts: 3

Rep: Reputation: Disabled
Sendmail woes.


Hey guys,

Got a bit of a problem with sendmail.

It was working a couple of weeks ago, but as it always is with linux newbies, I must have screwed with something I shouldn't have done.

What is happening:
Quote:
Nov 11 09:29:02 AlexServer sendmail[13067]: qAB7T9XX002559: to=<modem7@gmail.com>, delay=01:59:53, xdelay=00:00:00, mailer=relay, pri=300399, relay=hda.home.com., dsn=4.0.0, stat=Deferred: Connection refused by hda.home.com.
What should be happening:
Quote:
Oct 28 01:03:44 AlexServer sendmail[30039]: q9S03iSp030039: to=modem7@gmail.com, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30136, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 5FB71A07BE)

If I try: mail -s Test modem7@gmail.com < /dev/null I get:

Quote:
Nov 11 20:53:24 AlexServer sendmail[10942]: qABKrKtI010942: from=alex, size=220, class=0, nrcpts=1, msgid=<201211112053.qABKrKtI010942@AlexServer>, relay=root@localhost
Nov 11 20:53:28 AlexServer sendmail[10945]: qABKrRUo010945: from=<alex@AlexServer>, size=448, class=0, nrcpts=1, msgid=<201211112053.qABKrKtI010942@AlexServer>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Nov 11 20:53:28 AlexServer sendmail[10947]: qABKrRUo010945: to=<modem7@gmail.com>, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=120448, relay=hda.home.com. [192.168.1.254], dsn=4.0.0, stat=Deferred: Connection refused by hda.home.com.
Nov 11 20:53:28 AlexServer sendmail[10942]: qABKrKtI010942: to=modem7@gmail.com, ctladdr=alex (501/100), delay=00:00:08, xdelay=00:00:01, mailer=relay, pri=30220, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (qABKrRUo010945 Message accepted for delivery)

I've googled as much as I can, but I'm honestly at a loss.

Currently using Fedora.

Any help for a poor ol' noob?

Last edited by modem7; 11-11-2012 at 02:55 PM.
 
Old 11-11-2012, 03:55 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Sendmail has lots of configuration options that can cause problems if set incorrectly. For example, are your own IP addresses allowed in the access database?
Code:
localhost.localdomain   RELAY
localhost               RELAY
Connect:127.0.0.1       RELAY
Connect:192.168.0       RELAY
also have you set up secure auth and is your email client using it? What spam databases are you filtering on?
 
Old 11-11-2012, 04:19 PM   #3
modem7
LQ Newbie
 
Registered: Nov 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by smallpond View Post
Sendmail has lots of configuration options that can cause problems if set incorrectly. For example, are your own IP addresses allowed in the access database?
Code:
localhost.localdomain   RELAY
localhost               RELAY
Connect:127.0.0.1       RELAY
Connect:192.168.0       RELAY
also have you set up secure auth and is your email client using it? What spam databases are you filtering on?
Seems that my problem was with the smart hosts.

Replaced DSsmtp.aquiss.net with DS

Thanks though!
 
Old 11-12-2012, 02:16 PM   #4
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
Is this now solved? Your main clue is "relay=hda.home.com. [192.168.1.254]" which is either the wrong smarthost or you are getting there and being denied relaying.
 
Old 11-12-2012, 02:40 PM   #5
modem7
LQ Newbie
 
Registered: Nov 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by linosaurusroot View Post
Is this now solved? Your main clue is "relay=hda.home.com. [192.168.1.254]" which is either the wrong smarthost or you are getting there and being denied relaying.
Yup, now resolved. Not sure why it was trying to resolve via hda.home.com, as the smart host was smtp.aquiss.net. Either way, it seems to work now!
 
Old 11-12-2012, 02:56 PM   #6
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
You should be able to mark the thread as solved to stop new readers coming here (unless they have the same question).
 
  


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 woes krnlcrash Linux - Server 9 02-23-2007 12:37 PM
Sendmail woes caps_phisto Linux - Networking 4 12-30-2004 06:33 AM
sendmail woes dkw Linux - Networking 3 07-28-2004 03:40 AM
sendmail woes. nikhil93 Linux - General 2 03-29-2004 02:06 PM
Sendmail Woes! rkane Slackware 14 06-04-2003 07:14 PM

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

All times are GMT -5. The time now is 04:32 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