Courier sagt REJECT, kann keine Mails mehr abholen

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
Post Reply
maybee
Posts: 80
Joined: 2005-11-02 18:21
 

Courier sagt REJECT, kann keine Mails mehr abholen

Post by maybee »

Hallo mal wieder,

ich habe hier einen Mailserver (Postfix) laufen kann aber irgendwie mit Courier keine Mails mehr abholen seit dem ich den Dämon neugestartet habe (/etc/init.d/courier-authdaemon restart).

/var/log/mail (Loglevel 2)

Code: Select all

Nov  9 21:21:30 sythney pop3d: Connection, ip=[::ffff:84.141.xxx.78]
Nov  9 21:21:30 sythney pop3d: LOGIN: DEBUG: ip=[::ffff:84.141.xxx.78], command=USER
Nov  9 21:21:30 sythney pop3d: LOGIN: DEBUG: ip=[::ffff:84.141.xxx.78], command=PASS
Nov  9 21:21:30 sythney pop3d: LOGIN: DEBUG: ip=[::ffff:84.141.xxx.78], username=maybee
Nov  9 21:21:30 sythney pop3d: LOGIN: DEBUG: ip=[::ffff:84.141.xxx.78], password=testtest
Nov  9 21:21:30 sythney pop3d: authdaemon: starting client module
Nov  9 21:21:30 sythney pop3d: authdaemon: REJECT
Nov  9 21:21:35 sythney pop3d: LOGIN FAILED, ip=[::ffff:84.141.xxx.78]
Ich habe keine Ã?nderungen an den Einstellungen vorgenommen und weiss irgendwie nicht wo ich noch suchen könnte.

Als authmethode in /etc/courier/authdaemonrc habe ich shadow eingestellt, meine Zugangdaten werden auch in /etc/passwd - shadow aufbewahrt und sind korrekt.

Wenn ich den (/etc/init.d/courier-authdaemon restart) durchführe sagt er mir das er mit (plain) läuft und ich finde unter den modulen von courier (/usr/lib/courier-imap/authlib) folgende Binarys:

Code: Select all

-rwxr-xr-x  1 root root 21201 Dec  7  2004 authdaemon
-rwxr-xr-x  1 root root   525 Dec  7  2004 authdaemond
-rwxr-xr-x  1 root root 55644 Dec  7  2004 authdaemond.plain
Ich komme nicht drauf wo der Fehler liegt ... Der Versandt geht ohne Probleme.

Kann mit hier jemand auf die Sprünge helfen ? Evtl. einen Tipp wo ich nach dem Fehler suchen kann, oder sonst eine Hilfe ... Ich bin für jeden Hinweis dankbar !

Grüße & danke

Maybee
Last edited by maybee on 2005-11-09 01:05, edited 2 times in total.
maybee
Posts: 80
Joined: 2005-11-02 18:21
 

Re: Courier sagt REJECT, kann keine Mails mehr abholen

Post by maybee »

Hab euch hier nochmal ein ps aux angehängt:

Code: Select all

