Contributing to this document

Many parts of this tutorial were tried, researched and documented by helpful readers. If you would like to contribute to this tutorial you are invited to. Just use the "Add new comment" link at the bottom of each page. If possible your contributions will be added to the tutorial in the right places.

Comments

Make Postfix start AFTER Dovecot

Hi,

I had to make Postfix start after Dovecot, changing symlink /etc/rc2.d/S20postfix to /etc/rc2.d/S25postfix.

Without this, I had the following error after rebooting:

Jul 26 09:41:12 nix postfix/smtpd[2111]: warning: SASL: Connect to private/auth failed: No such file or directory
Jul 26 09:41:12 nix postfix/smtpd[2111]: fatal: no SASL authentication mechanisms
Jul 26 09:41:13 nix postfix/master[2048]: warning: process /usr/lib/postfix/smtpd pid 2111 exit status 1
Jul 26 09:41:13 nix postfix/master[2048]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jul 26 09:41:34 nix dovecot: dovecot v1.1.13 starting up (core dumps disabled)

What is strange is that I do not get this error when I start Postfix while Dovecot is stopped after booting!

Cheers, Julien

Fixed

Hi, It seems it was fixed with a new upload to unstable. Check http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543473 for further information. Cheers, Julien

Thanks for the great

Thanks for the great tutorial!

Thank you!

Just wanted to express my thanks for the excellent tutorial, really helpful!

Thank you so much

Thank you so much for this tutorial. Without, I'd have much more gray hair (and there are so manny by now). Really great: Easy to read, informatove and extremely helpful.

Thank you.

Btw: Ich hab auf einer XJ600 angefangen, zu moppeln. Sehr nett :)

Thanks for the feedback

Makes me wonder when the winter will end. I'm eager to get myself onto the bike again. :)

Thank you

Thank you for this great tutorial, my server is now working for several months perfectly and I used 90% of this tutorial.

The only thing I changed was to adapt it to Postfixadmin, which I have to apologize to because of the work you have done to do yours.

People like you are very valuable and respectable because they give to the others so much work and knowledge.

Patrice Vigier

Thank you

Thank you very much for this great tutorial; it is clear, accurate and easy to understand

and implement. so thanks again for your great efforts.

just I think the topic of mailing lists is missing. we need to know how to create a mailing list

such as noc@mydomain.com and add some users to this list..

it will be appreciated if you add this topic to this great tutorial.

thank you very much

Will do

Right. Somehow that slid from my todo list. I'll write about DKIM and mailman then.

easy_install ispwebadmin*.tar.gz Missing

I have gotten to the step of installing your Web Abmin app but when I run easy_install ispwebadmin*.tar.gz I get an error saying no packages found for this. Is there something wrong with the download or another way to get this installed?

 

Thanks!

What error?

Depends on what the actual error message says. Feel free to quote it. It it's complaining about missing Webhelpers then please try to install the newest version at http://workaround.org/sites/default/files/ispwebadmin-1.0.2.tar_.gz

Great!

Hello,


Danke for this great tutorial!

I followed it step by step, but there were some issues that I had to mess around with.

As many others, my biggest problem was dovecot/sasl.
The logfiles contained complainings about non-existing SASL authentification methods.

Well, I'm quite new to Debian (I had a Windows-Server before). But I'm quite clever, with the filemanager of Webmin I saw that /var/run/dovecot/auth-client is a pipe. Seems to me as if this is the pipe postfix and dovecot communicate through. In my opinion, this is a gap in your tutorial. Postfix and Dovecot point to different places. You advise the user who follows your tutorial to change the path to private/auth (relative to postfix chroot /var/spool/postfix). In postfix' chroot I found the private-folder and thought, "Oh, herein should be the 'auth'-pipe!" However, there was no file/folder/pipe/whatever with this name.
Then I got the idea to adjust dovecots config-file. I set the path in socket_listen > client to "/var/spool/postfix/private/auth". (The path under socket_listen > master still remains as is, in my config it is "/var/run/dovecot/auth-master".)

 


Thank you again! =)

What did I miss?

Thanks for your feedbak. Actually I'm not sure I missed anything. It sounds like you didn't find the hint on changing the dovecot.conf file to point to the /var/spool/postfix/private/auth file. Check out the page on setting up Dovecot where it deals with the "socket listen" section and its "client" setting. The reason the pipe/socket is located within /var/spool/postfix is that Postfix does not have access to the file system outside of its /var/spool/postfix directory.

Offering SSMTP

Hi Christoph,

first of all, thank you for the wonderful tutorial(s). I've used parts of your etch tutorial in the past, to set up IMAP on my small home server. It uses getmail to fetch my e-mail from various e-mail accounts and offers all e-mail centralized in a single account via IMAP.

I just finished setting up my first "real" mailserver, hosted on a vserver. So far everything works as expected, I've been able to successfully sent and receive a couple of test e-mails.

One thing I found to be missing is a bit more information on how to set up SSMTP via Port 465. You do mention a few security settings, and you do mention that you typically restrict "TLS only" to port 465, but I couldn't find anything on how to get postfix to actually use this port. Once you find it, the setup is straightforward (just uncomment a few lines in master.cf), but I guess it wouldn't hurt to mention this in the tutorial.

One other thing I found to be very useful on my home server is the ability to forward e-mail received by root or other system accounts to one of the virtual users. This way error messages from crontab etc. which get sent to root end up in my local mail (Just add a .forward file in the users home directory and place the e-mail address inside). Might be another nice addition ;)

Thanks,

Markus

Mailing Lists

Is there any way to include "mailing lists" into this setup?