View Full Version : smtp auth / webs with ssl
Dy0nisus
6th January 2007, 02:29
Hi guys!
I'm new to ISPConfig. Everything works fine exept two things:
1. I can't auth for sending mail through smtp, why? (imap runs perfect)
2. I can creat only 1 web with ssl support. It doesn't make sens to me.
Can somebody help me out?
thanks! :)
bfriend
6th January 2007, 03:17
I am new to ISPConfig as well and I have my own set of problems I am trying to work out.
I have no clue to your first question, but I might be able to help you with you second one.
I believe you need a unique virtual IP for each site you want to run with SSL. In order to do that you need to enter the virtual IP numbers in the list located under the settings menu in the ISPConfig control panel.
But before you do that you can modify your config.inc.php file.
---------------
The automatic network configuration is disabled by default.
Edit the /home/admispconfig/ispconfig/config.inc.php file and set:
$go_info["server"]["network_config"] = 0; // 0 = none, 1 = automatic
to:
$go_info["server"]["network_config"] = 1; // 0 = none, 1 = automatic
---------------
Then reboot
---------------
Here is the link that i found the info under
http://www.howtoforge.com/forums/showthread.php?t=3934&highlight=%24go_info%5B%22server%22%5D%5B%22networ k_config%22%5D
--------------
I hope this helps
Bill
till
6th January 2007, 16:26
1. I can't auth for sending mail through smtp, why? (imap runs perfect)
IMAP has nothing to do with SMTP authentication. Which errors do you get in your mail logfile, when you try to authenticate over smtp?
2. I can creat only 1 web with ssl support. It doesn't make sens to me.
Its a limitation of the SSL protocol, not of ISPConfig. Please read this explanation:
http://www.howtoforge.com/forums/showthread.php?t=9605
Dy0nisus
6th January 2007, 17:55
Hi Til and bfriend!
I fixed the ssl - limitation as described. Thanks!
ad 2: SMTP auth Problem
(I know that imap != smtp but i thought it would be a helpfull information)
here ist the output of the log:
Jan 6 16:51:56 linux1 postfix/smtpd[4381]: warning: SASL authentication problem: unable to open Berke ley db /etc/sasldb2: No such file or directory
Jan 6 16:51:56 linux1 postfix/smtpd[4381]: warning: SASL authentication problem: unable to open Berke ley db /etc/sasldb2: No such file or directory
Jan 6 16:51:56 linux1 postfix/smtpd[4381]: warning: SASL authentication failure: no secret in databas e
Jan 6 16:51:56 linux1 postfix/smtpd[4381]: warning: virus.hpserver.id[192.168.0.20]: SASL CRAM-MD5 au thentication failed
Jan 6 16:51:56 linux1 postfix/smtpd[4381]: warning: SASL authentication problem: unable to open Berke ley db /etc/sasldb2: No such file or directory
Jan 6 16:51:56 linux1 postfix/smtpd[4381]: warning: SASL authentication problem: unable to open Berke ley db /etc/sasldb2: No such file or directory
Jan 6 16:51:56 linux1 postfix/smtpd[4381]: warning: SASL authentication failure: no secret in databas e
Jan 6 16:51:56 linux1 postfix/smtpd[4381]: warning: virus.hpserver.id[192.168.0.20]: SASL NTLM authen tication failed
Jan 6 16:51:56 linux1 postfix/smtpd[4381]: warning: SASL authentication problem: unable to open Berke ley db /etc/sasldb2: No such file or directory
Jan 6 16:51:56 linux1 last message repeated 4 times
Jan 6 16:51:56 linux1 postfix/smtpd[4381]: warning: SASL authentication failure: Password verificatio n failed
Jan 6 16:51:56 linux1 postfix/smtpd[4381]: warning: virus.hpserver.id[192.168.0.20]: SASL PLAIN authe ntication failed
Jan 6 16:51:56 linux1 postfix/smtpd[4381]: warning: SASL authentication problem: unable to open Berke ley db /etc/sasldb2: No such file or directory
Jan 6 16:51:56 linux1 last message repeated 5 times
Jan 6 16:51:56 linux1 postfix/smtpd[4381]: warning: virus.hpserver.id[192.168.0.20]: SASL LOGIN authe ntication failed
Jan 6 16:51:59 linux1 postfix/smtpd[4381]: warning: SASL authentication problem: unable to open Berke ley db /etc/sasldb2: No such file or directory
Jan 6 16:51:59 linux1 last message repeated 2 times
Jan 6 16:51:59 linux1 postfix/smtpd[4381]: warning: SASL authentication failure: no secret in databas e
Jan 6 16:51:59 linux1 postfix/smtpd[4381]: warning: virus.hpserver.id[192.168.0.20]: SASL CRAM-MD5 au thentication failed
Jan 6 16:52:00 linux1 postfix/smtpd[4381]: warning: SASL authentication problem: unable to open Berke ley db /etc/sasldb2: No such file or directory
Jan 6 16:52:00 linux1 last message repeated 2 times
Jan 6 16:52:00 linux1 postfix/smtpd[4381]: warning: SASL authentication failure: no secret in databas e
Jan 6 16:52:00 linux1 postfix/smtpd[4381]: warning: virus.hpserver.id[192.168.0.20]: SASL NTLM authen tication failed
Jan 6 16:52:00 linux1 postfix/smtpd[4381]: warning: SASL authentication problem: unable to open Berke ley db /etc/sasldb2: No such file or directory
Jan 6 16:52:00 linux1 last message repeated 5 times
Jan 6 16:52:00 linux1 postfix/smtpd[4381]: warning: SASL authentication failure: Password verificatio n failed
Jan 6 16:52:00 linux1 postfix/smtpd[4381]: warning: virus.hpserver.id[192.168.0.20]: SASL PLAIN authe ntication failed
Jan 6 16:52:00 linux1 postfix/smtpd[4381]: warning: SASL authentication problem: unable to open Berke ley db /etc/sasldb2: No such file or directory
Jan 6 16:52:00 linux1 last message repeated 5 times
Jan 6 16:52:00 linux1 postfix/smtpd[4381]: warning: virus.hpserver.id[192.168.0.20]: SASL LOGIN authe ntication failed
:eek: bdb errors
till
6th January 2007, 20:51
ISPConfig does not use the DBD authentication from SASL at all, so I guess your SASL is not configured correctly to aurhenticate against PAM. Did you follow one of the perfect setup guides?
Dy0nisus
6th January 2007, 23:54
hm right ...
yes i followed the perfect setup guide ...
till
7th January 2007, 12:34
Then please redo the sasl authentication steps and check that you dont have any typos in the config files. Which linux distribution do you use and is this a 32 or 64Bit linux?
Dy0nisus
7th January 2007, 14:09
It's a 32bit debian 3.1 sarge.
After a look at the config of saslauthd it was everything as described, but u said sasl should not use PAM (and PAM uses BDB).
# This needs to be uncommented before saslauthd will be run automatically
START=yes
PARAMS="-m /var/spool/postfix/var/run/saslauthd -r"
# You must specify the authentication mechanisms you wish to use.
# This defaults to "pam" for PAM support, but may also include
# "shadow" or "sasldb", like this:
# MECHANISMS="pam shadow"
MECHANISMS="pam"
This is out of the Howto
http://www.howtoforge.com/perfect_setup_debian_sarge_p4
May the last line be the problem?
falko
7th January 2007, 19:11
This file is ok.
What's in /etc/postfix/sasl/smtpd.conf?
Dy0nisus
7th January 2007, 20:59
ok.
I got no /etc/postfix/sasl/smtpd.conf ... only
/etc/postfix/sasl/smtpd.config ...
pwcheck_method: saslauthd
mech_list: plain login
Dy0nisus
8th January 2007, 14:26
okay ... dummy ...
rename to .conf helped ...
its working now ... thanks :)
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.