Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
floyd1980
Posts: 17
Joined: 2003-04-07 09:54
Location: Bensheim
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by floyd1980 »

hi

@ mark
also wenn ich mich bei squirrelmail anmelde kommt das sofort. es werden die beiden frames angezeigt, im linken die meldung

Code: Select all

FEHLER : Aktion konnte nicht ausgeführt werden.
Anfrage: CREATE "INBOX.Sent"
Grund: Permission denied
und im rechten

Code: Select all

FEHLER : Aktion konnte nicht ausgeführt werden.
Anfrage: SELECT "INBOX"
Grund: Mailbox does not exist
die /var/log/messages
sagt dazu folgendes

Code: Select all

May 17 12:33:38 p15131019 master[22810]: about to exec /usr/lib/cyrus/bin/imapd
May 17 12:33:38 p15131019 imap[22810]: executed
May 17 12:33:38 p15131019 imapd[22810]: accepted connection
May 17 12:33:38 p15131019 PAM-warn[11706]: function=[pam_sm_authenticate] service=[imap] terminal=[<unknown>] user=[web1p1] ruser=[<unknown>] rhost=[<unknown>]
May 17 12:33:38 p15131019 PAM-warn[11706]: function=[pam_sm_acct_mgmt] service=[imap] terminal=[<unknown>] user=[web1p1] ruser=[<unknown>] rhost=[<unknown>]
May 17 12:33:38 p15131019 imapd[22810]: login: localhost.localdomain[127.0.0.1] web1p1 plaintext
May 17 12:33:39 p15131019 imapd[22810]: accepted connection
kann mir nicht wirklich vorstellen was die meldung mit "Permission denied" bedeuten soll ich hab unter /squirrelmail alle rechte mir angeschaut und nichts ungewöhnliches gefunden

bye floyd1980
mark
Posts: 295
Joined: 2003-04-15 16:48
Location: Oldenburg
Contact:
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by mark »

Mh..

Geh mal in deine Squirrelmail-Config (configure aufrufen) und probier mal:

- D
- cyrus
- <any key>
- S

Ansonsten probier es mal mit einem anderen IMAP Programm (Mozilla Messenger, Outlook, The Bat, ...) .

Gruß
Mark
floyd1980
Posts: 17
Joined: 2003-04-07 09:54
Location: Bensheim
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by floyd1980 »

Hi

@ mark
also wenn ich dies tu dann steht da


Code: Select all

Command >> cyrus

              imap_server_type = cyrus
         default_folder_prefix = <none>
                  trash_folder = INBOX.Trash
                   sent_folder = INBOX.Sent
                  draft_folder = INBOX.Drafts
            show_prefix_option = false
          default_sub_of_inbox = true
show_contain_subfolders_option = false
            optional_delimiter = .
                 delete_folder = false

Press any key to continue...
ich tipp dann die any-key taste und speicher.
ändern tut sich dann aber nichts, also nach dem login sind weiterhin die felhermeldungen.

bye floyd1980
mark
Posts: 295
Joined: 2003-04-15 16:48
Location: Oldenburg
Contact:
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by mark »

Hi,

Dann zeig mal bitte noch di Logeinträge vom cyrus-imapd.

Die Logausgabe von Cyrus-Imapd läuft auf local6.debug. Diese sollte normalerweise in die /var/log/localmessages laufen.

Wenn du ein seperates Logfile haben willst, dann trage

Code: Select all

local6.debug                    /var/log/imapd.log
ans Ende in die /etc/syslog.conf ein und mach einen "/etc/init.d/syslogd restart".

Dann schau mal, ob Du da was im logfile (dann entweder /var/log/imapd oder /var/log/localmessages) siehst.

Nachtrag:
1. Starte bitte nochmals die go_create.sh aus meinem Paket und probier es dann nochmals (Nicht, dass einfach nur die Box komplett fehlt).
2. Zeig mal ein mailbox/listallmailboxes.pl (auch aus dem cyrus-control paket)

Gruß
Mark
floyd1980
Posts: 17
Joined: 2003-04-07 09:54
Location: Bensheim
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by floyd1980 »

hi

@ mark
okay hab ich gemacht

die /var/log/localmessages sagt in dem moment in dem ich bei der squirrelmail anmeldung auf login klicke folgendes (per tail -f localmessages)

Code: Select all

May 17 12:57:44 p15131019 imapd[23062]: accepted connection
May 17 12:57:44 p15131019 imapd[23062]: login: localhost.localdomain[127.0.0.1] web1p1 plaintext
May 17 12:57:45 p15131019 imapd[23062]: accepted connection
May 17 12:57:45 p15131019 imapd[23062]: login: localhost.localdomain[127.0.0.1] web1p1 plaintext
May 17 12:57:45 p15131019 imapd[23062]: accepted connection
May 17 12:57:45 p15131019 imapd[23062]: login: localhost.localdomain[127.0.0.1] web1p1 plaintext
bye floyd1980
mark
Posts: 295
Joined: 2003-04-15 16:48
Location: Oldenburg
Contact:
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by mark »

Und die Nachträge ?
1. Starte bitte nochmals die go_create.sh aus meinem Paket und probier es dann nochmals (Nicht, dass einfach nur die Box komplett fehlt).
2. Zeig mal ein mailbox/listallmailboxes.pl (auch aus dem cyrus-control paket)
Gruß
mark
floyd1980
Posts: 17
Joined: 2003-04-07 09:54
Location: Bensheim
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by floyd1980 »

hi

oh sorry völlig vergessen :oops:

ausgabe von go_create.sh

Code: Select all

p15131019:~/confixx/cyrus-control # ./go_create.sh
Brauche Mailbox fuer: autoresp -> localhost (50000)
Brauche Mailbox fuer: web1p1 -> localhost (50000)
Brauche Mailbox fuer: web1p2 -> localhost (50000)
Brauche Mailbox fuer: web1p3 -> localhost (50000)
Brauche Mailbox fuer: web1p4 -> localhost (50000)
Brauche Mailbox fuer: web1p5 -> localhost (50000)
ausgabe von listallmailboxes.pl

Code: Select all

p15131019:~/confixx/cyrus-control/mailbox # ./listallmailboxes.pl
autoresp (localhost)
web1p1 (localhost)
web1p2 (localhost)
web1p3 (localhost)
web1p4 (localhost)
web1p5 (localhost)
bye floyd1980
mark
Posts: 295
Joined: 2003-04-15 16:48
Location: Oldenburg
Contact:
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by mark »

Hi,

und ? gehts nun ?

Gruß
mark
floyd1980
Posts: 17
Joined: 2003-04-07 09:54
Location: Bensheim
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by floyd1980 »

oho

krass nun tut sich da was

ich denke das war es... lag das nun wirklich nur an den zwei scripts die nochmal auszuführen...


hmm ich werd mal testen ob SquirrelMail nun so tut wie ich es mir vorstelle

aber danke schonmal im voraus
mark
Posts: 295
Joined: 2003-04-15 16:48
Location: Oldenburg
Contact:
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by mark »

Was für eine Geburt...

Hätte ich aber eigentlich auch eher sehen können... :oops:

Dann bau nun noch die test.pl hinter dein counterscript und das sollte reichen :)..

das werde ich gleich noch zu meinem Anleitungswiki hinzufügen.

Edit:
Geschehen: Neue Version unter http://wiki.lamp4you.org/index.php?page=CyrusControl

Gruß
Mark
floyd1980
Posts: 17
Joined: 2003-04-07 09:54
Location: Bensheim
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by floyd1980 »

grüße

so hoffe ich bekomm nochmal hilfe. die suchfunktion in dem forum geht leider nicht, sie bricht ab. :?

mein postfix-cyrus-squirrelmail aufbau hat noch einige fehler

der versand (senden & empfang) per outlook geht wunderbar und auch der empfang per squirrelmail läuft nur das senden bei squirrelmail läuft in eine fehlermeldung

Code: Select all

Transaktion fehlgeschlagen
Server antwortete: 554 <musikmichael@gmx.de>: Relay access denied
die /var/log/mail sagt dazu dies:

Code: Select all

May 20 14:20:05 p15131019 postfix/smtpd[5366]: connect from localhost.localdomain[127.0.0.1]
May 20 14:20:05 p15131019 postfix/smtpd[5366]: 8EFF314012B: client=localhost.localdomain[127.0.0.1]
May 20 14:20:05 p15131019 postfix/smtpd[5366]: reject: RCPT from localhost.localdomain[127.0.0.1]: 554 <musikmichael@gmx.de>: Relay access denied; from=<web1p1@trustit-gateway.net> to=<musikmichael@gmx.de>
May 20 14:20:10 p15131019 postfix/smtpd[5366]: lost connection after RCPT from localhost.localdomain[127.0.0.1]
May 20 14:20:10 p15131019 postfix/smtpd[5366]: disconnect from localhost.localdomain[127.0.0.1]
woran könnte das liegen ?

