PDA

View Full Version : Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, ...


mho
29th February 2008, 16:44
Hello there.

I have a serious problem. I'm trying to make this setup on a debian etch (your perfect setup guide..)

First of all I tried apt-get install ... but it seems like the courier-authmysql is renamed as another name, courier-libauth-mysql or something related.

Then I tried the aptitude install wayish. This worked first time. Got the blue screen, (setup) and the install was happening.

But when the install tries to setup courier-pop and pop-ssl, it comes with a failure.

Starting Courier POP3 server:bind: Address already in use
ll_daemon_start: Resource temporarily unavailable
invoke-rc.d: initscript courier-pop, action "start" failed.
dpkg: fejl under behandling af courier-pop (--configure):
underproces post-installation script returnerede afslutningsstatus 1
dpkg: afhængighedsproblemer forhindrer konfiguration af courier-pop-ssl:
courier-pop-ssl afhænger af courier-pop, men:
Pakken courier-pop er ikke sat op endnu.
dpkg: fejl under behandling af courier-pop-ssl (--configure):
afhængighedsproblemer - efterlader den ukonfigureret
Der opstod fejl under behandlingen:
courier-pop
courier-pop-ssl


* In english, this says that the courier-pop isn't configuret. I then tries apt-get install courier-pop courier-pop-ssl but this give me the same arror as above and this one.
E: Sub-process /usr/bin/dpkg returned an error code (1)


My netstat -a -n says:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:58160 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:113 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN


And this is netstat -tap:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:mysql *:* LISTEN 2321/mysqld
tcp 0 0 *:pop3 *:* LISTEN 30140/tcpserver
tcp 0 0 *:sunrpc *:* LISTEN 1949/portmap
tcp 0 0 *:www *:* LISTEN 30197/apache
tcp 0 0 *:58160 *:* LISTEN 2804/rpc.statd
tcp 0 0 *:auth *:* LISTEN 2631/inetd
tcp 0 0 *:ftp *:* LISTEN 13680/pure-ftpd (SE
tcp 0 0 *:smtp *:* LISTEN 19855/tcpserver
tcp6 0 0 *:imaps *:* LISTEN 510/couriertcpd
tcp6 0 0 *:pop3s *:* LISTEN 5366/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 463/couriertcpd
tcp6 0 0 *:ftp *:* LISTEN 13680/pure-ftpd (SE
tcp6 0 0 *:ssh *:* LISTEN 2743/sshd
tcp6 0 1184 mail.my-domain.dk:ssh 0x55513f8c.adsl.c:10317 ESTABLISHED29433/0


I'm really lost right now, tried google but with no luck.

Can/would anyone help my out, I hope the above information is good enough or else ask for more.

Have a nice weekend.

From Mikkel, Roskilde - Denmark

topdog
29th February 2008, 17:44
it seems like your are already running another pop3 server via inetd you possibly need to disable that before reconfiguring.

mho
1st March 2008, 18:09
I'm not so deep into linux, could you tell me howto find that pop3 server.

I found a Qmail device, but used apt-get remove to .. remove it. It's not my server, and the owner dosen't know which mailserver is running twice.
Either do I.

Give me a little clue please :-)

Thanks for quick answer.

falko
1st March 2008, 18:18
Run apt-get update and try to install Courier again. If that doesn't help - what's in /etc/apt/sources.list?

mho
1st March 2008, 19:55
Well, I tried something else. Removed something called php-auth. After that, courier-pop and pop-ssl started to configuring.

I think I am at the right path now, telnet localhost pop3 works now and the last chapter in the guide, about the list of 250's - this works also very nice.

Thx for quick answers and a very well written guide.

Hav a nice day.