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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-22-2015, 12:11 PM
|
#1
|
LQ Newbie
Registered: Apr 2004
Posts: 25
Rep:
|
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
|
|
|
03-27-2015, 06:48 AM
|
#2
|
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
|
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.
|
03-27-2015, 08:24 PM
|
#3
|
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
|
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.
|
03-28-2015, 03:45 AM
|
#4
|
LQ Newbie
Registered: Apr 2004
Posts: 25
Original Poster
Rep:
|
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.
|
|
|
03-28-2015, 09:31 PM
|
#5
|
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
|
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.
|
All times are GMT -5. The time now is 10:00 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|