bye floyd1980
mark
Posts: 295
Joined: 2003-04-15 16:48
Location: Oldenburg
Contact:
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by mark »

Hi,

das ist ein typisches SMTP-Auth / pop before smtp problem.

Mach dazu mal ein neues thema auf (neues Problem, damit auch leute schauen) und zeig uns ein "postconf -n".

bzw. such hier mal im Forum nach postfix, smtp-auth und so. (Momentan funktioniert die Board Suche)

Hast du in deinem MUA (Mail Client) auch smtp-auth aktiviert ?

Gruß
Mark
floyd1980
Posts: 17
Joined: 2003-04-07 09:54
Location: Bensheim
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by floyd1980 »

grüße

@ mark
okay, danke. ich hatte mir schon fast gedacht das es dieses problem sein könnte, ich werd mal alle daten zusammenfassen/sammeln, und ein neues thema starten.

bye floyd1980
theomega
Userprojekt
Userprojekt
Posts: 696
Joined: 2003-01-27 14:36
Contact:
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by theomega »

Ich weiß, das das Thema schon älter ist, hätte aber da noch eine Frage:
beim Aufruf der test.pl meckter Perl:

Code: Select all

Can't call method "authenticate" on an undefined value at /etc/cyrus-control/mailbox/listmailbox.pl line 12.
Fehler beim schliessen:  at ./create_mailboxes.pl line 34.
Can't call method "authenticate" on an undefined value at /etc/cyrus-control/mailbox/listmailbox.pl line 12.
Fehler beim schliessen:  at ./delete_old_mailboxes.pl line 34.
was heißt das? Ich habe die rpms installiert und dann noch die perl-module compiliert, nachdem es nicht ging, jetzt hat sich der Fehler geändert!

Danke
TO
mark
Posts: 295
Joined: 2003-04-15 16:48
Location: Oldenburg
Contact:
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by mark »

Hi,

ich weiss das klingt simpel:

Aber "läuft" dein cyrus-imapd auch ?

Ich selber habe mal gerade meine cyrus-imapd gestoppt und dann bekomm ich genau dieselbe Fehlermeldung.

Code: Select all

Can't call method "authenticate" on an undefined value at /etc/cyrus-control/mailbox/listmailbox.pl line 12. 
Das heisst nichts anderes, als das er sich nicht einloggen konnte (,weil zum Beispiel der Server nicht da ist, oder weil die Adresse in der config.pl nicht richtig ist, oder weil dein Server nicht auf localhost lauscht, ...)

Geht denn ein "telnet localhost 143" (kannst mit "01 logout" wieder sauber beenden, wenn du einen connect bekommst)?

Sollte der imapd laufen und das mit dem telnet funktionieren, dann zeig mir mal bitte, was in der /var/log/messages oder wohin deine Imap-Nachrichten gehen...

BTW:
Wenn du sowas bekommst:

Code: Select all

Login failed: authentication failure at /usr/lib/perl5/site_perl/5.6.1/i586-linux/Cyrus/IMAP/Admin.pm line 114
dann ist der Benutzername oder das Passwort falsch.

Gruß
Mark
theomega
Userprojekt
Userprojekt
Posts: 696
Joined: 2003-01-27 14:36
Contact:
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by theomega »

Man bin ich blöd, daran lags, allerdings ist der nächste Fehler nicht weit, bei jedem Script (von deinen) bekomm ich jetzt diesn Fehler hier:

Code: Select all

Login failed: generic failure at /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Cyrus/IMAP/Admin.pm line 114
per cyradmin komm ich problemlos in die cyrus-konsole, daran liegt es also nicht. Weil meines wissens nach ist cyradmin ja auch perl, sollte also aufs gleiche zugriefen!
crocodoc
Posts: 27
Joined: 2002-10-07 14:29
Location: Rehau
Contact:
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by crocodoc »

Hallo hab leider das selbe Problem.

Cyrus läuft und per Telnet komm ich auch local rein (Zu testzwecken imap auf 144 gelegt!). Wenn ich aber test.pl aufrufe kommt der selbe Fehler:

Code: Select all

Login failed: authentication failure at /usr/lib/perl5/site_perl/5.6.0/i586-linux/Cyrus/IMAP/Admin.pm line 114 
Was meist Du mit:

Code: Select all

BTW: 
Wenn du sowas bekommst: 
Code: 
Login failed: authentication failure at /usr/lib/perl5/site_perl/5.6.1/i586-linux/Cyrus/IMAP/Admin.pm line 114 

dann ist der Benutzername oder das Passwort falsch. 
Das Pw das für Cyrus gesetzt wurde? Oder die Mailbox-Pw's?
jlinker
Posts: 248
Joined: 2002-07-08 20:07
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by jlinker »

Ich habe einen neu initialisierten 1&1 Server mit Suse8.1. Beim Kompilieren von cyrus erhalte ich beim make folgenden Fehler:

gcc -L/usr/local/lib -Wl,-rpath,/usr/local/lib -Wall -g -O2 -o master master.o masterconf.o cyrusMasterMIB.o ../lib/lock_fcntl.o -lucdagent -lucdmibs -lsnmp -lssl -lcrypto -lresolv -ldb-4.0 ../et/libcom_err.a ../lib/libcyrus_min.a
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../libucdmibs.so: undefined reference to `hosts_ctl'
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../libucdmibs.so: undefined reference to `deny_severity'

Ideen :?: :roll:
Outlaw
Posts: 1500
Joined: 2002-12-04 10:22
Location: 4. Server von rechts, 2. Reihe von oben
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by Outlaw »

Ich wollte das Ganze mal unter Suse 8.2 machen:

Code: Select all

********************************************************
* WARNING:
* Plugins are being installed into /usr/local/lib/sasl2,
* but the library will look for them in /usr/lib/sasl2.
* You need to make sure that the plugins will eventually
* be in /usr/lib/sasl2 -- the easiest way is to make a
* symbolic link from /usr/lib/sasl2 to /usr/local/lib/sasl2,
* but this may not be appropriate for your site, so this
* installation procedure won't do it for you.
*
* If you don't want to do this for some reason, you can
* set the location where the library will look for plugins
* by setting the environment variable SASL_PATH to the path
* the library should use.
********************************************************
Was kann oder was muss ich machen ??

Sorry, hab noch nie einen "Symbolic Link" gemacht ....

Gibt es eine Option, um die Plugins gleich in den richtigen Pfad installieren zu lassen ??

Gruß Outi
:D Gruß Outi :D
Outlaw
Posts: 1500
Joined: 2002-12-04 10:22
Location: 4. Server von rechts, 2. Reihe von oben
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by Outlaw »

Nochwas: Beim imapd make bekam ich mehrmals:

Code: Select all

warning: comparison between signed and unsigned
und eine Meldung (sorry, hab sie nicht mehr im Cache finden können), die auf den Verstoss der Aliasing Regeln hinwies ....

Gruß Outi
:D Gruß Outi :D
Anonymous
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by Anonymous »

Ich bekomme beim make install vom cyrus folgenden fehler
make[1]: Entering directory `/root/bins/cyrus-imapd-2.1.14/master'
./../install-sh -d /usr/local/imapd/bin
for file in master;
do
/usr/bin/install -c -m 755 $file /usr/local/imapd/bin || exit 1;
done
/usr/bin/install: cannot stat `master': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/root/bins/cyrus-imapd-2.1.14/master'
make: *** [install] Error 1
Bis dahin rennt alles ohne probleme, SASL lies sich ohne probleme installieren.

das verzeichnis /usr/local/imapd/ wurde angelegt vom install, aber mehr nicht ...
Outlaw
Posts: 1500
Joined: 2002-12-04 10:22
Location: 4. Server von rechts, 2. Reihe von oben
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by Outlaw »

Ich habe es aufgegeben und alles wieder rückgängig gemacht, da weder die Pfade stimmten, noch trotz aller erfolgreichen checks irgendwelche Mails gesendet oder empfangen wurden ....

Gruß Outi
:D Gruß Outi :D
mcdoogle
Posts: 178
Joined: 2003-07-15 13:36
 

Cyrus unter Debian

Post by mcdoogle »

Also was Ihr hier mit dem Cyrus treibt ist ja obercool!
Drum mach ich hier mal einen Einschub:

Ich beschaeftige mich auch schon ne weile mit dem Tool und verzweifle ab und an mal wieder.
Kann mir jemand sagen, wieso unter Debain das fertige Cyrus Paket so komplett anders gebastelt ist? Da gibts keine cyrus.conf und sieve find ich auch niergends!

Dank an Euch!
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by captaincrunch »

Vermutlich, weil Debian auf eine steinalte Cyrus-Version setzt ?!? ;)
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
mcdoogle
Posts: 178
Joined: 2003-07-15 13:36
 

Re: Cyrus Imapd und Confixx - Script (cyrus-control 0.2)

Post by mcdoogle »

Mit anderen Worten:

Ich compilier doch mal lieber selber!
Post Reply