I have recently purchased an SMTP server for my web app (I need to send account confirmation emails to my users and I don't want them to go into the SPAM folder, I will also be using it for email marketing.) and I'm following a guide found on this website. http://syslog.tv/2011/09/15/postfix-dovecot-imapimaps-sasl-maildir/ How ever when I go to restart all the applications I get two errors.
Restarting IMAP/POP3 mail server: dovecotError: Error in configuration file /etc/dovecot/dovecot.conf line 892: Expecting '='
I have looked at the file and nothing seems out of place, is there anything that I'm doing wrong here?
auth default {
mechanisms = plain login
passdb pam{
}
userdb passwd {
}
socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}
And the other error I recieve is when I try to restart POSTFIX Stopping Postfix Mail Transport Agent: postfixpostfix: fatal /etc/postfix/main.cf, line 47: missing '=' after attribute name: "permit_mynetworks,"
My code is
home_mailbox = Maildir/
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_sender_restrictions = permit_sasl_authenticated,
permit_mynetworks,
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_unknown_sender_domain,
Any help at all would be appreciated, I've been havign trouble trying to find any help on trying to set up my SMTP server
-Greg