Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10650 - SASL2 Config /etc/sasl2/smtpd.conf in wrong default location
Summary: SASL2 Config /etc/sasl2/smtpd.conf in wrong default location
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-12 17:12 UTC by Richard C
Modified: 2003-02-04 19:42 UTC (History)
0 users

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 Richard C 2002-11-12 17:12:55 UTC
By default SASL2 is looking for the smtpd.conf file in /usr/lib/sasl2, the
plugin directory or in location in the environment variable SASL_PATH.

The Postfix ebuild places it in /etc/sasl2.

Resolution ?
1) Put it in /usr/lib/sasl2

or

2) Patch Cyrus SASL2 to look for config files under /etc/sasl2.  Cyrus SASL does
not look for config files in the location set by --configdir.  Version 1 ebuild
had a patch for this, 2 does not.

Setting SASL_PATH will not work because then all the plugins need to be under
/etc/sasl2
Comment 1 Nick Hadaway 2002-11-14 15:10:35 UTC
I have added -r1 of postfix to portage which changes the install location of 
smtpd.conf.  Please test and let me know if everything works for you.
Comment 2 Richard C 2002-11-14 19:36:14 UTC
Unmerged my existing, remerged this one, and it worked as expected.
Back to my local ebuild now though (newer release version & patches)
Comment 3 Nick Hadaway 2002-11-15 01:07:39 UTC
Out of curiosity, what version of postfix are you currently working with?  What 
modules extra are you using?  Is your build of postfix much different from the 
one I have in Gentoo currently?  Have any other comments on the postfix ebuild?
Comment 4 Richard C 2002-11-15 10:24:40 UTC
Postfix TLS extension from http://www.aet.tu-cottbus.de/personen/jaenicke/pfixtls/
pfixtls-0.8.11a-1.1.11-20021031-0.9.6g.tar.gz
(same as ebuild, just newer)

Virtual Delivery Agent Patches from http://www.oav.net/~kiwi/postfix/
postfix-1.1.11-20020822_quota.patch.gz  
These patches fail to apply on a README, but other then that work.
(I need the "Mailbox_Suffix" extension)

I don't use the IPV6 patches as they don't have a version against 20021031.
Comment 5 Nick Hadaway 2002-11-15 11:42:31 UTC
Well, anyway, thanks for the sasl fix.  It's good to know that sasl auth
actually works. :)