Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
r00ty
Posts: 747 Joined: 2003-03-17 15:32
Post
by r00ty » 2004-02-09 01:24
Hallo !
Ich wollte mal mein pop3s zum laufen bringen, aber ich schaffs nicht.
Ich weiss nicht, ob es jemals getan hat. Zur Info: ich habe nen 1und1-Rooty (Suse 8.1), der auf Suse 8.2 upgedated wurde.
Wenn ich versuche per telnet zu connecten kommt folgendes:
Code: Select all
server:/etc # telnet 127.0.0.1 995
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
2004.02.09 01:16:14 LOG3[6413:16384]: qpopper: No such file or directory (2)
Syntax:
stunnel [filename] | -help | -version | -sockets
filename - use specified config file instead of /etc/stunnel/stunnel.conf
-help - get config file help
-version - display version and defaults
-sockets - display default socket options
Connection closed by foreign host.
der passende xinetd.conf Auszug:
Code: Select all
# *grrr* SuSE-8.1: qpopper.rpm compiled without ssl/tls-support
service pop3s
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/stunnel
server_args = qpopper -l /usr/sbin/popper -- -R -s
log_on_success = HOST PID EXIT DURATION
log_on_failure = HOST ATTEMPT
}
jemand eine Idee ?
dspeicher
Posts: 167 Joined: 2002-05-20 20:16
Location: Hörstel
Contact:
Post
by dspeicher » 2004-02-09 03:16
/etc/xinet.d/qpopper
service pop3
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/popper
server_args = -s
flags = IPv4
}
/etc/stunnel/stunnel.conf:
[pop3s]
accept = 995
connect = 110
r00ty
Posts: 747 Joined: 2003-03-17 15:32
Post
by r00ty » 2004-02-10 01:51
ich hab danach ein
rcxinetd restart und einen
rcstunnel restart gemacht
bei letzerem kommt ein Fehler und die Logs sagen:
Code: Select all
Feb 10 01:44:50 server stunnel[6369]: Error binding pop3s to 0.0.0.0:995
Feb 10 01:44:50 server stunnel[6369]: bind: Address already in use (98)
und wenn ich per telnet connecte kommt immernoch der alte Fehler
dspeicher
Posts: 167 Joined: 2002-05-20 20:16
Location: Hörstel
Contact:
Post
by dspeicher » 2004-02-10 02:26
hast du vorher deinen pop3s-eintrag entfernt?
ansonsten guck mal mit "netstat -l -p" welches programm auf dem port lauscht und änder das ab!
r00ty
Posts: 747 Joined: 2003-03-17 15:32
Post
by r00ty » 2004-02-11 01:26
wo find ich denn den pop3s eintrag ?
(von dem her hab ich ihn nicht entfernt)
nestat:
Code: Select all
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:pop3s *:* LISTEN 27224/xinetd
tcp 0 0 localhost.local:antivir *:* LISTEN 444/avgated
tcp 0 0 localhost:smtp-backdoor *:* LISTEN 31273/master
tcp 0 0 *:pop3 *:* LISTEN 27224/xinetd
tcp 0 0 *:www-http *:* LISTEN 2268/httpd
tcp 0 0 *:smtps *:* LISTEN 31273/master
tcp 0 0 *:ftp *:* LISTEN 27224/xinetd
tcp 0 0 server.tld:domain *:* LISTEN 519/named
tcp 0 0 localhost.locald:domain *:* LISTEN 519/named
tcp 0 0 *:smtp *:* LISTEN 31273/master
tcp 0 0 localhost.localdoma:953 *:* LISTEN 519/named
tcp 0 0 *:https *:* LISTEN 2268/httpd
tcp 0 0 *:ssh *:* LISTEN 569/sshd
tcp 0 0 ::1:953 *:* LISTEN 519/named
udp 0 0 *:filenet-tms *:* 519/named
udp 0 0 *:snmp *:* 403/snmpd
udp 0 0 *:45995 *:* 2831/dig
udp 0 0 server.tld:domain *:* 519/named
udp 0 0 localhost.locald:domain *:* 519/named
udp 1088 0 *:bootpc *:* 354/dhcpcd
udp 0 0 server.tld:ntp *:* 633/ntpd
udp 0 0 localhost.localdoma:ntp *:* 633/ntpd
udp 0 0 *:ntp *:* 633/ntpd
udp 0 0 *:filenet-rpc *:* 519/named
raw 0 0 *:tcp *:* 7 721/portsentry
raw 0 0 *:tcp *:* 7 405/portsentry
raw 0 0 *:udp *:* 7 723/portsentry
raw 0 0 *:udp *:* 7 407/portsentry
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 4247 479/mysqld /var/lib/mysql/mysql.sock
unix 2 [ ACC ] STREAM LISTENING 1363 398/saslauthd /var/run/sasl2//mux
unix 2 [ ACC ] STREAM LISTENING 3159857 31273/master public/cleanup
unix 2 [ ACC ] STREAM LISTENING 3159876 31273/master public/flush
unix 2 [ ACC ] STREAM LISTENING 3159864 31273/master private/rewrite
unix 2 [ ACC ] STREAM LISTENING 3159868 31273/master private/bounce
unix 2 [ ACC ] STREAM LISTENING 3159872 31273/master private/defer
unix 2 [ ACC ] STREAM LISTENING 3159884 31273/master public/showq
unix 2 [ ACC ] STREAM LISTENING 9492 703/nscd /var/run/.nscd_socket
unix 2 [ ACC ] STREAM LISTENING 3159880 31273/master private/smtp
unix 2 [ ACC ] STREAM LISTENING 3159888 31273/master private/error
unix 2 [ ACC ] STREAM LISTENING 3159892 31273/master private/local
unix 2 [ ACC ] STREAM LISTENING 3159896 31273/master private/virtual
unix 2 [ ACC ] STREAM LISTENING 3159900 31273/master private/lmtp
unix 2 [ ACC ] STREAM LISTENING 3159904 31273/master private/cyrus
unix 2 [ ACC ] STREAM LISTENING 3159908 31273/master private/uucp
unix 2 [ ACC ] STREAM LISTENING 3159912 31273/master private/ifmail
unix 2 [ ACC ] STREAM LISTENING 3159916 31273/master private/bsmtp
unix 2 [ ACC ] STREAM LISTENING 3159920 31273/master private/vscan
unix 2 [ ACC ] STREAM LISTENING 3159924 31273/master private/procmail
unix 2 [ ACC ] STREAM LISTENING 3159928 31273/master private/relay
unix 2 [ ACC ] STREAM LISTENING 3159932 31273/master private/proxymap
unix 2 [ ACC ] STREAM LISTENING 7859382 20400/antivir /var/tmp/.mailgate_10.0
Last edited by
r00ty on 2004-02-11 01:31, edited 1 time in total.
dspeicher
Posts: 167 Joined: 2002-05-20 20:16
Location: Hörstel
Contact:
Post
by dspeicher » 2004-02-11 01:29
der passende xinetd.conf Auszug:
# *grrr* SuSE-8.1: qpopper.rpm compiled without ssl/tls-support
service pop3s
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/stunnel
server_args = qpopper -l /usr/sbin/popper -- -R -s
log_on_success = HOST PID EXIT DURATION
log_on_failure = HOST ATTEMPT
}
r00ty
Posts: 747 Joined: 2003-03-17 15:32
Post
by r00ty » 2004-02-11 01:32
uiii, du warst schneller....
sauber danke für die schnelle Hilfe
ich muss jetzt weg und werd das heute abend checken.....
dspeicher
Posts: 167 Joined: 2002-05-20 20:16
Location: Hörstel
Contact:
Post
by dspeicher » 2004-02-11 01:33
kein problem :-)
r00ty
Posts: 747 Joined: 2003-03-17 15:32
Post
by r00ty » 2004-02-11 23:52
yeah super, jetzt funktionierts
thx a lot
michas.
Posts: 109 Joined: 2003-03-08 13:08
Post
by michas. » 2004-02-22 07:24
danach noch irgend ein restart? bei mir geht es auch mit den Ã?nderungen noch nicht!
dspeicher
Posts: 167 Joined: 2002-05-20 20:16
Location: Hörstel
Contact:
Post
by dspeicher » 2004-02-22 07:29
Logisch ;-)
Einmal ein:
rcxinetd restart
rcstunnel restart
r00ty
Posts: 747 Joined: 2003-03-17 15:32
Post
by r00ty » 2004-02-22 18:44
wichtig
rcstunnel
auch im Yast Runleveleditor aktivieren
(ich hab mich deswegen immer ausgesperrt da ich PortsEntry laufen hatte und nach dem reboot der STunnel nicht lief...)