Monday, April 25, 2016

Postfix with Dovecot: Send only?

Leave a Comment

I have a mailserver with Dovecot + Postfix + MySQL. (This Tutorial: https://workaround.org/ispmail/jessie)

Now I would like to allow for one user only SMTP.

Configuration in Dovecote:

service auth {   # Postfix smtp-auth     unix_listener /var/spool/postfix/private/auth {         mode = 0660         user = postfix         group = postfix     } } 

Configuration in Postfix:

smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes 

Is that possible?

1 Answers

Answers 1

Maybe a bit tricky, but that would do the job. You can have different passwords for SMTP, and for IMAP/POP. That way user would be able to read mailbox. As Dovecot wiki said - IMAP/POP sometimes sends passwords unencrypted, so admin wants separate password for SMTP/account:

http://wiki.dovecot.org/SystemUsers

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment