-5

Is it possible to configure options on email server containing Postfix and Dovecot, features similar to Gmail settings:

  1. Enable POP for all mail (even mail that's already been downloaded)

  2. Enable POP for mail that arrives from now on

I looked a lot at Google, but was unsuccessful. So if anyone has an idea, I would appreciate that.

2 Answers 2

3

Your troubles at finding an answer are due to not looking at the right scope.

The option as to which email to download is a feature of a POP client, not the POP server. A POP server is to simply provide all email for a given user; the client can then decide to download all messages or ones selectively.

POP was developed when disk space and bandwidth were at a premium; once mail is downloaded from the server to the client, it is typically deleted (unless the client is configured otherwise).

What about using IMAP instead? You get the flexibility of that mail being available on multiple machines, and you conserve bandwidth by only downloading the headers of all messages and then only downloading message bodies of those messages actually being viewed. Then, when a message is deleted at the client, it can be marked as deleted at the server.

11
  • Yes all information is known for me. I'm looking to use functions above. Gmail has these functions. For example user configured POP email account on computer A. He downloaded 10 messages. Then he went to computer B and configured the same email account. Computer B does not redownload 10 messages while user not checked "Enable POP for all mail (even mail that's already been downloaded)" Gmail has this feature. Zimbra also has this feature, and as far as I know Zimbra is based on Postfix.
    – driftux
    Jan 5, 2013 at 18:21
  • 2
    You are confusing the server and client. In Gmail and Zimbra, the interface you use is the client, whereas Postfix is the SMTP server used to transfer mail back and forth. Dovecot is the tool doing POP. As far as the test messages, Computer A's POP client (Thunderbird/etc) is not configured to keep messages on the server. Since it is not, then the messages are downloaded to Computer A and then deleted from the POP server. When Computer B tries to connect, it does download all messages already downloaded (which is now none). Check the configuration of your clients very carefully.
    – Rob Gibson
    Jan 5, 2013 at 18:29
  • @RobGibson GMail indeed has server side message filtering for POP and IMAP. I've never seen these features in an open-source mail server, and they seem completely useless.
    – Chris S
    Jan 5, 2013 at 19:36
  • The filtering in Gmail is not "server-side". It is client-side filtering on a client in the cloud. In fact, it is a modified IMAP client hosted in the cloud, as the client-side filters defined in the web interface are used to modify the incoming messages, including spam filtering and adding tags. It's a subtle difference, but a critical one. No open-source mail server supports these options directly. Gmail, as I mentioned, is using client-side filters. Zimbra uses spamassassin and other tools to do server-side spam/virus filtering and client side filtering otherwise.
    – Rob Gibson
    Jan 5, 2013 at 19:43
  • I'm taking just about POP, IMAP is not an option. So computer A has a GMAIL account with POP and option set "Leave a copy of the messages on the server" set. Computer A gets 10 emails and also leave messages on the server (user can see them through outlook and gmail webmail interface). If we configure computer B with the same Gmail account, it gets no messages to Outlook. Because Gmail "knows" that these messages was already sent to computer A account. ...
    – driftux
    Jan 5, 2013 at 20:22
1

You can easily configure Dovecot to act as a POP3 server. Simply add the protocols to the Dovecot configuration file. For example:

protocols = imap imaps pop3 pop3s
2
  • Yes I know it :))) But how can I implement functions mentioned above?
    – driftux
    Jan 5, 2013 at 18:19
  • What else do you want? Jan 5, 2013 at 18:28

Not the answer you're looking for? Browse other questions tagged .