FS#52350 - [gitlab] Error sending confirmation email via postfix
Attached to Project:
Community Packages
Opened by Tiago Peixoto (count0) - Tuesday, 03 January 2017, 14:38 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 19 April 2017, 19:55 GMT
Opened by Tiago Peixoto (count0) - Tuesday, 03 January 2017, 14:38 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 19 April 2017, 19:55 GMT
|
Details
Gitlab (version 8.15.2-1) fails to deliver confirmation and
other types of email, when using the sendmail interface with
postfix. Inspecting the logs of gitlab-sidekiq reveals:
Jan 03 15:25:46 skewed.de gitlab-sidekiq[21549]: 2017-01-03T14:25:46.684Z 21549 TID-vfu40 ActionMailer::DeliveryJob JID-7eb85895aa1005e4f674fba7 INFO: start Jan 03 15:25:46 skewed.de gitlab-sidekiq[21549]: postdrop: warning: mail_queue_enter: create file maildrop/942899.22011: Permission denied Jan 03 15:25:46 skewed.de postfix/postdrop[22011]: warning: mail_queue_enter: create file maildrop/942899.22011: Permission denied There seems to be nothing wrong when using sendmail/postfix with any other user, and the directory permissions in /var/spool/postfix/ seem to be in order. The command "postfix check" returns no errors. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Wednesday, 19 April 2017, 19:55 GMT
Reason for closing: Fixed
Wednesday, 19 April 2017, 19:55 GMT
Reason for closing: Fixed
PrivateDevices=true
According to the documentation, this automatically implies NoNewPrivileges=true, regardless of the explicit value of this setting, which is known to brake the sendmail wrapper. Changing to
PrivateDevices=false
solves the issue.