View previous topic :: View next topic |
Author |
Message |
smurfd Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Lechuck.gif)
Joined: 04 May 2005 Posts: 176
|
Posted: Tue Oct 25, 2005 5:35 pm Post subject: [SOLVED]Postfix problems! |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
kashani Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/9629732313ee51df8c5935.jpg)
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Tue Oct 25, 2005 5:37 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
smurfd Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Lechuck.gif)
Joined: 04 May 2005 Posts: 176
|
Posted: Tue Oct 25, 2005 10:49 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
smurfd Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Lechuck.gif)
Joined: 04 May 2005 Posts: 176
|
Posted: Wed Oct 26, 2005 11:02 pm Post subject: |
|
|
SOLVED!
had to change in my ~/.procmail file "spamc" to "/usr/bin/spamassassin" ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|