| Summary: | >=net-mail/vpopmail-5.4.19 with USE=maildrop produces preline errors in qmail | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Phillip Merensky <gentoo> |
| Component: | New packages | Assignee: | Benedikt Böhm (RETIRED) <hollow> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | critical | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
please try if this is still an issue with 5.4.30-r1 and reopen this bug with ${S}/config.h attached
|
The stable version 5.4.16 of vpopmail did not longer compile so I tried the keyword masked ones. After emerging vpopmail >=5.4.19 with maildrop useflag I got "delivery 595: deferral: /bin/sh:_preline:_command_not_found/" errors within the qmail-send log. Reproducible: Always Steps to Reproduce: 1. emerge >=net-mail/vpopmail-5.4.19 with USE=maildrop 2. grep preline /var/log/qmail/qmail-send/current 3. Actual Results: "delivery 595: deferral: /bin/sh:_preline:_command_not_found/" errors within the qmail-send logand thus no correct mail delivery!! Expected Results: no errors To resolve this issue I linked "preline" into /usr/bin (lrwxrwxrwx 1 root root 22 20. Jan 11:20 /bin/preline -> /var/qmail/bin/preline). After the linking I got "delivery 7: failure: preline:_usage:_preline_cmd_[_arg_..._]/" errors in the qmail log. This made me think that something in vpopmail must have changed which is why I checked the source. vpopmail-5.4.16 does not contain preline in its sources at all whereas versions >= 5.4.19 contain this code lines in vdelivermail.c: #ifdef MAILDROP if ( limits.disable_maildrop==0 && vpw!=NULL && !(vpw->pw_gid & NO_MAILDROP) ) { sprintf(maildrop_command, "| preline %s", MAILDROP_PROG); run_command(maildrop_command); DeleteMail = 1; return(0); } #endif It seems that MAILDROP_PROG is undefined.