Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-01-2017, 11:56 AM   #1
LQ Newbie
Registered: Jun 2017
Posts: 1

Rep: Reputation: Disabled
Unhappy Linux: mailx command issue, mails getting stuck in mailq

Hello People,

I am trying to send the email from our Linux server using mailx command, and mail are not going through its getting stucked in mailq.
when i checked the logs I got below error.
I checked connectivity and saw we dont have any is there a way i could change the dns mentioned below in erro log to the one i want to use.
I have used this mailx command from multiple other servers as well all in same domain, but i didn't find any error over those server as mails are going through properly. just curious as I didnt do any specific settings on these server where its working but couldn't understand why its not working on this server. I just installed mailx here as it was not present thats it.

Error Log file name- maillog
postfix/smtp[8346]: connect to[XXX.XX.XXX.XX]:25: Connection timed out
Old 06-01-2017, 03:11 PM   #2
Registered: Dec 2008
Location: Newark Ohio
Distribution: Fedora Core
Posts: 270

Rep: Reputation: 37
Test if you can telnet to the server that times out on the ip with port 25 and get a connection.


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
How to send mails using HTML format with mailx client ? shivaa Linux - Newbie 1 02-23-2013 02:04 AM
Set default return address for all mails sent from mailx thesunlover Linux - Networking 1 11-13-2012 07:12 AM
sending mails in script using mailx fails kais1 Linux - Newbie 2 07-26-2009 11:40 PM
How can I deliver mails which hold in mailq? combilli Linux - Server 1 06-23-2007 02:52 AM
outgoing mails are defered in mailq nayagam Linux - General 1 11-15-2002 08:51 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration