Hallo an alle,
ich hänge hier mit sieve vielleicht kann mir jemand helfen. Der Mailserver auf suse 9.2 mit cyrus, postfix, amavis, spamassissin läuft. Jetzt möchte ich die mails mit sieve (smartsieve) filtern. Aber die Anmeldung mit sieveshell schlägt fehl. Hier mal ein paar Info's:
Meine imapd.conf:
------------
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
#
# 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
---------------
Die Ausgabe beim versuch mich mit sieveshell anzumelden:
-------------
com2:/var/spool/fax # sieveshell -u stefan -a cyrus localhost
connecting to localhost
Please enter your password:
unable to connect to server at /usr/bin/sieveshell line 169, <STDIN> line 1.
------------
Die dazugehörige Meldung in der /var/log/messages
--------
Dec 10 14:48:56 com2 master[4930]: about to exec /usr/lib/cyrus/bin/timsieved
Dec 10 14:48:56 com2 sieve[4930]: executed
Dec 10 14:48:56 com2 sieve[4930]: accepted connection
Dec 10 14:48:58 com2 perl: No worthy mechs found
Dec 10 14:48:58 com2 master[3731]: process 4930 exited, status 0
----------
Das ergebnis von testsaslauthd
-----------------
com2:/var/spool/fax # testsaslauthd -u stefan -p geheim
0: OK "Success."
----------------
Das Ergebnis ist für alle Benutzer identisch.
Ein Test mit sivtest ergibt folgendes
-----------------------
com2:~ # sivtest -u stefan -a cyrus localhost
S: "IMPLEMENTATION" "Cyrus timsieved v2.2.8"
S: "SASL" "LOGIN"
S: "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress
relational regex"
S: OK
C: AUTHENTICATE "LOGIN"
S: {12}
S: VXNlcm5hbWU6
Please enter your password:
{8+}
C: Y3lydXM=
S: {12}
S: UGFzc3dvcmQ6
{8+}
C: NzE4ZHB5
S: NO "Authentication Error"
Authentication failed. generic failure
Security strength factor: 0
C: LOGOUT
Connection closed.
-----------
Vielleicht hat ja von euch noch jemand eine Idee, ich im Moment nicht mehr.
Gruß
Stefan
ich hänge hier mit sieve vielleicht kann mir jemand helfen. Der Mailserver auf suse 9.2 mit cyrus, postfix, amavis, spamassissin läuft. Jetzt möchte ich die mails mit sieve (smartsieve) filtern. Aber die Anmeldung mit sieveshell schlägt fehl. Hier mal ein paar Info's:
Meine imapd.conf:
------------
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
#
# 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
---------------
Die Ausgabe beim versuch mich mit sieveshell anzumelden:
-------------
com2:/var/spool/fax # sieveshell -u stefan -a cyrus localhost
connecting to localhost
Please enter your password:
unable to connect to server at /usr/bin/sieveshell line 169, <STDIN> line 1.
------------
Die dazugehörige Meldung in der /var/log/messages
--------
Dec 10 14:48:56 com2 master[4930]: about to exec /usr/lib/cyrus/bin/timsieved
Dec 10 14:48:56 com2 sieve[4930]: executed
Dec 10 14:48:56 com2 sieve[4930]: accepted connection
Dec 10 14:48:58 com2 perl: No worthy mechs found
Dec 10 14:48:58 com2 master[3731]: process 4930 exited, status 0
----------
Das ergebnis von testsaslauthd
-----------------
com2:/var/spool/fax # testsaslauthd -u stefan -p geheim
0: OK "Success."
----------------
Das Ergebnis ist für alle Benutzer identisch.
Ein Test mit sivtest ergibt folgendes
-----------------------
com2:~ # sivtest -u stefan -a cyrus localhost
S: "IMPLEMENTATION" "Cyrus timsieved v2.2.8"
S: "SASL" "LOGIN"
S: "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress
relational regex"
S: OK
C: AUTHENTICATE "LOGIN"
S: {12}
S: VXNlcm5hbWU6
Please enter your password:
{8+}
C: Y3lydXM=
S: {12}
S: UGFzc3dvcmQ6
{8+}
C: NzE4ZHB5
S: NO "Authentication Error"
Authentication failed. generic failure
Security strength factor: 0
C: LOGOUT
Connection closed.
-----------
Vielleicht hat ja von euch noch jemand eine Idee, ich im Moment nicht mehr.
Gruß
Stefan