I set up a test mail server with postfix and courier on the local network. I did everything according to the manuals found on the network and, in general, it is not much away from the standard configs.

On the server (since it is a test one) there is a GUI and there is an email client called Thunderbird . There are several mailboxes ( linux users) on the server.

The task is to send letters over the local network (from other computers), and they would all be displayed on the server to Thunderbird .

They are sent, but sent only to /var/mail/$USER . Thunderbird does not see them.

The option with local accounts in Thunderbird disappears, because in reality the mail client will also be not on the server.

How to implement the required?

    1 answer 1

    as I understand it, you want to see exactly the same as the users of these mailboxes connecting via the imap protocol.

    then the most logical solution would be to simply add these mailboxes in your mail program with access using the same protocol.

    • Thanks for the answer, everything worked out. The trouble arose when sending letters. Since I did not specify in the postfix config to use the Maildir format, they were saved in / var / mail / $ USER. - xapaxuc
    • did not specify in a config - and it, actually, is indifferent. the main thing here is that both smtp and imap (pop-) servers are configured to use the same type of storage. - aleksandr barakin
    • courier uses Maildir as I understood it by default. It is strange that for postfix it is necessary to specify it. It turns out that when sending a letter you need to specify in what format it should be saved on the server afterwards? - xapaxuc
    • Strange - it's different programs. each has its own “default” settings. / It turns out - no, not necessary. Moreover: it is simply impossible. - aleksandr barakin