Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45518 - qmail ebuilds leave variable out of qmail-pop3 run script
Summary: qmail ebuilds leave variable out of qmail-pop3 run script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
: 50093 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-23 10:18 UTC by John Caswell
Modified: 2004-07-04 17:15 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Caswell 2004-03-23 10:18:32 UTC
The environment variable QMAIL_TCPSERVER_PRE was missing from the pop3 run script, causing selecting relaying via pop-before-smtp to fail.

Reproducible: Always
Steps to Reproduce:
1.emerge qmail
2.emerge relay-ctrl
3.fix conf-smtp and conf-pop3 to allow for pop-before-smtp

Actual Results:  
Instead of selective relaying, server still refused to relay.

Expected Results:  
Should have allowed the IP of the authenticated pop user to relay messages for
30 minutes.

This is a really easy bug to fix.. also probably was easy to overlook.  Just change

exec /usr/bin/softlimit ${SOFTLIMIT_OPTS} \
     /usr/bin/tcpserver ....

to

exec /usr/bin/softlimit ${SOFTLIMIT_OPTS} \
     ${QMAIL_TCPSERVER_PRE} \
     /usr/bin/tcpserver ....
Comment 1 Alex V. Koval 2004-07-01 03:44:25 UTC
I think it was aleady fixed. check:

/service/qmail-smtpd
# Now run it all
exec /usr/bin/softlimit ${SOFTLIMIT_OPTS} \
    ${QMAIL_TCPSERVER_PRE} \
    /usr/bin/tcpserver ${TCPSERVER_OPTS} -x /etc/tcp.${SERVICE}.cdb \

also, good instructions are found in:
/var/qmail/control/conf-smtpd

Maintainers, pls close this bug as fixed/worksforme.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-07-04 17:11:32 UTC
fixed in cvs now.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-07-04 17:15:56 UTC
*** Bug 50093 has been marked as a duplicate of this bug. ***