Fix for postfix lmtp permission denied error

Fix for postfix lmtp permission denied error

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

Leave a Reply

Your email address will not be published. Required fields are marked *