root     28474  0.0  0.1   4060   792 ?        Ss   22:41   0:00 /usr/sbin/saslauthd -a shadow
root     28475  0.0  0.1   4256  1012 ?        S    22:41   0:00 /usr/sbin/saslauthd -a shadow
root     28476  0.0  0.0   4060   476 ?        S    22:41   0:00 /usr/sbin/saslauthd -a shadow
root     28477  0.0  0.0   4060   432 ?        S    22:41   0:00 /usr/sbin/saslauthd -a shadow
root     28478  0.0  0.0   4060   432 ?        S    22:41   0:00 /usr/sbin/saslauthd -a shadow
postfix  29866  0.0  0.2   4432  1460 ?        S    23:17   0:00 pickup -l -t fifo -u
postfix  29867  0.0  0.2   4464  1488 ?        S    23:17   0:00 qmgr -l -t fifo -u
root     30088  0.0  0.0   1468   380 ?        S    23:18   0:00 /usr/sbin/courierlogger -pid=/var/run/authdaemon.courier-imap
root     30089  0.0  0.0   1776   492 ?        S    23:18   0:00 /usr/lib/courier-imap/authlib/authdaemond.plain
root     30090  0.0  0.0   1776   260 ?        S    23:18   0:00 /usr/lib/courier-imap/authlib/authdaemond.plain
root     30093  0.0  0.0   1560   468 ?        S    23:18   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/u
root     30094  0.0  0.0   1776   260 ?        S    23:18   0:00 /usr/lib/courier-imap/authlib/authdaemond.plain
root     30095  0.0  0.0   1776   260 ?        S    23:18   0:00 /usr/lib/courier-imap/authlib/authdaemond.plain
root     30096  0.0  0.0   1776   260 ?        S    23:18   0:00 /usr/lib/courier-imap/authlib/authdaemond.plain
root     30097  0.0  0.0   1776   300 ?        S    23:18   0:00 /usr/lib/courier-imap/authlib/authdaemond.plain
root     30099  0.0  0.0   1464   428 ?        S    23:18   0:00 /usr/sbin/courierlogger pop3d
Und hier netstat -at

Code: Select all

tcp        0      0 *:smtp                  *:*                     LISTEN
tcp        0      0 *:pop3                  *:*                     LISTEN
Wenn ihr weitere Infos von mir braucht sagt bitte Bescheid ...
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Courier sagt REJECT, kann keine Mails mehr abholen

Post by Joe User »

Was passiert, wenn Du auf pam statt shadow umstellst?
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
maybee
Posts: 80
Joined: 2005-11-02 18:21
 

Re: Courier sagt REJECT, kann keine Mails mehr abholen

Post by maybee »

Joe User wrote:Was passiert, wenn Du auf pam statt shadow umstellst?
wenn ich in /etc/courier/authdaemonrc -> authmodulelist="pam" oder auch auf "authpam" setze:

Code: Select all

Nov 10 10:36:17 sythney pop3d: authdaemon: starting client module
Nov 10 10:36:17 sythney pop3d: authdaemon: REJECT
Nov 10 10:36:22 sythney pop3d: LOGIN FAILED, ip=[::ffff:84.141.xxx.78]
Also das gleiche wie mit shadow.

Ich habe hier 2 Server die habe ich in den letzten Tagen beide neu installiert (alles identisch), bei beiden geht nach dem Neustart der Courier nicht mehr :-)

Outlook sagt "Kennwort wurde zurückgewiesen", ich habe bei meiner Testmailbox schon mal ein neues Passwort gesetzt aber da kommt immer der gleiche Fehler.

Hat da jemand noch eine Idee ?
maybee
Posts: 80
Joined: 2005-11-02 18:21
 

Re: Courier sagt REJECT, kann keine Mails mehr abholen

Post by maybee »

Mir ist auf dem 2ten Server gerade noch was aufgefallen, dort läuft OTRS und das holt mit fetchmail seine Mails ab schaut mal:

/var/log/messages

Code: Select all

Nov  9 11:05:37 two OTRS-PM3-10[7023]: [Error][main::FetchMail][Line:164]: Auth for user web4p1@example.com failed!
So geht das bei allen Boxen die OTRS annimmt.

Also kommt nach dem Neustart nicht nur Courier aus der Bahn sondern auch fetchmail :-)

Muss da evtl. noch was für die Authentifizierung gestartet werden das ich vergessen haben könnte ?
maybee
Posts: 80
Joined: 2005-11-02 18:21
 

Re: Courier sagt REJECT, kann keine Mails mehr abholen

Post by maybee »

Hallo zusammen,

hab das Problem eben noch gerichtet :-)

Habe einfach alles was mit Courier zusammenhängt via kill abgeschossen, dann die in authmodulerc nochmal auf authpam umgestellt und über die Startscript courier gestartet und es lief wieder :-)

Ich weiss nicht warum und wieso, schätze aber mal das im Hintergrund noch irgendwas gelaufen ist oder wie auch immer ...

Danke für eure Hilfe auf jedenfall.

Viele Grüße

Maybee
Post Reply