[Postfixbuch-users] Ich will auch mal was fragen: maildrop won't deliver correctly

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Fr Mär 7 17:27:03 CET 2008


Ich bin ja so froh dass ich bei MIR den stinkenden Courier-Müll
getilgt habe. Andere sind nicht so glücklich, bitte, helft mir.

WTF ist hier wieder br0ken?

# dpkg -l "courier*" | egrep "^ii"
ii  courier-authdaemon     0.58-4           Courier authentication daemon
ii  courier-authlib        0.58-4           Courier authentication library
ii  courier-authlib-mysql  0.58-4           MySQL support for the Courier authentication
ii  courier-authlib-userdb 0.58-4           userdb support for the Courier authenticatio
ii  courier-base           0.53.3-5         Courier Mail Server - Base system
ii  courier-imap           4.1.1.20060828-5 Courier Mail Server - IMAP server
ii  courier-imap-ssl       4.1.1.20060828-5 Courier Mail Server - IMAP over SSL
ii  courier-maildrop       0.53.3-5         Courier Mail Server - Mail delivery agent
ii  courier-pop            0.53.3-5         Courier Mail Server - POP3 server
ii  courier-ssl            0.53.3-5         Courier Mail Server - SSL/TLS Support

Debugging log:

Mar  7 14:33:46 m6s14 authdaemond: received userid lookup request: hildeb at frey.info
Mar  7 14:33:46 m6s14 authdaemond: authmysql: trying this module
Mar  7 14:33:46 m6s14 authdaemond: SQL query: SELECT username, password_enc, "", uid, gid, homedir, maildir, "", "", "" FROM mail_users WHERE username = "hildeb at frey.info"
Mar  7 14:33:46 m6s14 authdaemond: Authenticated: sysusername=<null>, sysuserid=2000, sysgroupid=2000, homedir=/var/kunden/mail/, address=hildeb at frey.info, fullname=<null>, maildir=frey/hildeb at frey.info/, quota=<null>, options=<null>

Mar  7 14:33:46 m6s14 postfix/pipe[30821]: 38B8456624: to=<hildeb at frey.info>, relay=maildrop, delay=0.26, delays=0.07/0.02/0/0.18, dsn=2.0.0, status=sent (delivered via maildrop service)

Maildrop is invoked from postfix as:

maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail:vmail argv=/usr/bin/maildrop -d ${recipient}

Maildrop logs this:

####
home: /var/kunden/mail/
default: ./Maildir
Maildir:
####
Date: Fri Mar  7 14:33:46 2008
From: Ralf Hildebrandt <Ralf.Hildebrandt at charite.de>
Subj: d
File: ./Maildir (2242)

authdaemond CORRECTLY returned:
homedir=/var/kunden/mail/, 
maildir=frey/hildeb at frey.info/, 

So WHY is maildrop not seeing this maildir value returned by the
authdaemond?? It should deliver to $home + $Maildir = /var/kunden/mail/frey/hildeb at frey.info/

-- 
Ralf Hildebrandt (Ralf.Hildebrandt at charite.de)          snickebo at charite.de
Postfix - Einrichtung, Betrieb und Wartung       Tel. +49 (0)30-450 570-155
http://www.arschkrebs.de
Look what sendmail just dragged in: 
Ah, so if SMTP is a dog, does that imply that sendmail is a cat? It'd
make sense, given that cats will often drag in nasty little dying
things & drop them lovingly in front of you.  
A female cat. Because sometimes, sendmail is a bitch. 



Mehr Informationen über die Mailingliste Postfixbuch-users