LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-28-2008, 05:09 AM   #1
i_nomad
Member
 
Registered: Mar 2008
Distribution: RedHatES4
Posts: 144

Rep: Reputation: 15
Squirremail not sending mail


Hi

I have set up postfix with cyrus imap as well as Apache and squirrelmail.

Using port 80 I can send/recieve mail with no problem however when TLS is enabled I can log in but I am not able to send mail
Error: SERVER REPLIED appears

The maillog shows log and send attempt.

Aug 28 10:56:41 thaas01p1 imaps[5387]: starttls: TLSv1 with cipher AES256-SHA (256/256 bits new) no authentication
Aug 28 10:56:41 thaas01p1 imaps[5387]: login: localhost [127.0.0.1] pda plaintext+TLS User logged in
Aug 28 10:56:41 imaps[5387]: open: user pda opened INBOX.Drafts
Aug 28 10:56:41 last message repeated 2 times
Aug 28 10:56:55 master[3294]: process 5367 exited, status 0
Aug 28 10:56:55 master[3294]: process 5271 exited, status 0
Aug 28 10:56:55 master[3294]: process 5272 exited, status 0
Aug 28 10:56:55 master[3294]: process 5380 exited, status 0
Aug 28 10:56:56 master[3294]: process 5363 exited, status 0
Aug 28 10:56:56 master[3294]: process 5381 exited, status 0
Aug 28 10:56:56 master[3294]: process 5364 exited, status 0
Aug 28 10:57:35 master[3294]: process 5371 exited, status 0
Aug 28 10:57:41 master[3294]: process 5387 exited, status 0
Aug 28 10:57:41 master[5426]: about to exec /usr/lib64/cyrus-imapd/imapd
Aug 28 10:57:41 imaps[5426]: executed

conf.pl:

SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Server Settings

General
-------
1. Domain : XXX.com
2. Invert Time : false
3. Sendmail or SMTP : SMTP

SMTP Settings
-------------
4. SMTP Server : localhost
5. SMTP Port : 443
6. POP before SMTP : false
7. SMTP Authentication : none
8. Secure SMTP (TLS) : true
9. Header encryption key :

httpd.conf:

# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 80
Listen 443


ssl.conf:
# When we also provide SSL we have to listen to the
# standard HTTP port (see above) and to the HTTPS port
#
Listen 443

Can anyone point me in the right direction. My inkling is that may be to do with the ports??

Last edited by i_nomad; 08-28-2008 at 05:40 AM.
 
Old 08-28-2008, 09:25 AM   #2
i_nomad
Member
 
Registered: Mar 2008
Distribution: RedHatES4
Posts: 144

Original Poster
Rep: Reputation: 15
I have checked squirrelmail and they suggest port 465 for TLS http://www.squirrelmail.org/docs/adm...n-5.html#ss5.5
I have enabled this and now try to send mail and get the error:

Connection refused Server replied: 111 Can't open SMTP stream. http://squirrelmail.org/wiki/MailServerSMTPStream

I have also checked netstat -tan and port 465 is not listening
I have checked netstat -tap and I am not sure if there is a specific service that needs to listen for smpts/TLS traffic.

tcp 0 0 *:imaps *:* LISTEN 3294/cyrus-master
tcp 0 0 *op3s *:* LISTEN 3294/cyrus-master
tcp 0 0 *op3 *:* LISTEN 3294/cyrus-master
tcp 0 0 *:imap *:* LISTEN 3294/cyrus-master
tcp 0 0 *:sieve *:* LISTEN 3294/cyrus-master
tcp 0 0 *:ssh *:* LISTEN 3189/sshd
tcp 0 0 *:https *:* LISTEN 8411/httpd

Can someone help me please...

Regards
 
  


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
Squirrel Mail is not sending mail in INBOX MajazKhan Linux - Server 1 04-08-2007 06:57 AM
Postfix mail transfer agent not sending mail locally or to other servers sketelsen Linux - Software 3 02-09-2006 11:16 AM
Cron mail sending using outside SMTP mail server Utah Linux - Software 6 08-24-2005 07:44 PM
Sending mail through mail server. TheRealDeal Linux - Networking 0 09-06-2004 11:43 PM
Sending an automatic mail using bash + mail Minuteman Linux - Software 4 08-21-2003 12:49 PM

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

All times are GMT -5. The time now is 08:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration