I have a working server that only allows connections over secure IMAP (port 993) and secured submission (587). However, I have one account that has been forwarding mail to gmail for many years and that is getting to be more and more of a problem as more large sites enforce DMARC. So, the only way that gmail will pull mail is via pop3, so I need to add pop3 access. 1) How do I add a secure (TLS) POP3 service to dovecot 2) can I restrict access to that to specific users? Domains? OT, but someone probably knows, is secured POP3 going to work with gmail? ===BEGIN passdb { driver = pam } passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } protocols = imap service auth { unix_listener /var/spool/postfix/private/auth { mode = 0666 } } service imap-login { inet_listener imaps { port = 993 ssl = yes } } ===END I did read <https://wiki.dovecot.org/SSL/DovecotConfiguration> but it?s about adding ssl to an existing setup. -- Apple broke AppleScripting signatures in Mail.app, so no random signatures.
On 2017-04-13 (05:11 MDT), "@lbutlr" <kremels at kreme.com> wrote:> > 1) How do I add a secure (TLS) POP3 service to dovecot > 2) can I restrict access to that to specific users? Domains? > > OT, but someone probably knows, is secured POP3 going to work with gmail?4) Can I force pop3 connections to remove after downloading? Otherwise I know the inbox will just fill with thousands and thousands of mail. 5) Since all the mail is delivered via dovecot to ~user/Maildir/ will POP be returning the contents of the IMAP INBOX to the pop user? -- Apple broke AppleScripting signatures in Mail.app, so no random signatures.
On 13.04.2017 14:16, @lbutlr wrote:> On 2017-04-13 (05:11 MDT), "@lbutlr" <kremels at kreme.com> wrote: >> 1) How do I add a secure (TLS) POP3 service to dovecot >> 2) can I restrict access to that to specific users? Domains? >> >> OT, but someone probably knows, is secured POP3 going to work with gmail? > 4) Can I force pop3 connections to remove after downloading? Otherwise I know the inbox will just fill with thousands and thousands of mail. > > 5) Since all the mail is delivered via dovecot to ~user/Maildir/ will POP be returning the contents of the IMAP INBOX to the pop user? >1) that is added automatically, you can use ssl=required to require SSL use. and disable_plaintext_auth to disable authentication without SSL. Clients using pop3 port should use STARTTLS. 4) you can use autoexpunge here, i guess. 5) yes. Aki