Postfix mailing list server setting

Postfix mailing list server setting

Install required packages

sudo apt-get install postfix dovecot sasl

Set Dovecot

In /etc/dovecot, Find a configuration file containing a string,  private/auth. Add mode, user, and group attributes as following.

You may see error, “ warning sasl: connect to private/auth failed: permission denied” in /var/log/mail.log if you miss this stage.

Edit aliases

$ sudo vi /etc/aliases

Try following form

<listname>: <addressee1>, <addressee2>, ...

For example,

class: professor, student1@gmail.com, student2@hotmail.com

Then, update /etc/aliases.db

$ sudo newaliases

Forwarding setting

Edit ~/.forwarding

$ echo user@example.org >> ~/.forwarding

Leave a Reply