• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Windows-Client für neuen Cyrus einrichten

Status
Für weitere Antworten geschlossen.

Mr.Tito

Member
Hallo alle,

ich habe nach dem Linux-c't-Spezial mit Suse10.1 einen Mailserver eingerichtet. Fetchmail holt die Mails ab, sie werden nach Viren gescannt und sie sind inzwischen in den entsprechenden imap-user-ordnern gelandet.
Per telnet localhost imap kann ich mich auf dem Mailserver mitr dem Imap-Server verbinden. Von meinem Windows-Clint bekomme ich mit telnet 192.168.123.113 imap keine Verbindung. Die Firewall habe ich abgeschaltet.
Irgendeine Einstellung scheint ja wohl noch zu fehlen...?
Über die Verbindung vom Client zum Mailserver stand leider gar nichts in dem Artikel und schon verliessen sie mich. Kann mir jemand weiterhelfen?

Danke schonmal.
 

stka

Guru
Warum mit Telnet? Was passiert den wenn du mit deinem Mailclient z.B. Kmail auf dem IMAP Server zugreifst? Was steht in den Log-Files und wie sehen deine conf Dateien aus? So ist es unmöglich dir zu helfen.
 
OP
M

Mr.Tito

Member
...naja, in einer Doku, die ich hier irgendwo gefunden hatte stand, dass ich das ganze mit Telnet testen kann, und auf der Kiste selbst klappt das ja auch, darum Telnet. Von einem anderen Rechner aus bekomme ich bei dem selben Telnet-versuch die Meldung "Connection Refused".
Einen grafischen Linux Client habe ich nicht, dafür wollte ich MS-OE benutzen.

Ich schaue heute abend mal nach Logfiles und Conf-Dateien und poste hier noch etwas mehr Infos. Editiert habe ich nur eine fetchmail-conf-Datei, die ist sicher uninteressant. Was wäre denn hilfreich zu sichten?

Bis später
 
OP
M

Mr.Tito

Member
So, ich habe mal ein paar .conf-Dateien gefunden:

Die erste ist cyrus.conf und die zweite imap.conf. Und dann unten noch zwei Logfiles mail und messages. Ich hoffe, da kann jemand was mit anfangen. Kann ich noch mehr Infos liefern?

---------------------------------------------------------------------------
# standard standalone server implementation

START {
# do not delete this entry!
recover cmd="ctl_cyrusdb -r"

# this is only necessary if using idled for IMAP IDLE
idled cmd="idled"
}

# UNIX sockets start with a slash and are put into /var/lib/imap/socket
SERVICES {
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=0
# imaps cmd="imapd -s" listen="imaps" prefork=0
pop3 cmd="pop3d" listen="pop3" prefork=0
# pop3s cmd="pop3d -s" listen="pop3s" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=0

# at least one LMTP is required for delivery
# lmtp cmd="lmtpd" listen="lmtp" prefork=0
lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=0

# this is only necessary if using notifications
# notify cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1
}

