Homec4science

Quick fix for postfix role which uses machine hostname as myhostname but it's…

Authored by aubort on May 3 2018, 14:36.

Description

Quick fix for postfix role which uses machine hostname as myhostname but it's preferable to use the actual domain (the fqdn is local so not very good). It would be better to override ansible_fqdn somehow.

Details

Committed
aubortMay 3 2018, 14:36
Pushed
aubortMay 3 2018, 14:36
Parents
rPHINFRAeddd832d7e65: Allow LFS explicitly, probably helps with T1952
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task

Event Timeline

aubort added a task: Restricted Maniphest Task.May 3 2018, 14:41
aubort added a comment.EditedMay 3 2018, 14:52

This generated error when communicating with some mail servers,

Without FQDN

$ nc 194.95.234.145 25

HELO c4science-jump00
250 b1961.mx.srv.dfn.de

MAIL FROM:<phabricator@c4science.ch>
250 2.1.0 Ok

RCPT TO:<XXX@ipp.mpg.de>
504 5.5.2 <c4science-jump00>: Helo command rejected: need fully-qualified hostname

with FQDN

$ nc 194.95.234.145 25

HELO c4science.ch
250 b1961.mx.srv.dfn.de

MAIL FROM:<phabricator@c4science.ch>
250 2.1.0 Ok

RCPT TO:<XXX@ipp.mpg.de>
250 2.1.5 Ok