View previous topic :: View next topic |
Author |
Message |
Elleni Veteran
Joined: 23 May 2006 Posts: 1270
|
Posted: Tue Nov 26, 2019 9:38 pm Post subject: [solved] postfix errors -> obsolete symlinks to aliases |
|
|
Having newly setup my server and trying to do it the right way, I see a minor warning in my logs and would like to ask, what chown would be needed not get rid of the message:
postfix/postfix-script[2373]: warning: group or other writable: /etc/postfix/./aliases.db
ls -l /etc/postfix/aliases*
Code: | rwxrwxrwx 1 root postfix 17 10. Dez 2015 aliases -> /etc/mail/aliases
lrwxrwxrwx 1 root postfix 20 10. Dez 2015 aliases.db -> /etc/mail/aliases.db
|
Another one one I get when starting is:
Code: | postfix/master: warning: process /usr/libexec/postfix/smtpd pid 2580 exit status 1
postfix/master: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling |
Server is still working though.
Thanks in advance if one would be able to push me to the right direction.
Last edited by Elleni on Wed Nov 27, 2019 9:35 am; edited 2 times in total |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Wed Nov 27, 2019 7:39 am Post subject: |
|
|
I've got:
Code: | ~ # ll /etc/mail
total 8
-rw-r--r-- 1 root root 998 Apr 8 2018 aliases
-rw-r--r-- 1 root root 3068 Apr 8 2018 aliases.cdb |
and no symlinks to them in /etc/postfix/, main.cf is pointing at the /etc/mail/ path. That's the default configuration though. |
|
Back to top |
|
|
Elleni Veteran
Joined: 23 May 2006 Posts: 1270
|
Posted: Wed Nov 27, 2019 8:17 am Post subject: |
|
|
Hi Ant P.
I have that too. You mean, those symlinks are not even needed and could be deleted?
It could be, as Code: | grep -iRl "/etc/postfix/aliases" /etc/ | does show that they are not reverenced in any config in /etc.
Only grep -iRl "/etc/mail/aliases" /etc/ gives a result.
Code: | /etc/config-archive/etc/postfix/main.cf.dist.new
/etc/config-archive/etc/postfix/main.cf.default
/etc/config-archive/etc/postfix/main.cf.default.dist.new
/etc/config-archive/etc/postfix/aliases.dist
/etc/config-archive/etc/postfix/main.cf
/etc/postfix/main.cf.default
/etc/postfix/main.cf.proto
/etc/postfix/main.cf |
Any idea from what the other error message "bad command startup" could come from? |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Wed Nov 27, 2019 8:45 am Post subject: |
|
|
When does the smtpd error happen? Every time postfix is started, or when the machine reboots and starts it? The latter could just be the network not being ready, if not then increasing the logging might reveal something. |
|
Back to top |
|
|
Elleni Veteran
Joined: 23 May 2006 Posts: 1270
|
Posted: Wed Nov 27, 2019 9:32 am Post subject: |
|
|
Hm, good question. I come from rebooting the server, so you might be right, and it was a matter of network not being ready. Closing with solved for now. Thanks for you help Ant P. |
|
Back to top |
|
|
|