Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Ragnbull on January 30, 2003, 08:35:14 PM

Title: SMTPs NOT working over 5.6.
Post by: Ragnbull on January 30, 2003, 08:35:14 PM
I did the secure email process to 5.6 and the SMTPs is not working.  I can recieve mail over POP3s and IMAPs, but cannot send mail.  I got this working fine on 5.5.  Here is what I did:

Fresh 5.6 install then

These files were used:

cvm-0.11-1.i386.rpm
e-smith-cvm-unix-0.0.3-2dc.noarch.rpm
e-smith-imaps-sme5.6-0.0.3-1dc.noarch.rpm
e-smith-pop3s-sme5.6-0.0.3-1dc.noarch.rpm
e-smith-securemail-0.0.3-1dc.noarch.rpm
e-smith-ssmtp-sme5.6-0.0.3-1dc.noarch.rpm

History of commands:

rpm -Uvh --nodeps *.rpm
/sbin/e-smith/db configuration set cvm-unix service status enabled
/sbin/e-smith/signal-event email-update
/etc/init.d/cvm-unix start
/etc/init.d/smtpfront-qmail restart
/sbin/e-smith/db configuration set stunnel service status enabled access public
/sbin/e-smith/signal-event email-update
/sbin/e-smith/db configuration set imaps service status enabled access public
/etc/e-smith/events/actions/securemail-pem-cert
/sbin/e-smith/signal-event remoteaccess-update
/sbin/e-smith/signal-event email-update
/sbin/e-smith/db configuration set popds service status enabled access public
/etc/e-smith/events/actions/securemail-pem-cert
/sbin/e-smith/signal-event remoteaccess-update
/sbin/e-smith/signal-event email-update
/sbin/e-smith/db configuration set ssmtpfront-qmail service status enabled access public

/etc/e-smith/events/actions/securemail-pem-cert
/sbin/e-smith/signal-event email-update
/etc/init.d/ssmtpfront-qmail restart
reboot

Does anyone have any ideas?  Thanks...if not, I am going back to 5.5 so that outlook express can work.  Thanks in advance.
Title: Re: SMTPs NOT working over 5.6.
Post by: Damien Curtain on January 31, 2003, 12:26:51 AM
Ragnbull wrote:
>
> I did the secure email process to 5.6 and the SMTPs is not
> working.  I can recieve mail over POP3s and IMAPs, but cannot
> send mail.  I got this working fine on 5.5.  Here is what I
> did:
>
> Fresh 5.6 install then
>
> These files were used:
>
> cvm-0.11-1.i386.rpm
> e-smith-cvm-unix-0.0.3-2dc.noarch.rpm
> e-smith-imaps-sme5.6-0.0.3-1dc.noarch.rpm
> e-smith-pop3s-sme5.6-0.0.3-1dc.noarch.rpm
> e-smith-securemail-0.0.3-1dc.noarch.rpm
> e-smith-ssmtp-sme5.6-0.0.3-1dc.noarch.rpm

You should get

e-smith-cvm-unix-0.0.3-3dc.noarch.rpm and e-smith-securemail-0.0.3-2dc.noarch.rpm from http://www.pagefault.org/code/e-smith.shtml

While your there see the new method for enabling services, the below isn't used anymore.

> History of commands:
>
> rpm -Uvh --nodeps *.rpm
> /sbin/e-smith/db configuration set cvm-unix service status
> enabled
> /sbin/e-smith/signal-event email-update
> /etc/init.d/cvm-unix start
> /etc/init.d/smtpfront-qmail restart
> /sbin/e-smith/db configuration set stunnel service status
> enabled access public
> /sbin/e-smith/signal-event email-update
> /sbin/e-smith/db configuration set imaps service status
> enabled access public
> /etc/e-smith/events/actions/securemail-pem-cert
> /sbin/e-smith/signal-event remoteaccess-update
> /sbin/e-smith/signal-event email-update
> /sbin/e-smith/db configuration set popds service status
> enabled access public
> /etc/e-smith/events/actions/securemail-pem-cert
> /sbin/e-smith/signal-event remoteaccess-update
> /sbin/e-smith/signal-event email-update
> /sbin/e-smith/db configuration set ssmtpfront-qmail service
> status enabled access public
>
> /etc/e-smith/events/actions/securemail-pem-cert
> /sbin/e-smith/signal-event email-update
> /etc/init.d/ssmtpfront-qmail restart
> reboot
>
> Does anyone have any ideas?  Thanks...if not, I am going back
> to 5.5 so that outlook express can work.  Thanks in advance.

Its basicly imposible to assist 'NOT working' emails.

does ps -efa show ssmtpfront-qmail runnning?
what happens when you connect to port 465?
what does /var/log/ssmtpfront-qmail/current say when you try to connect to port 465?
does /sbin/iptables -L | grep ssmtp show an accept line?
does ps -efa showcvm-unix running?
does /var/service/ssmtpfront-qmail/env/CVM_SASL_LOGIN exist?
--
 Damien
Title: Re: SMTPs NOT working over 5.6.
Post by: dustin on March 27, 2003, 08:52:18 AM
Damien,
     I have the same problem. The IMAP and POP3 running on 993 and 995 both work fine.  However sSMTP on 465 does not seem to respond to requests. I have scanned that port internally and externally and nothing shows.  I am runing 5.6 with updates 2 installed.
I have done:
ps -efa | grep ssmtp
root       414   377  0 21:24 ?        00:00:00 supervise ssmtpfront-qmail
root      7015  3542  0 22:51 pts/0    00:00:00 grep ssmtp

/sbin/iptables -L | grep ssmtp
ACCEPT     tcp  --  anywhere             anywhere           tcp dpt:ssmtp
ACCEPT     tcp  --  anywhere             anywhere           tcp dpt:ssmtp

ps -efa | grep cvm-unix
root       416   377  0 21:24 ?        00:00:00 supervise cvm-unix
root      7248  3542  0 22:57 pts/0    00:00:00 grep cvm-unix

/var/service/ssmtpfront-qmail/env/CVM_SASL_LOGIN   DOES Exist

scanning show:
Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on localhost (127.0.0.1):
(The 1581 ports scanned but not shown below are in state: closed)
Port       State       Service
22/tcp     open        ssh                    
25/tcp     open        smtp                    
53/tcp     open        domain                  
80/tcp     open        http                    
110/tcp    open        pop-3                  
113/tcp    open        auth                    
139/tcp    open        netbios-ssn            
143/tcp    open        imap2                  
389/tcp    open        ldap                    
443/tcp    open        https                  
515/tcp    open        printer                
548/tcp    open        afpovertcp              
953/tcp    open        rndc                    
980/tcp    open        unknown                
981/tcp    open        unknown                
993/tcp    open        imaps                  
995/tcp    open        pop3s                  
1723/tcp   open        pptp                    
3128/tcp   open        squid-http              
3306/tcp   open        mysql

everything is enabled in the server-manager for public use.
It seems that the sSMTP service has not started.
Am I missing something here?
Any help would be greatly appreciated!
Title: Re: SMTPs NOT working over 5.6.
Post by: Harry on April 03, 2003, 04:59:24 AM
I am also experiancing difficulties with sending messages.

In response to Damien's questions:

>does ps -efa show ssmtpfront-qmail runnning?

[root@webincs root]# ps -efa | grep smtp
root       372   341  0 16:49 ?        00:00:00 supervise smtpfront-qmail
root       378   341  0 16:49 ?        00:00:00 supervise ssmtpfront-qmail
root     10199  5964  0 16:51 pts/0    00:00:00 grep smtp


>what happens when you connect to port 465?

I get a "socket error" message in outlook express


what does /var/log/ssmtpfront-qmail/current say when you try to connect to port 465?

[root@webincs ssmtpfront-qmail]# pwd
/var/log/ssmtpfront-qmail
[root@webincs ssmtpfront-qmail]# ls -la
total 8
drwxr-s---    2 qmaill   nofiles      4096 Apr  2 16:55 .
drwxr-xr-x   14 root     root         4096 Apr  2 16:49 ..
-rw-r--r--    1 qmaill   nofiles         0 Apr  2 15:54 current
-rw-------    1 qmaill   nofiles         0 Apr  2 15:54 lock
-rw-r--r--    1 qmaill   nofiles         0 Apr  2 15:54 state

it's at 0, there is nothing in there.

>does /sbin/iptables -L | grep ssmtp show an accept line?

No, nothing

>does ps -efa showcvm-unix running?

no, again comes up empty

>does /var/service/ssmtpfront-qmail/env/CVM_SASL_LOGIN exist?

Yes, it's there.


Thanks for any help I can get with this. I also need to configure Ralay to anywhere once a user is authenticated.

-harry
hincs@socal.rr.com
Title: Re: SMTPs NOT working over 5.6.
Post by: Damien Curtain on April 03, 2003, 05:32:17 AM
dustin wrote:
>
> Damien,
>      I have the same problem. The IMAP and POP3 running on
> 993 and 995 both work fine.  However sSMTP on 465 does not
> seem to respond to requests. I have scanned that port
> internally and externally and nothing shows.  I am runing 5.6
> with updates 2 installed.
> I have done:
> ps -efa | grep ssmtp
> root       414   377  0 21:24 ?        00:00:00 supervise
> ssmtpfront-qmail
> root      7015  3542  0 22:51 pts/0    00:00:00 grep ssmtp
>
> /sbin/iptables -L | grep ssmtp
> ACCEPT     tcp  --  anywhere             anywhere          
> tcp dpt:ssmtp
> ACCEPT     tcp  --  anywhere             anywhere          
> tcp dpt:ssmtp

Curious why you have 2 entries...

> ps -efa | grep cvm-unix
> root       416   377  0 21:24 ?        00:00:00 supervise
> cvm-unix
> root      7248  3542  0 22:57 pts/0    00:00:00 grep cvm-unix

cvm-unix isn't started here.

Start it manually and see if it is producing errors for your setup.

/etc/init.d/cvm-unix start
--
 Damien
Title: Re: SMTPs NOT working over 5.6.
Post by: Damien Curtain on April 03, 2003, 05:34:48 AM
You've most likely installed the ssmtp rpm for 5.5 not 5.6, which is required for the iptables setup.

What does rpm -qa | grep ssmtp say?

Alternatively you haven't actually enabled any of the services.

After installing the rpms you must run the command as mentioned on the site the rpms are available from, before configuring the state of the services in the server-manager.
--
 Damien