Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291572 - net-mail/dovecot-1.2.6 ebuild incomplete SSL handling, job just half done
Summary: net-mail/dovecot-1.2.6 ebuild incomplete SSL handling, job just half done
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-02 12:57 UTC by Joakim
Modified: 2010-04-14 20:01 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 Joakim 2009-11-02 12:57:37 UTC
With USE=ssl set dovecot 1.2.6 does much less than one could expect by simply setting 2 non exsisting paths to the 'ssl_cert_file=' and 'ssl_key_file=' directives in dovecot.conf and totally leave out the fact the package actually have it's own script and configuration files to create certificates for imaps and pop3s. These files are simply deleted, possibly due to the maintainer missed their location at doc/mkcert.sh and doc/dovecot-openssl.cnf so they go when the dir is dumped.

I think they should be included if the ssl use flag is set, and they could probably be stored in /etc/dovecot (unless there is some other obvious location for it). 

However, either mkcert.sh also need to be sed'ed (as per default certs are created as '/etc/ssl/certs/dovecot.pem' and '/etc/ssl/private/dovecot.pem') to match path ebuild set for ssl_cert_file and ssl_key_file directives, or paths in dovecot.conf changed to the ones used by mkcert.sh - where the latter probably is the easier solution.

Reproducible: Always

Steps to Reproduce:
1. USE flag ssl is set
2. #emerge dovecot
3.




As is now it simply creates the annoyance the dovecot server will error even when doing a trival util task as dumping all non-default configuration items and exit (dovecot -n). So if not completing the job, comment out the ssl directives in dovecot.conf
Comment 1 Eray Aslan gentoo-dev 2010-04-08 06:12:32 UTC
Thank you for the bug report.  dovecot-1.2.11-r1 is in the tree which should solve this problem.  Please close the bug if it does.
Comment 2 Joakim 2010-04-14 20:01:04 UTC
it appears to be ok now, thanks.