Bug 231866 - ebuild for patch to ssmtp to expose MAXSYSUID in ssmtp.conf
|
Bug#:
231866
|
Product: Gentoo Linux
|
Version: 2008.0_beta2
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: net-mail@gentoo.org
|
Reported By: m27315@gmail.com
|
|
Component: Ebuilds
|
|
|
URL:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=490873
|
|
Summary: ebuild for patch to ssmtp to expose MAXSYSUID in ssmtp.conf
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2008-07-15 14:50 0000
|
For: mail-mta/ssmtp
The ssmtp program sends all mail to users with id < 1000 to "root". The
minimum user id cutoff (1000) is hard-coded in ssmtp.h as MAXSYSUID (999).
On some systems, real users exist below this 1000 threshold. So, this patch
was created to expose the MAXSYSUID threshold as a new "MinUserId" setting,
which defaults to 1000 (MAXSYSUID+1). If undefined in the ssmtp.conf,
MinUserId defaults to exactly MAXSYSUID+1, as defined by ssmtp.h.
The patch is simple and extends the flexibility of ssmtp with minimal fuss.
I have submitted the patch also to Debian, but since ssmtp has not been updated
for a while, I thought it might be good to submit the patch and ebuild here
too.
Thanks!
Trevor
Created an attachment (id=160450) [details]
patch to ssmtp.conf to include default MinUserId option with comment
Option is commented out by default, which will force usage of MAXSYSUID header
declaration by default.
Created an attachment (id=160454) [details]
patch to ssmtp.conf to include default MinUserId option with comment
Option is commented out by default, which will force definition from MAXSYSUID
header declaration.
Thanks for your patch Trevor! I bumped ssmtp to 2.62-r2 to include the patches
using a +maxsysuid use-flag.