Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301610 - >=net-mail/vpopmail-5.4.19 with USE=maildrop produces preline errors in qmail
Summary: >=net-mail/vpopmail-5.4.19 with USE=maildrop produces preline errors in qmail
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Benedikt Böhm (RETIRED)
Depends on:
Reported: 2010-01-20 11:43 UTC by Phillip Merensky
Modified: 2010-02-20 11:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Phillip Merensky 2010-01-20 11:43:28 UTC
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

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:
      if ( limits.disable_maildrop==0 && vpw!=NULL &&
           !(vpw->pw_gid & NO_MAILDROP) ) {
        sprintf(maildrop_command, "| preline %s", MAILDROP_PROG);
        DeleteMail = 1;

It seems that MAILDROP_PROG is undefined.
Comment 1 Benedikt Böhm (RETIRED) gentoo-dev 2010-02-20 11:03:29 UTC
please try if this is still an issue with 5.4.30-r1 and reopen this bug with ${S}/config.h attached