View Full Version : Fedora 10 - virtual users,domains,postfix,courier,mysql HOWTO
itd3pt
9th February 2009, 19:09
Hi to all,
I tried to follow this howto: http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-fedora-10
and I installed all components except squirrelmail..
I configured any accounts but from maillog I read:
Feb 9 17:40:38 fedora10 postfix/postfix-script[9763]: starting the Postfix mail system
Feb 9 17:40:38 fedora10 postfix/master[9764]: daemon started -- version 2.5.5, configuration /etc/postfix
Feb 9 17:40:39 fedora10 postfix/smtp[9768]: fatal: chroot(/var/spool/postfix): Operation not permitted
Feb 9 17:40:40 fedora10 postfix/master[9764]: warning: process /usr/libexec/postfix/smtp pid 9768 exit status 1
Feb 9 17:40:40 fedora10 postfix/master[9764]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
Seems a permission issue..
Do you know how I can solve this?
I hope this is the correct area to post this problem..
Thanks in advance.
falko
10th February 2009, 18:53
What's the output of ls -la /var/spool/postfix? Did you change the permissions of that directoy? What's in /etc/postfix/master.cf? Did you disable SELinux?
itd3pt
10th February 2009, 19:35
[root@fedora10 ~]# ls -la /var/spool/postfix
totale 64
drwxr-xr-x 16 root root 4096 6 feb 17:13 .
drwxr-xr-x 18 root root 4096 6 feb 20:32 ..
drwx------ 2 postfix root 4096 10 feb 17:58 active
drwx------ 2 postfix root 4096 6 feb 17:59 bounce
drwx------ 2 postfix root 4096 17 set 14:25 corrupt
drwx------ 2 postfix root 4096 17 set 14:25 defer
drwx------ 2 postfix root 4096 17 set 14:25 deferred
drwx------ 2 postfix root 4096 17 set 14:25 flush
drwx------ 2 postfix root 4096 17 set 14:25 hold
drwx------ 2 postfix root 4096 10 feb 17:58 incoming
drwx-wx--- 2 postfix postdrop 4096 17 set 14:25 maildrop
drwxr-xr-x 2 root root 4096 9 feb 13:50 pid
drwx------ 2 postfix root 4096 10 feb 17:58 private
drwx--x--- 2 postfix postdrop 4096 10 feb 17:58 public
drwx------ 2 postfix root 4096 17 set 14:25 saved
drwx------ 2 postfix root 4096 17 set 14:25 trace
But now seems I solved the problem, I checked SELinux and I found it still enabled..
Thanks a lot, falko..
pixel.hu
16th February 2009, 18:55
Hi!
I have done your guide too, and at the end I seem to come up with a few problems.
Squirrelmail responds like this after login:
the main field:
Error: Could not complete request.
Query: SELECT "INBOX"
Reason Given: Unable to open this mailbox.
the left menu:
ERROR: Connection dropped by IMAP server.
Query: SUBSCRIBE "INBOX.Sent"
I did the /src/configtest.php stuff with squirrel, but it says everything is ok.
telnet localhost 25 runs fine too...
And I dont seem to find any emails.
I have sent a few to the account i created with mailx, but i can't find them anywhere. They are supposed to be in like /home/vmail/.... no?
/var/log/maillog doesnt give ny other warning than
a mail1 dccproc[2595]: no working DCC serversdcc1.dcc-servers.net .... at 127.0.0.1 but only one line. (Athough somehow it forgot it's dns servers at startup, had to input them by hand by the GUI tool later)
Yours Sincererly
Laszlo Balogh
falko
17th February 2009, 16:38
I have sent a few to the account i created with mailx, but i can't find them anywhere. They are supposed to be in like /home/vmail/.... no?
/var/log/maillog doesnt give ny other warning than
a mail1 dccproc[2595]: no working DCC serversdcc1.dcc-servers.net .... at 127.0.0.1 but only one line. (Athough somehow it forgot it's dns servers at startup, had to input them by hand by the GUI tool later)
There are no other errors in your mail log?
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.