By josephwilk
Hello,
I am attempting to follow this tutorial:
https://www.digitalocean.com/community/articles/how-to-set-up-a-postfix-e-mail-server-with-dovecot
I’ve been able to follow a number of tutorials successfully, with a small extra bit of Googling and troubleshooting, but this one has evaded me pretty early on, at the part of the tutorial as detailed below:
First, configure the master.cf file (in /etc/postfix/). Add an extra “smtpd” instance called “submission” that will take mail from trusted clients for delivery to the world at large, which we don’t allow for anyone else. To do that, open master.cf (take a look at man 5 master if you want to understand what’s going on) and uncomment the submission config and add options to enable SASL:
submission inet n - - - - smtpd -o syslog_name=postfix/submission -o smtpd_tls_wrappermode=no -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject -o milter_macro_daemon_name=ORIGINATING -o smtpd_sasl_type=dovecot -o smtpd_sasl_path=private/auth
My master.cf file is pasted here: http://pastebin.com/Su5jWKEf
And when I check my Postfix version number in Ubuntu 12.04, I receive this message:
user@server:~$ sudo postconf mail_version mail_version = 2.9.6
My issues are that 1) I don’t understand if that tutorial is asking me to only uncomment the lines listed and 2) several of those lines, specifically:
-o smtpd_sasl_type=dovecot -o smtpd_sasl_path=private/auth -o smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
don’t exist in my config file. I don’t know whether to add these lines or if the lack of these lines portends to some sort of problem.
Can anybody tell me how to proceed? I’ve managed to get as far as installing all kinds of things as a 100% newbie, thanks to help from the tutorials, Googling, and troubleshooting, but mail server set-up seems to be my kryptonite so far.
I tried posting to the tutorial itself, but my attempts to post always time-out. Thanks!
Cheers, Joseph
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
You want to use what is in the tutorial. From the master.cf file that you posted, uncomment the entire “submission” block , and then add the additional lines. Or you could just leave it all commented and past in the exact version from the tutorial underneath. <br> <br>Let us know how it goes and if you have anymore questions.
@astarr Thank you very much! I look forward to giving this the ol’ college try.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.