Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Postfix problems!
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
smurfd
Apprentice
Apprentice


Joined: 04 May 2005
Posts: 176

PostPosted: Tue Oct 25, 2005 5:35 pm    Post subject: [SOLVED]Postfix problems! Reply with quote

Hi!

So, i recently emerged postfix, and i get these errors in /var/log/mail.log:

Code:

Oct 25 19:30:57 veg-cannibals postfix/smtpd[16511]: fatal: open database /etc/mail/aliases.db: No such file or directory
Oct 25 19:30:58 veg-cannibals postfix/master[21954]: warning: process /usr/lib/postfix/smtpd pid 16511 exit status 1
Oct 25 19:30:58 veg-cannibals postfix/master[21954]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
O


then i tried to do "cp /etc/mail/aliases /etc/mail/aliases.db" and then i get this

Code:

Oct 25 19:29:56 veg-cannibals postfix/smtpd[32380]: fatal: open database /etc/mail/aliases.db: Invalid argument
Oct 25 19:29:57 veg-cannibals postfix/master[21954]: warning: process /usr/lib/postfix/smtpd pid 32380 exit status 1
Oct 25 19:29:57 veg-cannibals postfix/master[21954]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling


anyone got some helpful ideas?!


Last edited by smurfd on Wed Oct 26, 2005 11:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Tue Oct 25, 2005 5:37 pm    Post subject: Reply with quote

Run the command newaliases instead of trying to copy a text file over to what should be a binary hash file. newaliases will generate an aliases.db based on /etc/mail/aliases

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
smurfd
Apprentice
Apprentice


Joined: 04 May 2005
Posts: 176

PostPosted: Tue Oct 25, 2005 10:49 pm    Post subject: Reply with quote

hm weird, i had the impression i had Already run that command. but it Did solve that issue.
so Thanks!! :)

now there seems to be only one small issue left, spamc wont connect to spamd (and yes spamd is running) i get this in mail.log :
Code:
 
spamc[31246]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection timed out


thoughts?
Back to top
View user's profile Send private message
smurfd
Apprentice
Apprentice


Joined: 04 May 2005
Posts: 176

PostPosted: Wed Oct 26, 2005 11:02 pm    Post subject: Reply with quote

SOLVED!

had to change in my ~/.procmail file "spamc" to "/usr/bin/spamassassin" :)
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