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 04-19-2010, 02:29 AM   #1
abakhiet
Member
 
Registered: Apr 2010
Location: Assiut, Egypt
Posts: 166

Rep: Reputation: 15
Cool Sendmail Queues


hola,
i need to ask about my sendmail that is driving me to crazy, all mails i sent from my domain to the out world goes into its Quesues and not sent yet
it receives all messages from the out world, i need some posts that help me in the configuration
 
Old 04-19-2010, 03:12 AM   #2
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,

Maybe your isp does not allow you use your mail server to send emails. To check if that's the case try to telnet gmail on port 25:
Code:
telnet smtp.gmail.com 25
If you don't succeed you have to use your isp mail server as a smarthost for your sendmail server.

Regards

Last edited by bathory; 04-19-2010 at 03:17 AM.
 
1 members found this post helpful.
Old 04-19-2010, 03:45 AM   #3
huwnet
Member
 
Registered: Jan 2006
Location: England
Distribution: Arch
Posts: 119

Rep: Reputation: Disabled
What do the sendmail logs say?
 
1 members found this post helpful.
Old 04-19-2010, 10:41 AM   #4
abakhiet
Member
 
Registered: Apr 2010
Location: Assiut, Egypt
Posts: 166

Original Poster
Rep: Reputation: 15
Smile no, i have my domain

Thanks for your replays,
Quote:
Originally Posted by bathory View Post
Hi,

Maybe your isp does not allow you use your mail server to send emails. To check if that's the case try to telnet gmail on port 25:
Code:
telnet smtp.gmail.com 25
If you don't succeed you have to use your isp mail server as a smarthost for your sendmail server.

Regards
but really i need to tell you that i have my domain which is xxx.info and i need to introduce mail service from it ...
so about that test i make
Code:
telnet localhost 25
ehlo localhost
and the result is
Code:
[root@abakhiet ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 My Domain name ESMTP Sendmail 8.13.8/8.13.8; Mon, 19 Apr 2010 17:39:39 +0200
ehlo localhost
250-My Domain name Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
250-DELIVERBY
250 HELP
so what i can do ???
 
Old 04-19-2010, 12:08 PM   #5
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
You didn't understand what I've told you. You need to use telnet to an external mail server just to check if your ISP blocks you from sending emails.
You server works, since you can receive mail.
You can look in /var/log/maillog as already been told by huwnet, or run
Code:
mailq -v
mailq -Ac -v
to check the mail stuck in the queues.
 
1 members found this post helpful.
Old 04-20-2010, 01:41 AM   #6
abakhiet
Member
 
Registered: Apr 2010
Location: Assiut, Egypt
Posts: 166

Original Poster
Rep: Reputation: 15
Thanks for your reply, i make your commands and here is the output

Quote:
[root@abakhiet ~]# mailq -v
/var/spool/mqueue (2 requests)
-----Q-ID----- --Size-- -Priority- ---Q-Time--- --------Sender/Recipient--------
o3J7Qp2o005888* 1 2190414+Apr 19 09:26 <abakhiet@MyDomain.info>
(Deferred: Connection timed out with f.mx.mail.yahoo.com.)
<eebng_1422@yahoo.com>
(Deferred: Connection timed out with f.mx.mail.yahoo.com.)
o3J7NRHn005835 1 2280420+Apr 19 09:23 <abakhiet@MyDomain.info>
(Deferred: Connection timed out with d.mx.mail.yahoo.com.)
<eebng_1422@yahoo.com>
(Deferred: Connection timed out with d.mx.mail.yahoo.com.)
Total requests: 2
and the second command its output is

Quote:
root@abakhiet ~]# mailq -Ac -v
/var/spool/clientmqueue is empty
Total requests: 0
please help me solving it....

Last edited by abakhiet; 04-20-2010 at 01:42 AM.
 
Old 04-20-2010, 02:03 AM   #7
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
That means that you cannot reach gmail somehow.
As I've already told you, most likely your ISP does not allow you to send mail (many ISPs do so).
Try to use your ISP's mail server as a smart host and see if it works. Or else you should contact them about this

Regards
 
1 members found this post helpful.
Old 04-24-2010, 11:39 AM   #8
abakhiet
Member
 
Registered: Apr 2010
Location: Assiut, Egypt
Posts: 166

Original Poster
Rep: Reputation: 15
hola, my friends,
i call my ISP and talk to him about my problem and he told me that
Quote:
you need to change your outgoing mail server to be: ISP Domain which requires authentication (using your mail account with ISP Code) You can send with your outgoing mail server through port 587.
so, i need to ask about where is the parameters to put these things in Postfix ???
i need to put some outgioing domain, its port and its Authentication code
 
Old 04-24-2010, 12:50 PM   #9
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,

Is it postfix or sendmail as in your thread's title?
Anyway for sendmail to use a smarthost with authentication on port 587, you can use the instructions here.
For postfix the onlysimple I've found is this. Note the #4 note about using a different port of the relay host

Regards
 
1 members found this post helpful.
  


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
POSIX Queues with message type facility of System V queues ehsan_haq98@yahoo.com Programming 2 12-27-2009 11:45 AM
POSIX message queues(Solaris) to SYS V message queues(Linux) devershetty Programming 1 01-22-2007 10:15 AM
Message Queues naga_presin Linux - Networking 1 05-20-2006 03:26 PM
Printer Queues Risc91 AIX 6 02-15-2005 12:43 PM
Message Queues BoldKiller Programming 1 05-28-2003 05:40 PM

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

All times are GMT -5. The time now is 12:52 PM.

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