Thnx - this was a great step but not the final one. ltmpd offers only one auth-method to me : external
LHLO localhost 250-server.local 250-IGNOREQUOTA 250-8BITMIME 250-ENHANCEDSTATUSCODES 250-AUTH EXTERNAL 250 PIPELINING Guess this means the sasl-module. However it expects a base64-encoded-user/pass-string like described in your url. If I contribute something else I get a 'bad userid requested' in the syslog. If I contribute *any* base64-encoded string (no matter if the user/pass is valid or not) I get a 'only admins can authenticate' in the syslog. I tried to supply the valid encoded user-pass-string for the cyrusadmin as well and get the same error. any idea ? peter ps: I use perl -MMIME::Base64 -e 'print encode_base64("user\0user\0pass");' Y2RkeXJ1cwBjZGR5cnVzAGxvbG8= and then send auth external Y2RkeXJ1cwBjZGR5cnVzAGxvbG8= my imapd.conf: # cat /etc/imapd.conf configdirectory: /data/imap/config partition-default: /data/imap/spool admins: cyrus pilsl srvtab: /data/imap/srvtab allowanonymouslogin: no sasl_pwcheck_method: PAM tls_cert_file: /data/imap/config/server.pem tls_key_file: /data/imap/config/server.pem > > > I assume that you use the same commands as you would with SMTP. Here's a > summary: > http://groups.google.com/groups?selm=192699727.1006985626%40bacardi > > Please post (and cc me) if you get a working Perl script. I'm interested in > doing this too. You should also look at Bennett Todd's smtpprox; perhaps you > can derive an lmtpprox?: > http://bent.latency.net/smtpprox/ > > This is handy for writing filters in Perl that inject headers and > accept/deny based on statistics about the message being delivered. > > -- mag. peter pilsl phone: +43 676 3574035 fax : +43 676 3546512 email: [EMAIL PROTECTED] sms : [EMAIL PROTECTED] pgp-key available