EVENTS {
# this is required
checkpoint cmd="ctl_cyrusdb -c" period=30

# this is only necessary if using duplicate delivery suppression
delprune cmd="cyr_expire -E 3" at=0400

# this is only necessary if caching TLS sessions
tlsprune cmd="tls_prune" at=0400

# Uncomment the next entry, if you want to automatically remove
# old messages of EVERY user.
# This example calls ipurge every 60 minutes and ipurge will delete
# ALL messages older then 30 days.
# enter 'man 8 ipurge' for more details

---------------------------------------------------------------------------

configdirectory: /var/lib/imap
partition-default: /var/spool/imap
sievedir: /var/lib/sieve
admins: cyrus
allowanonymouslogin: no
autocreatequota: 10000
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
sasl_pwcheck_method: saslauthd
lmtp_overquota_perm_failure: no
lmtp_downcase_rcpt: yes
#
# if you want TLS, you have to generate certificates and keys
#
#tls_cert_file: /usr/ssl/certs/cert.pem
#tls_key_file: /usr/ssl/certs/skey.pem
#tls_ca_file: /usr/ssl/CA/CAcert.pem
#tls_ca_path: /usr/ssl/CA

-------------------------------------------------------------------

und hier noch was aus /var/log/mail:


Nov 13 09:35:45 xenmail freshclam[1859]: Received signal: wake up
Nov 13 09:35:45 xenmail freshclam[1859]: ClamAV update process started at Mon Nov 13 09:35:45 2006
Nov 13 09:35:45 xenmail freshclam[1859]: main.cvd is up to date (version: 41, sigs: 73809, f-level: 10, builder: tkojm)
Nov 13 09:35:45 xenmail freshclam[1859]: daily.cvd is up to date (version: 2188, sigs: 2709, f-level: 9, builder: sven)
Nov 13 09:35:45 xenmail freshclam[1859]: --------------------------------------
Nov 13 11:35:45 xenmail freshclam[1859]: Received signal: wake up
Nov 13 11:35:45 xenmail freshclam[1859]: ClamAV update process started at Mon Nov 13 11:35:45 2006
Nov 13 11:35:45 xenmail freshclam[1859]: main.cvd is up to date (version: 41, sigs: 73809, f-level: 10, builder: tkojm)
Nov 13 11:35:47 xenmail freshclam[1859]: daily.cvd updated (version: 2190, sigs: 2894, f-level: 9, builder: ccordes)
Nov 13 11:35:47 xenmail freshclam[1859]: Database updated (76703 signatures) from database.clamav.net (IP: 212.31.160.239)
Nov 13 11:35:47 xenmail freshclam[1859]: ERROR: Clamd was NOT notified: Can't connect to clamd on 127.0.0.1:3310
Nov 13 11:35:47 xenmail freshclam[1859]: --------------------------------------
Nov 13 13:35:47 xenmail freshclam[1859]: Received signal: wake up
Nov 13 13:35:47 xenmail freshclam[1859]: ClamAV update process started at Mon Nov 13 13:35:47 2006
Nov 13 13:35:48 xenmail freshclam[1859]: main.cvd is up to date (version: 41, sigs: 73809, f-level: 10, builder: tkojm)
Nov 13 13:35:48 xenmail freshclam[1859]: daily.cvd is up to date (version: 2190, sigs: 2894, f-level: 9, builder: ccordes)
Nov 13 13:35:48 xenmail freshclam[1859]: --------------------------------------
Nov 13 15:35:48 xenmail freshclam[1859]: Received signal: wake up
Nov 13 15:35:48 xenmail freshclam[1859]: ClamAV update process started at Mon Nov 13 15:35:48 2006
Nov 13 15:35:48 xenmail freshclam[1859]: main.cvd is up to date (version: 41, sigs: 73809, f-level: 10, builder: tkojm)
Nov 13 15:35:48 xenmail freshclam[1859]: daily.cvd is up to date (version: 2190, sigs: 2894, f-level: 9, builder: ccordes)
Nov 13 15:35:48 xenmail freshclam[1859]: --------------------------------------
Nov 13 17:35:48 xenmail freshclam[1859]: Received signal: wake up
Nov 13 17:35:48 xenmail freshclam[1859]: ClamAV update process started at Mon Nov 13 17:35:48 2006
Nov 13 17:35:48 xenmail freshclam[1859]: main.cvd is up to date (version: 41, sigs: 73809, f-level: 10, builder: tkojm)
Nov 13 17:35:48 xenmail freshclam[1859]: daily.cvd is up to date (version: 2190, sigs: 2894, f-level: 9, builder: ccordes)
Nov 13 17:35:48 xenmail freshclam[1859]: --------------------------------------
Nov 13 19:35:48 xenmail freshclam[1859]: Received signal: wake up
Nov 13 19:35:48 xenmail freshclam[1859]: ClamAV update process started at Mon Nov 13 19:35:48 2006
Nov 13 19:35:48 xenmail freshclam[1859]: main.cvd is up to date (version: 41, sigs: 73809, f-level: 10, builder: tkojm)
Nov 13 19:35:48 xenmail freshclam[1859]: daily.cvd is up to date (version: 2190, sigs: 2894, f-level: 9, builder: ccordes)
Nov 13 19:35:48 xenmail freshclam[1859]: --------------------------------------

und hier noch was aus /var/log/messages:

Nov 13 20:05:33 xenmail master[6005]: about to exec /usr/lib/cyrus/bin/ctl_cyrusdb
Nov 13 20:05:33 xenmail ctl_cyrusdb[6005]: checkpointing cyrus databases
Nov 13 20:05:33 xenmail ctl_cyrusdb[6005]: archiving database file: /var/lib/imap/annotations.db
Nov 13 20:05:33 xenmail ctl_cyrusdb[6005]: archiving log file: /var/lib/imap/db/log.0000000001
Nov 13 20:05:33 xenmail ctl_cyrusdb[6005]: archiving database file: /var/lib/imap/mailboxes.db
Nov 13 20:05:33 xenmail ctl_cyrusdb[6005]: archiving log file: /var/lib/imap/db/log.0000000001
Nov 13 20:05:34 xenmail ctl_cyrusdb[6005]: done checkpointing cyrus databases
Nov 13 20:05:34 xenmail master[1604]: process 6005 exited, status 0
Nov 13 20:35:33 xenmail master[6044]: about to exec /usr/lib/cyrus/bin/ctl_cyrusdb
Nov 13 20:35:33 xenmail ctl_cyrusdb[6044]: checkpointing cyrus databases
Nov 13 20:35:33 xenmail ctl_cyrusdb[6044]: archiving database file: /var/lib/imap/annotations.db
Nov 13 20:35:33 xenmail ctl_cyrusdb[6044]: archiving log file: /var/lib/imap/db/log.0000000001
Nov 13 20:35:33 xenmail ctl_cyrusdb[6044]: archiving database file: /var/lib/imap/mailboxes.db
Nov 13 20:35:33 xenmail ctl_cyrusdb[6044]: archiving log file: /var/lib/imap/db/log.0000000001
Nov 13 20:35:33 xenmail ctl_cyrusdb[6044]: done checkpointing cyrus databases
Nov 13 20:35:33 xenmail master[1604]: process 6044 exited, status 0
Nov 13 20:35:40 xenmail syslog-ng[1560]: STATS: dropped 0
 

stka

Guru
Also für dein cyrus Problem habe ich noch keine Lösung, da ich im Moment nicht zu Hause bin, habe ich bis zum Wochenende keine Möglichkeit nachzuschauen.
Die Meldungen aus der /var/log/mail zeigen das dein clamd (der virenscanner nicht läuft) schau mal mit "rcclamd status" nach ober der läuft, wenn nicht solltest du den über den "runleveleditor" im yast aktivieren.
 
OP
M

Mr.Tito

Member
besten Dank schonmal für den Hinweis auf den Virenscanner.
Blos keinen Stress, vielleicht hat ja noch jemand eine Idee ;-)
 

Frankie777

Advanced Hacker
Sieht doch alles normal aus.

Hast Du auch #telnet server 143 gemacht?

Was sagt
#netstat -tln | grep 143
 
OP
M

Mr.Tito

Member
eigentlich ist es mir ja peinlich: :oops:
Ich habe mir gerade einen haufen virtueller Server (Xen) für alles mögliche eingerichtet. Naja, und jetzt bin ich mit den IP-Adressen irgendwie durcheinander gekommen. :)
Kaum benutze ich also die richtige IP-Adresse und schon bekomme ich meine Mails in OE angezeigt...

Ich melde mich aber demnächst nochmal, wenn es um das Versenden von Mails geht, das scheint noch nicht zu klappen, aber ich schaue erstmal selber.

Danke für jede Hilfe
 
Status
Für weitere Antworten geschlossen.
Oben