Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191168 - separate TLS and AUTH patches in netqmail
Summary: separate TLS and AUTH patches in netqmail
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Qmail Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-03 17:48 UTC by Mike Williams
Modified: 2009-07-07 20:53 UTC (History)
0 users

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


Attachments
turn auth on and off at runtime (netqmail-1.05-optional-tls-without-auth.patch,962 bytes, patch)
2007-09-03 22:51 UTC, Mike Williams
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Williams 2007-09-03 17:48:06 UTC
Hi,

On some of the various mail servers I run I have absolutely no use for authentication, but encryption is always a nice thing to have.
In addition, some vulnerability scanners pick up on the availability of PLAIN and/or LOGIN authentication methods as a potential security issue. It isn't, as I know full well no one uses it, but that isn't the point.

The TLS and SMTP-AUTH patches come from separate sources anyway, can they be applied separately, and optionally please?
It'd perhaps be more sensible to not offer any AUTH mechanisms if QMAIL_SMTP_CHECKPASSWORD isn't set, but I have almost no knowledge of C.

Thanks
Mike
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-03 17:54:48 UTC
So set your USE flags accordingly if you don't want the patches.
Comment 2 Mike Williams 2007-09-03 22:49:12 UTC
USE=-ssl then? That isn't very useful.
Encryption and authentication are different patches, from different locations, combined by a third party. They aren't dependant on each other, although the patches can't be applied together separately due to at least one conflict.
So, I wrote a simple patch of my own to turn auth on and off at runtime. You can already turn encryption on and off in almost exactly the same way (i.e. by having or not having a cert).

Mike
Comment 3 Mike Williams 2007-09-03 22:51:10 UTC
Created attachment 129953 [details, diff]
turn auth on and off at runtime

If control/noauth exists qmail-smtpd won't promote any AUTH capability, although it's likely still possible it'll be able too.
Don't set QMAIL_SMTP_CHECKPASSWORD and it wouldn't be able to anyway.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-09-03 22:59:08 UTC
Erm, you apparently misunderstood the whole thing. We are not adding *more* patches, the whole point of this ebuild is to make it maintainable, not a horrible patches mess like qmail.

If you dislike the patches provided in the ebuild, then turn off the use flag that applies them and use QMAIL_PATCH_DIR to apply your own ones instead (and maintain the patches yourself).