Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] postfix errors -> obsolete symlinks to aliases(.db)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1118

PostPosted: Tue Nov 26, 2019 9:38 pm    Post subject: [solved] postfix errors -> obsolete symlinks to aliases Reply with quote

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
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6715

PostPosted: Wed Nov 27, 2019 7:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1118

PostPosted: Wed Nov 27, 2019 8:17 am    Post subject: Reply with quote

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
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6715

PostPosted: Wed Nov 27, 2019 8:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1118

PostPosted: Wed Nov 27, 2019 9:32 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum