Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Webmin PostFix Problem
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
Sugarat
Guru
Guru


Joined: 24 Jul 2002
Posts: 348

PostPosted: Tue Jul 27, 2004 7:25 pm    Post subject: Webmin PostFix Problem Reply with quote

I am hoping to install postfix so that I can accept mail for my domain.

I've installed Postfix, and now just emerged webmin, but when going into the webmin postifx module it just says:

Code:
  Unlock ioctl failed : Invalid argument


/var/log/messages contains:

Code:

Jul 27 19:17:20 daisy sys32_ioctl(miniserv.pl:24962): Unknown cmd fd(5) cmd(40045431) arg(007ee4d0)
Jul 27 19:17:25 daisy postfix/smtpd[25098]: fatal: open database /etc/mail/aliases.db: No such file or directory
Jul 27 19:17:26 daisy postfix/master[21211]: warning: process /usr/lib/postfix/smtpd pid 25098 exit status 1
Jul 27 19:17:26 daisy postfix/master[21211]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling



What does this mean... and more importantly, how can I fix it?
_________________
--[ UltraSPARC ]--
Accept no imitations
Back to top
View user's profile Send private message
langthang
Retired Dev
Retired Dev


Joined: 27 Nov 2003
Posts: 620

PostPosted: Tue Jul 27, 2004 9:53 pm    Post subject: Reply with quote

It looks like a mis-configure in /etc/postfix/main.cf.
Please post the output of `grep -Ev '^#|^$' /etc/postfix/main.cf`
_________________
Gentoo users' map
Back to top
View user's profile Send private message
Sugarat
Guru
Guru


Joined: 24 Jul 2002
Posts: 348

PostPosted: Tue Jul 27, 2004 10:34 pm    Post subject: Reply with quote

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
myhostname = daisy.the-sugarat.net
mydomain = the-sugarat.net
myorigin = daisy
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain $mydomain
unknown_local_recipient_reject_code = 450
mynetworks = 10.0.0.0/24 127.0.0.0/8
home_mailbox = .maildir/


debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.0.19/sample
readme_directory = /usr/share/doc/postfix-2.0.19/readme
default_destination_concurrency_limit = 2
alias_database = hash:/etc/mail/aliases
local_destination_concurrency_limit = 2
alias_maps = hash:/etc/mail/aliases
local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 10
_________________
--[ UltraSPARC ]--
Accept no imitations
Back to top
View user's profile Send private message
langthang
Retired Dev
Retired Dev


Joined: 27 Nov 2003
Posts: 620

PostPosted: Wed Jul 28, 2004 3:22 am    Post subject: Reply with quote

did you edit the file /etc/mail/aliases to add your local aliases then run `/usr/bin/newaliases` to initialize the alias database? Remember to `postfix reload`.
_________________
Gentoo users' map
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