Virtual domains can be used to route e-mails from multiple domains to the correct mailboxes. In order to make it work, some changes need to be made.
First we need to edit the main.cf (on my Ubuntu server in /etc/postfix/) and add the following lines:
Read more…
Linux
Linux, mailserver, postfix, Ubuntu
After checking out my mail logs I had the following error:
Aug 6 11:38:52 Nephtys postfix/lmtp[3990]: DD69A18A90C: to=, relay=none,
delay=593, delays=593/0.02/0.01/0, dsn=4.4.1, status=deferred
(connect to localhost[/var/run/cyrus/socket/lmtp]: Permission denied)
I Googled the error but could not find a fix. Finally it turned out that the postfix user was not in the mail group, which could be fixed by executing
# adduser postfix mail
Linux
cyrus, mailserver, postfix, Ubuntu