Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th January 2007, 01:29
Dy0nisus Dy0nisus is offline
Member
 
Join Date: Jan 2007
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy smtp auth / webs with ssl

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!
Reply With Quote
Sponsored Links
  #2  
Old 6th January 2007, 02:17
bfriend bfriend is offline
Junior Member
 
Join Date: Dec 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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/sho...k_config%22%5D

--------------
I hope this helps

Bill
Reply With Quote
  #3  
Old 6th January 2007, 15:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Quote:
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?

Quote:
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
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 6th January 2007, 16:55
Dy0nisus Dy0nisus is offline
Member
 
Join Date: Jan 2007
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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:

Code:
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
bdb errors
Reply With Quote
  #5  
Old 6th January 2007, 19:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

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?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 6th January 2007, 22:54
Dy0nisus Dy0nisus is offline
Member
 
Join Date: Jan 2007
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hm right ...

yes i followed the perfect setup guide ...
Reply With Quote
  #7  
Old 7th January 2007, 11:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

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?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 7th January 2007, 13:09
Dy0nisus Dy0nisus is offline
Member
 
Join Date: Jan 2007
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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).

Quote:
# 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?
Reply With Quote
  #9  
Old 7th January 2007, 18:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

This file is ok.
What's in /etc/postfix/sasl/smtpd.conf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #10  
Old 7th January 2007, 19:59
Dy0nisus Dy0nisus is offline
Member
 
Join Date: Jan 2007
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

ok.

I got no /etc/postfix/sasl/smtpd.conf ... only

/etc/postfix/sasl/smtpd.config ...

Code:
pwcheck_method: saslauthd
mech_list: plain login
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
deb 3.1 smtp auth with vhcs2 adam HOWTO-Related Questions 9 31st August 2006 23:52
postfix smtp sasl auth problem hammer Installation/Configuration 1 13th July 2006 18:19
Can't seem to get SMTP AUTH working.. ralexpdx HOWTO-Related Questions 3 3rd June 2006 14:20


All times are GMT +2. The time now is 02:49.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.