Hi, thanks for replying so quickly. > But TMDA doesn't know anything about virtual users. You would have to > tell tmda-pending which config file to use, first, and perhaps in the > user's config file the CRYPT_KEY variable is defined, pointing to the > correct location?
Well, I tried to do that, but it didn't work. i put CRYPT-KEY="key that was generated" into .tmda/config (found that in some other email in the archive). Or at least, it didn't give me the desired results. > Exactly. How it knows is the question. We need more information > about how virtual users are configured with Courier. What system user > does Courier setuid to when it runs program deliveries (tmda-filter)? I'm using Courier with MySQL, so all users and their homedirs come out of a database. When an email message arrives, the database is queried... happens every time, of course, so TMDA should get it with the second mail as well. > A good place to start is with the .courier files that are run for each > user. Also, information from the Courier log relating to the original > message that TMDA re-sent would be helpful. The message should have > been sent during the delivery of the confirmation reply (from the > original sender), as I noted in the sequence at the top of your > message. Ok. I'm using mailfilter to relay mails to TMDA, ~/.mailfilter has import SENDER import RECIPIENT import EXTENSION to "| /usr/local/bin/tmda-filter" ~/.courier has | /usr/local/courier/bin/preline /usr/local/courier/bin/maildrop ~/.tmda/config has DELIVERY = "/usr/local/courier/var/mail/wiebke/Maildir/" right now, before it hat DELIVERY = "~/Maildir/" and nothing at all, which both didn't make a difference. LOGFILES After sending out the first mail: /var/log/maillog: Dec 10 21:59:05 avocado courieresmtpd: started,ip=[111.222.333.444] Dec 10 21:59:06 avocado courierd: newmsg,id=0002E25B.3FD7891A.0000AFBB: dns; mailserver1 (mailserver1 [111.222.333.444]) Dec 10 21:59:06 avocado courierd: started,id=0002E25B.3FD7891A.0000AFBB,from=<[EMAIL PROTECTED]>,module=local,[EMAIL PROTECTED]/usr/local/courier/var/mail/zac!!,addr=<[EMAIL PROTECTED]> Dec 10 21:59:06 avocado courierd: Waiting. shutdown time=none, wakeup time=Wed Dec 10 22:02:12 2003, queuedelivering=2, inprogress=1 Dec 10 21:59:06 avocado spamd[58252]: connection from localhost [127.0.0.1] at port 58313 Dec 10 21:59:06 avocado spamd[44996]: processing message <[EMAIL PROTECTED]> for courier:89. Dec 10 21:59:09 avocado spamd[44996]: clean message (0.1/5.0) for courier:89 in 2.9 seconds, 1478 bytes. Dec 10 21:59:10 avocado courierlocal: id=0002E25B.3FD7891A.0000AFBB,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>,size=1419,success: Message delivered. Dec 10 21:59:10 avocado courierd: completed,id=0002E25B.3FD7891A.0000AFBB Dec 10 21:59:10 avocado courierd: Waiting. shutdown time=Wed Dec 10 22:38:22 2003, wakeup time=Wed Dec 10 22:02:12 2003, queuedelivering=1, inprogress=0 logs/incoming: Date: Wed Dec 10 21:59:10 CET 2003 From: zac <[EMAIL PROTECTED]> Rept: zac <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subj: test Actn: CONFIRM action_incoming (1556) Date: Wed Dec 10 21:59:10 CET 2003 From: zac <[EMAIL PROTECTED]> Rept: zac <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subj: test Actn: CONFIRM pending 1071089950.44997.msg (1556) logs/debug: empty After replying to the "register" mail: /var/log/maillog: Dec 10 22:06:54 avocado courieresmtpd: started,ip=[111.222.333.444] Dec 10 22:06:57 avocado courierd: newmsg,id=0001CC12.3FD78AF1.0000B067: dns; mailserver1 (mailserver1 [111.222.333.444]) Dec 10 22:06:57 avocado courierd: started,id=0001CC12.3FD78AF1.0000B067,from=<[EMAIL PROTECTED]>,module=local,[EMAIL PROTECTED]/usr/local/courier/var/mail/zac!!,addr=<[EMAIL PROTECTED]> Dec 10 22:06:57 avocado courierd: Waiting. shutdown time=none, wakeup time=Wed Dec 10 22:07:23 2003, queuedelivering=2, inprogress=1 Dec 10 22:06:57 avocado spamd[58252]: connection from localhost [127.0.0.1] at port 58340 Dec 10 22:06:58 avocado spamd[45169]: processing message <[EMAIL PROTECTED]> for courier:89. Dec 10 22:07:02 avocado spamd[45169]: clean message (0.1/5.0) for courier:89 in 4.3 seconds, 1626 bytes. Dec 10 22:07:03 avocado courierlocal: id=0001CC12.3FD78AF1.0000B067,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>,size=1535,success: Message delivered. Dec 10 22:07:03 avocado courierd: completed,id=0001CC12.3FD78AF1.0000B067 Dec 10 22:07:03 avocado courierd: Waiting. shutdown time=Wed Dec 10 22:38:22 2003, wakeup time=Wed Dec 10 22:07:23 2003, queuedelivering=1, inprogress=0 logs/debug: empty logs/incoming: Date: Wed Dec 10 22:07:03 CET 2003 From: zac <[EMAIL PROTECTED]> Rept: zac <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subj: None Actn: CONFIRM accept 1071089950.44997.msg (1691) Date: Wed Dec 10 22:07:03 CET 2003 From: zac <[EMAIL PROTECTED]> Rept: zac <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subj: None Actn: CONFIRM_APPEND /usr/local/courier/var/mail/zac/.tmda/lists/confirmed(1691) That's it. Apparently it doesn't even try to send out that first email. What am I missing? Do i need some parameter --actually-send-first-mail? ;) Regards, Zac -- +++ GMX - die erste Adresse f�r Mail, Message, More +++ Neu: Preissenkung f�r MMS und FreeMMS! http://www.gmx.net _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
