The mailing-list doesn't seem to like attachments so here is the patch
for amavisd-milter inline:
--- amavisd-milter/mlfi.c.orig 2007-07-27 14:02:47.068396000 +0200
+++ amavisd-milter/mlfi.c 2007-07-27 14:02:53.058402000 +0200
@@ -929,6 +929,18 @@
return SMFIS_TEMPFAIL;
}
+ /* Get queue id (Postfix) */
+ if (mlfi->mlfi_qid == NULL) {
+ const char *qid;
+ if ((qid = smfi_getsymval(ctx, "i")) != NULL) {
+ if ((mlfi->mlfi_qid = strdup(qid)) == NULL) {
+ logqidmsg(mlfi, LOG_ERR, "could not allocate memory");
+ mlfi_setreply_tempfail(ctx);
+ return SMFIS_TEMPFAIL;
+ }
+ }
+ }
+
/* MTA queue id */
if (mlfi->mlfi_qid != NULL) {
logqidmsg(mlfi, LOG_DEBUG, "queue_id=%s", mlfi->mlfi_qid);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/