Talk:Secure Mail Server using Postfix, DSPAM and Dovecot

From Gentoo Linux Wiki

Jump to: navigation, search

Contents

[edit] Spanish Translation

  • Hi, I have written a translation of this article in the Spanish Site. If there are something that i should add, please say it to me. Thank you. I wait for new releases. (sorry for my bad english) AnimAlf 04:53, 7 October 2006 (UTC)

[edit] Adding users

  • I'm not sure how to easily add users to the mysql database, with an already encrypted md5 password... :-\

[edit] Dovecot version

  • What is the dovecot version used in this HowTo ?
This howto should work for any version of dovecot currently in portage. Please detail any differences you find. --AllenJB 23:07, 11 August 2007 (UTC)

[edit] SQL tables

  • Hei, if you put all the sql tables.. we can could use this tutorial :)

[edit] domain is empty

hello! my  %u variable in sql auth part contains only part before "@", and the rest is empty. here is output :

dovecot: Oct 27 13:07:14 Info: auth-worker(default): sql(test,10.10.0.7): query: SELECT `username` as `user`, `password` FROM `mailbox` WHERE `username` = 'test@' AND `active`='1'
dovecot: Oct 27 13:07:14 Info: auth-worker(default): sql(test,10.10.0.7): unknown user
dovecot: Oct 27 13:07:14 Info: auth(default): client out: FAIL  1       user=test
dovecot: Oct 27 13:07:14 Info: pop3-login: Disconnected: user=<test>, method=PLAIN, rip=10.10.0.7, lip=10.10.0.1
dovecot: Oct 27 13:07:17 Info: auth(default): client in: AUTH   1       PLAIN   service=POP3    lip=10.10.0.1   rip=

http://forums.gentoo.org/viewtopic-p-3675704.html

[edit] ktelnet

What is ktelnet? http://www.stacken.kth.se/~thn/ktelnet/ ? Is it necessary? I cant find an e-build for it. Jayvdb 04:22, 15 January 2007 (UTC)

You don't need to use ktelnet. I've updated the article to specifically mention telnet-bsd, which definitely is in the Gentoo package tree. --AllenJB 23:00, 11 August 2007 (UTC)

[edit] Multiple Instances / How to get Dovecot to use different SSL-Certificates on different IPs

Hi,

I've been using courier for some time on a server that has multiple IPs. I have set up multiple instances of courier, so that each one serves one IP and thus can present the correct SSL-Cert for that (logic) Host.

I am now thinking about switching to Dovecot, but have the problem, that I cannot have Dovecot write its pid-file to somewhere else than /var/run/dovecot/master.pid. Is there any way to change this behaviour (say write the pid to a file name given via a parameter) or is there a way I can tell Dovecot to use Certificate A for IP A and Certificate B for IP B?

[edit] postfixadmin Password

In order for the htpasswd to work, you need to add a directive in Apache (either your main configuration files or through .htaccess.) A great tutorial on how to do this can be found on Apache's site.

http://httpd.apache.org/docs/1.3/howto/auth.html

Basically the htpasswd2 command is only used to create the password hash used by Apache's authentication.

[edit] virtual mailbox is empty

When I executed :

# postqueue -p

I have some messages but when I check on the virtual mailbox is empty.

Where I configure the dispatch?

[edit] alternate HowTo for combination with exim

I've written an alternate HowTo which is using exim instead of postfix, but integrates well with dovecot and a central MySQL-database for virtual email users: http://struction.de/projects/HOWTO_VirtualMail_Exim-MySQL-Spamassassin-ClamAV-Dovecot

Personal tools