HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   ISPconfig on debian ETCH (http://www.howtoforge.com/forums/showthread.php?t=9942)

provell 19th January 2007 09:06

ISPconfig on debian ETCH
 
Hy Everyone,

Due to hardware incompatibility with debian sarge, I am forced to use the etch version.
The latest changelog of the ispconfig update showed support for debian/etch.
So I was planning on following the perfect debian setup and then install ispconfig.

As the perfect debian setup is bassed of sarge I have a couple of questions:
Is there anyone who has tryed this before?:confused:
Is there something I should do different during the perfect setup because it is etch and not sarge?

Thanks in advance.:)

Rgds Edo

till 19th January 2007 13:22

Quote:

Originally Posted by provell
Is there anyone who has tryed this before?:confused:

yes.

Quote:

Is there something I should do different during the perfect setup because it is etch and not sarge?
The overall setup works. There are just some minor differences in e.g. the apache configuration file layout of the new debian version. I've not written down the exact differences, so I acnt give a complete list.

provell 19th January 2007 17:03

Thanks
 
Thanks for the advice Till.
I will give it a try and let you know how it turned out.

At least now I know it has a change of succeeding.;)

Rgds Edo

provell 20th January 2007 00:27

almost there????
 
oooops....

Whele the whole install whent prety whel dispite of some obvious changes.

Only there was something not quite well with the mail system.
I was suspecting something would go wrong with the saslauthd configuration because there were to many differences with the "perfect debian sarge setup" and unfortunatly it did.:(
All of the rsa key validation went smoothly but still I can't connect to my pop3 server.

I'm getting an error:
There was a problem during connection/validation with the e-mailserver. You're user account is denied. Account: '10.0.0.230', Server: '10.0.0.230', Protocol: POP3, Reactie van server: '-ERR Unknown AUTHORIZATION state command', Poort: 110, Beveiligd(SSL): Nee, Serverfout: 0x800CCC90, Foutnummer: 0x800CCC91

The http server is ok, the ftp server is ok!!!
But connecting to the pop3 server keeps asking for a correct user??:confused:

Anybody ... any ideas would be verry appreciated;) ;)

Rgsd Edo

till 20th January 2007 10:42

SASL and pop3 are two different things. SASL is only for SMTP. Did you install courier as pop3 server?

provell 20th January 2007 12:42

follow up
 
Hmmm SASL and POP3 are 2 different things yes..
But in the perfect install they follow up each other to make the postfix install ready, so I thats why I thougt that.

And no I have not installed courier as pop3 as far as I know.
It comes up twice during the install but I did not installed it.
Just to be sure I have enabled Maildir under Management -> Server -> Settings -> EMail in the ISPConfig web interface.
Still the same error so no luck there.

To test some more I installed webmail.
Unfortunatly I first get the SSL YES/NO question and then page not found.

As debian/etch is verry much related to Ubuntu6.10,and the postfix installation part looks more like the one of Echt.
I will try to reconfigure/install postfix following the perfect ubuntu6.10 install.

Probably have to reinstall ISP config afterward? right?;)

Anyway thanks for the help so far!!:D

till 20th January 2007 13:05

Please install courier as described in the perfect debian setup, it will replace your currently installed pop3 daemon.

provell 20th January 2007 13:57

update
 
Hy Till, thanks for you're quick respons.

I have done the following:(From the ubuntu6.10 perfect setup)
- apt-get install postfix libsasl2 sasl2-bin libsasl2-modules libdb3-util procmail
(this installed 2 extra packages as postfix was ofcourse already installed).
- dpkg-reconfigure postfix

Configured postfix like the setup sayd.
Deleted the certificates and created new ones like the setup sayd.
Configured postfix some more following the setup.
/etc/postfix/mail.cf was correct like the example.
Followed the setup to the end of the page.

And after I saw you're reply I did.
- apt-get install courier-authdaemon courier-base courier-imap courier-imap-ssl courier-pop courier-pop-ssl courier-ssl gamin libgamin0 libglib2.0-0

Sorry, I read you're post to fast and the courier install was from the ubuntu6.10 setup and not the debian.
I hope I did not screw up here.

Anyway, the situation is still the same.
Even while enabling maildir support in ispconfig.

After a reboot I saw an error on the screen:
Starting all courrier stuff OK
* Not starting internet superserver: no services enabled.
Starting postfix mail OK

This can not be good.

Any advice on getting this working is highly appreciated.
Thansk in advance.

Rgds Edo

till 20th January 2007 14:04

Reisnstalling the sasl stuff from the ubuntu howto was not a good idea, we nare now more far away from a solution then a few poats agi :( Its always a bad idea to mix dirrenet howtos, this will most likely result in a non working setup.

1) Reconfigure the complete postfix stuff with the steps described in the debian setup.
2) Install the courier packages as described in the debian setup.
3) Send a email to a local mailbox from a webmail package on your server, e.g. uebimiau and post the lines that you get in the logfile.

Maildir must be enabled.

provell 21st January 2007 17:47

back again
 
I started the install of debian/ETCH and ispconfig all over again just to make sure.

Because you said
Quote:

we nare now more far away from a solution then a few poats agi Its always a bad idea to mix dirrenet howtos, this will most likely result in a non working setup.
And now I have the same problem as I started with.
And as you adviced
Quote:

1) Reconfigure the complete postfix stuff with the steps described in the debian setup.
2) Install the courier packages as described in the debian setup.
3) Send a email to a local mailbox from a webmail package on your server, e.g. uebimiau and post the lines that you get in the logfile.
1. Reconfiguring was done thrue the setup.
2. Instaled it as the debian setup.
3. ubable to, because postfix won't start and webmail either.

This was the output of the installation:
apt-get install courier-imap courier-imap-ssl courier-pop courier-pop-ssl <- NO
websrv01:~/install_ispconfig# postconf -e 'home_mailbox = Maildir/'
websrv01:~/install_ispconfig# postconf -e 'mailbox_command ='
websrv01:~/install_ispconfig# /etc/init.d/postfix restart shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Stopping Postfix Mail Transport Agent: postfix.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Starting Postfix Mail Transport Agent: postfixchdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
.



This is what my /etc/postfix/main.cf looks like now:

# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h
# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client.
myhostname = websrv01.wwict.nl
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = websrv01.wwict.nl, localhost.wwict.nl, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions =permit_sasl_authenticated,permit_mynetworks,rejec t_unauth_destination smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
virtual_maps = hash:/etc/postfix/virtusertable
mydestination = /etc/postfix/local-host-names
home_mailbox = Maildir/


I would be verry happy if there still is a solution to this.
Thanks in advance.

Rgds Edo


All times are GMT +2. The time now is 22:59.

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