/ 雑記帳

Debian8 Postfix Amavisd-new Failed to start...ENV{PATH} ...d line 7

● amavis.service - LSB: Starts amavisd-new mailfilter
Loaded: loaded (/etc/init.d/amavis)
Active: failed (Result: exit-code) since 土 2015-08-29 18:06:01 JST; 1s ago
Process: 7032 ExecStop=/etc/init.d/amavis stop (code=exited, status=0/SUCCESS)
Process: 7447 ExecStart=/etc/init.d/amavis start (code=exited, status=1/FAILURE)

8月 29 18:06:01 debian amavis[7447]: Starting amavisd: Error in config file "/etc/amavis/conf.d/05-domain_id": Insecure directory in $ENV{PATH} ...d line 7.
8月 29 18:06:01 debian amavis[7447]: (failed).
8月 29 18:06:01 debian systemd[1]: amavis.service: control process exited, code=exited status=1
8月 29 18:06:01 debian systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
8月 29 18:06:01 debian systemd[1]: Unit amavis.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
 
結論としては次の2つのファイルを修正すれば解決する。
何故か?32bit-i686版の方ではこの修正は必要ない。
/etc/amavis/conf.d/05-domain_id
#chomp($mydomain = `head -n 1 /etc/mailname`);
chomp($mydomain = "`head -n 1 /etc/mailname`");

/etc/amavis/conf.d/05-node_id
#chomp($mydomain = `head -n 1 /etc/mailname`);
chomp($mydomain = "`head -n 1 /etc/mailname`");

— posted by くま at 10:05 am   pingTrackBack [0]

この記事に対するコメントはありません

<< 2015.8 >>
SMTWTFS
      1
2 3 45678
9 101112131415
1617181920 21 22
23 24 2526 27 2829
30 31     
 
























T: Y: ALL: Online:
ThemePanel
Created in 0.0711 sec.