LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-22-2015, 12:11 PM   #1
A Gallina
LQ Newbie
 
Registered: Apr 2004
Posts: 25

Rep: Reputation: 0
SMTP issue


syslog shows this

Code:
Mar 22 04:09:19 zina-desktop nullmailer[3438]: Sending failed:  Host not found
Mar 22 04:09:19 zina-desktop nullmailer[3438]: Starting delivery: protocol: smtp host: mail. file: 1425777002.24628
Mar 22 04:09:19 zina-desktop nullmailer[3438]: Starting delivery, 50314 message(s) in queue.
Mar 22 04:09:20 zina-desktop nullmailer[8231]: smtp: Failed: Connect failed
Mar 22 04:09:20 zina-desktop nullmailer[3438]: Sending failed:  Host not found
Mar 22 04:09:20 zina-desktop nullmailer[3438]: Starting delivery: protocol: smtp host: mail. file: 1418550003.17610
Mar 22 04:09:20 zina-desktop nullmailer[3438]: Starting delivery, 50314 message(s) in queue.
Mar 22 04:09:21 zina-desktop nullmailer[8262]: smtp: Failed: Connect failed
Mar 22 04:09:21 zina-desktop nullmailer[3438]: Sending failed:  Host not found
Mar 22 04:09:21 zina-desktop nullmailer[3438]: Starting delivery: protocol: smtp host: mail. file: 1412135402.15577
Mar 22 04:09:21 zina-desktop nullmailer[3438]: Starting delivery, 50314 message(s) in queue.
Mar 22 04:09:22 zina-desktop nullmailer[8287]: smtp: Failed: Connect failed
Mar 22 04:09:22 zina-desktop nullmailer[3438]: Sending failed:  Host not found
Mar 22 04:09:22 zina-desktop nullmailer[3438]: Starting delivery: protocol: smtp host: mail. file: 1418882401.23334
Mar 22 04:09:22 zina-desktop nullmailer[3438]: Starting delivery, 50314 message(s) in queue.
Mar 22 04:09:23 zina-desktop nullmailer[8292]: smtp: Failed: Connect failed
Mar 22 04:09:23 zina-desktop nullmailer[3438]: Sending failed:  Host not found
Mar 22 04:09:23 zina-desktop nullmailer[3438]: Starting delivery: protocol: smtp host: mail. file: 1412206203.10915
Mar 22 04:09:23 zina-desktop nullmailer[3438]: Starting delivery, 50314 message(s) in queue.
Mar 22 04:09:24 zina-desktop nullmailer[8300]: smtp: Failed: Connect failed
Mar 22 04:09:24 zina-desktop nullmailer[3438]: Sending failed:  Host not found
Mar 22 04:09:24 zina-desktop nullmailer[3438]: Starting delivery: protocol: smtp host: mail. file: 1413310803.12235
Mar 22 04:09:24 zina-desktop nullmailer[3438]: Starting delivery, 50314 message(s) in queue.
Mar 22 04:09:26 zina-desktop nullmailer[8301]: smtp: Failed: Connect failed
Mar 22 04:09:26 zina-desktop nullmailer[3438]: Sending failed:  Host not found
Mar 22 04:09:26 zina-desktop nullmailer[3438]: Starting delivery: protocol: smtp host: mail. file: 1422907502.6975
Mar 22 04:09:26 zina-desktop nullmailer[3438]: Starting delivery, 50314 message(s) in queue.
Mar 22 04:09:26 zina-desktop nullmailer[8302]: smtp: Failed: Connect failed
Mar 22 04:09:26 zina-desktop nullmailer[3438]: Sending failed:  Host not found
Mar 22 04:09:26 zina-desktop nullmailer[3438]: Starting delivery: protocol: smtp host: mail. file: 1421896201.8439
Mar 22 04:09:26 zina-desktop nullmailer[3438]: Starting delivery, 50314 message(s) in queue.
Mar 22 04:09:27 zina-desktop nullmailer[8303]: smtp: Failed: Connect failed
Mar 22 04:09:27 zina-desktop nullmailer[3438]: Sending failed:  Host not found
I would really like to be able to stop the mail problem. (..) Let me know if you see anything here. Or what my next step would be please. And thank you for taking the time to look at this.

Last edited by unSpawn; 03-26-2015 at 01:33 AM. Reason: //Pruned from threadid=4175537418
 
Old 03-27-2015, 06:48 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,922

Rep: Reputation: 2816Reputation: 2816Reputation: 2816Reputation: 2816Reputation: 2816Reputation: 2816Reputation: 2816Reputation: 2816Reputation: 2816Reputation: 2816Reputation: 2816
Mail

My there is a LOT to look at here.

How is your MTA set? Is it using a SMARTHOST or attempting to send directly?
Is your network set right on this box, can it ping all remote hosts needed for the connection?
Is the receiving or relay resolving right on this box (that log indication that it cannot FIND the host should make you THINK!)

On the mail host or relay (assuming you control it) have you checked that it allows SMTP from this host or network? Is that listener up, and can you connect to it successfully from your local server?
 
1 members found this post helpful.
Old 03-27-2015, 08:24 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,580
Blog Entries: 28

Rep: Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218
Additional questions:

What are you using for you mail transport agent (MTA) for smtp. Also, are you using an internal (within your own network) or external (say, at an ISP or hosting provider) smtp server?

On first guess, it looks like the address for the outgoing SMTP server might misconfigured in your MTA configuration.
 
1 members found this post helpful.
Old 03-28-2015, 03:45 AM   #4
A Gallina
LQ Newbie
 
Registered: Apr 2004
Posts: 25

Original Poster
Rep: Reputation: 0
Thank you this was pruned(CUT FROM) here. LINK
Quote:
...and in addition to what yancek wrote about eliminating errors: the fact that Snort or Barnyard2 are not showing errors does not mean there aren't any. Snort requires configuration and a rule set, the result of which you can pre-flight check using the "-T" switch: see 'man snort'. And if you're using Barnyard2 ensure your configuration is correct. Note you can use multiple output plugins so testing with syslog additionally will tell if there's any alerts logged.
And was a responce to unSpawns sugestion to test the output of the barnyard2 spooler to syslog.

So with this mail issue that I wasnt ready to address. Originaly I was just trying to get it(mail) functioning to get tripwire mail from root to the user etc. I would like to eventualy figure out how to use a free DNS redirect service for e-mail. I used to set the MTA through Google when it was free. So that I could send firewall logs etc to D-Shield.
 
Old 03-28-2015, 09:31 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,580
Blog Entries: 28

Rep: Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218
Frankly, I don't follow you, mostly because I think your post is too compressed for me. In other words, I suspect that there's detail omitted from your post that might seem obvious to you, but is not obvious to me.

Email is one of the most complicated internet things.

It has lots of moving parts. At the risk of blowing my own horn, I'm going to point you towards my recent podcast at HPR on using Mutt for email; I think you will find the links in the shownotes useful in understanding the big picture of email, and that in turn will help you frame your question with the relevant details.

Last edited by frankbell; 03-28-2015 at 09:33 PM.
 
1 members found this post helpful.
  


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
SMTP newbie queries: #< #5.3.5 SMTP; 553 5.3.5 system config error> #SMTP# LYC Linux - Newbie 0 12-04-2014 12:45 AM
[SOLVED] SMTP issue fernfrancis Linux - Server 3 11-18-2014 09:35 AM
smtp issue thirstonlinux Linux - Newbie 3 07-21-2014 07:48 PM
smtp issue fernfrancis Linux - Newbie 4 09-15-2010 06:22 AM
smtp issue metallica1973 Linux - Networking 11 08-13-2006 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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