Discussion:
[SPAM] Error: Unable to chdir to vpopmail/domains/domain directory
swaroop kumar
2013-05-16 12:14:17 UTC
Permalink
Hi All,

I am switching my mail server from sendmail to qmail, currently installing
qmail in debian and i am following this link http://qmailrocks.thibs.com/

I Have a problem in creating domains using vpopmail, below is the error
thrown when i am trying to create a domain.

"Unable to chdir to vpopmail/domains/domain directory"

Can any one suggest me to overcome this, quick response is highly
appreciated.

Thanks in Advance.

Regards,
Swaroop Kundeti


!DSPAM:5194a4bc34126005364638!
Todor Petkov
2013-05-16 12:20:00 UTC
Permalink
Post by swaroop kumar
Hi All,
I am switching my mail server from sendmail to qmail, currently
installing qmail in debian and i am following this link
http://qmailrocks.thibs.com/ [1]
I Have a problem in creating domains using vpopmail, below is the
error thrown when i am trying to create a domain.
"Unable to chdir to vpopmail/domains/domain directory"
Can any one suggest me to overcome this, quick response is highly
appreciated.
Thanks in Advance.
 
Regards,
Swaroop Kundeti
------
[1] http://qmailrocks.thibs.com/
Hi,

check the directory permissions. ~vpopmail and below must be owned by
the vpopmail user.


Regards,



!DSPAM:5194a61634121924852515!
swaroop kumar
2013-05-16 12:23:17 UTC
Permalink
Hi,

Permissions seems to be ok.

drwxrwx--- 8 vpopmail vchkpw 4096 May 16 13:56 vpopmail

Regards,
Swaroop.
Post by swaroop kumar
Hi All,
I am switching my mail server from sendmail to qmail, currently
installing qmail in debian and i am following this link
http://qmailrocks.thibs.com/ [1]
I Have a problem in creating domains using vpopmail, below is the
error thrown when i am trying to create a domain.
"Unable to chdir to vpopmail/domains/domain directory"
Can any one suggest me to overcome this, quick response is highly
appreciated.
Thanks in Advance.
Regards,
Swaroop Kundeti
------
[1] http://qmailrocks.thibs.com/
Hi,
check the directory permissions. ~vpopmail and below must be owned by the
vpopmail user.
Regards,
--
Sincerely,
--
Swaroop Kundeti.
Project Engineer.
Virtual-Labs.
IIIT - Gachibowli.
Hyderabad.
+91-9866221131.


!DSPAM:5194a6d834129043313283!
Todor Petkov
2013-05-16 12:46:41 UTC
Permalink
Post by swaroop kumar
Hi,
Permissions seems to be ok.
drwxrwx--- 8 vpopmail vchkpw 4096 May 16 13:56 vpopmail
Regards,
Swaroop.
Check ~vpopmail/domains and all the directories leading to the
domain.com one.


!DSPAM:5194ac5434121347158045!
Thibault Richard
2013-05-16 13:31:59 UTC
Permalink
Hello,



I've checked on my own install . it's indeed the right permissions



drwxrwx--- 9 vpopmail vchkpw 4.0K Feb 21 2012 vpopmail



With the command "ls -lah /home/vpopmail/" you should have



drwx------ 150 vpopmail vchkpw 4.0K Apr 10 16:29 domains



If you have at least one working domain it should be



ls -lah /home/vpopmail/domains



drwx------ 7 vpopmail vchkpw 4.0K Jul 29 2012 thibs.com





Normally the vpopmail user should look like this



grep vpopmail /etc/passwd

vpopmail:x:89:89:Vpopmail (virtual domains)
user:/home/vpopmail:/usr/sbin/nologin



How do you try to create the domain ?



By command line you should use



/home/vpopmail/bin/vadddomain test.com username



As it seems you are using my guide, could you please do :



chmod +x /downloads/scripts/qmr_inst_check
/downloads/scripts/qmr_inst_check



and tell me the result





Best Regards





Thibault a.k.a Thibs



From: swaroop kumar [mailto:***@gmail.com]
Sent: jeudi 16 mai 2013 14:23
To: ***@inter7.com
Subject: Re: [vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to chdir to
vpopmail/domains/domain directory



Hi,

Permissions seems to be ok.

drwxrwx--- 8 vpopmail vchkpw 4096 May 16 13:56 vpopmail

Regards,
Swaroop.



On Thu, May 16, 2013 at 5:50 PM, Todor Petkov <***@online.bg> wrote:

On 16/05/2013 03:14 PM, swaroop kumar wrote:

Hi All,

I am switching my mail server from sendmail to qmail, currently
installing qmail in debian and i am following this link

http://qmailrocks.thibs.com/ [1]



I Have a problem in creating domains using vpopmail, below is the
error thrown when i am trying to create a domain.

"Unable to chdir to vpopmail/domains/domain directory"

Can any one suggest me to overcome this, quick response is highly
appreciated.

Thanks in Advance.


Regards,
Swaroop Kundeti


Links:
------
[1] http://qmailrocks.thibs.com/



Hi,

check the directory permissions. ~vpopmail and below must be owned by the
vpopmail user.


Regards,
--
Sincerely,
--
Swaroop Kundeti.
Project Engineer.
Virtual-Labs.
IIIT - Gachibowli.
Hyderabad.
+91-9866221131.





!DSPAM:5194b6f434127088155763!
swaroop kumar
2013-05-16 13:51:12 UTC
Permalink
Hello Geeks,

I resolved it by adding www-data to vchkpw group and changed owner and
group of the apache files to vpopmail:vchkpw earlier it was www-data was
owner and group. Now i am facing new error "could not update file".

@Thibs

I ran this script "/downloads/scripts/qmr_inst_check" and below is the
output.

! Couldn't find /var/qmail/supervise!
! /var/qmail/supervise/qmail-send/run is missing
...try: cp /downloads/scripts/service-qmail-send-run
/var/qmail/supervise/qmail-send/run
! /service directory is missing
! Couldn't find /var/qmail/control/defaultdelivery
! DatabaseOwner is incorrect in /etc/clamav/freshclam.conf
! LocalSocketGroup is incorrect in /etc/clamav/clamd.conf
! User is incorrect in /etc/clamav/clamd.conf
! /var/qmail/bin/qmailctl is missing
! /usr/bin/qmailctl is missing
...try: ln -s /var/qmail/bin/qmailctl /usr/bin
! /var/qmail/supervise/qmail-send/run file is missing
! /var/qmail/supervise/qmail-send/log/run file is missing
! /var/qmail/supervise/qmail-smtpd/run file is missing
! /var/qmail/supervise/qmail-smtpd/log/run file is missing
! /var/qmail/control/concurrencyincoming is missing
...try: echo 30 >/var/qmail/control/concurrencyincoming
! /var/log/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/log/clamav
! /var/lib/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/lib/clamav
! /var/run/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/run/clamav
! /service/qmail-send is missing
...try: ln -s /var/qmail/service/qmail-send /service/qmail-send
! /service/qmail-smtpd is missing
...try: ln -s /var/qmail/service/qmail-smtpd /service/qmail-smtpd
! /etc/tcp.smtp is missing
...try: echo '127.:allow,RELAYCLIENT=""' >>/etc/tcp.smtp
! /etc/tcp.smtp.cdb is missing
...try: /var/qmail/bin/qmailctl cdb
! Alias for root is missing
...try: echo me >/var/qmail/alias/.qmail-root
***@mail:~# /downloads/scripts/qmr_inst_check
! Couldn't find /var/qmail/supervise!
! /var/qmail/supervise/qmail-send/run is missing
...try: cp /downloads/scripts/service-qmail-send-run
/var/qmail/supervise/qmail-send/run
! /service directory is missing
! Couldn't find /var/qmail/control/defaultdelivery
! DatabaseOwner is incorrect in /etc/clamav/freshclam.conf
! LocalSocketGroup is incorrect in /etc/clamav/clamd.conf
! User is incorrect in /etc/clamav/clamd.conf
! /var/qmail/bin/qmailctl is missing
! /usr/bin/qmailctl is missing
...try: ln -s /var/qmail/bin/qmailctl /usr/bin
! /var/qmail/supervise/qmail-send/run file is missing
! /var/qmail/supervise/qmail-send/log/run file is missing
! /var/qmail/supervise/qmail-smtpd/run file is missing
! /var/qmail/supervise/qmail-smtpd/log/run file is missing
! /var/qmail/control/concurrencyincoming is missing
...try: echo 30 >/var/qmail/control/concurrencyincoming
! /var/log/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/log/clamav
! /var/lib/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/lib/clamav
! /var/run/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/run/clamav
! /service/qmail-send is missing
...try: ln -s /var/qmail/service/qmail-send /service/qmail-send
! /service/qmail-smtpd is missing
...try: ln -s /var/qmail/service/qmail-smtpd /service/qmail-smtpd
! /etc/tcp.smtp is missing
...try: echo '127.:allow,RELAYCLIENT=""' >>/etc/tcp.smtp
! /etc/tcp.smtp.cdb is missing
...try: /var/qmail/bin/qmailctl cdb
! Alias for root is missing
...try: echo me >/var/qmail/alias/.qmail-root
! Alias for postmaster is missing
...try: echo me >/var/qmail/alias/.qmail-postmaster
! Alias for mailer-daemon is missing
...try: echo me >/var/qmail/alias/.qmail-mailer-daemon
! Sendmail is still running
...try: /init.d/sendmail stop


Regards,
Swaroop Kundeti.
Hello,****
** **
I’ve checked on my own install … it’s indeed the right permissions****
** **
drwxrwx--- 9 vpopmail vchkpw 4.0K Feb 21 2012 vpopmail****
** **
With the command “*ls -lah /home/vpopmail/*” you should have****
** **
drwx------ 150 vpopmail vchkpw 4.0K Apr 10 16:29 domains****
** **
If you have at least one working domain it should be ****
** **
*ls -lah /home/vpopmail/domains*
** **
drwx------ 7 vpopmail vchkpw 4.0K Jul 29 2012 thibs.com****
** **
** **
Normally the vpopmail user should look like this****
** **
*grep vpopmail /etc/passwd*
vpopmail:x:89:89:Vpopmail (virtual domains)
user:/home/vpopmail:/usr/sbin/nologin****
** **
How do you try to create the domain ? ****
** **
By command line you should use****
** **
*/home/vpopmail/bin/vadddomain test.com username*
** **
As it seems you are using my guide, could you please do :****
** **
*chmod +x /downloads/scripts/qmr_inst_check
/downloads/scripts/qmr_inst_check*
** **
and tell me the result****
** **
** **
Best Regards****
** **
** **
Thibault a.k.a Thibs****
** **
*Sent:* jeudi 16 mai 2013 14:23
*Subject:* Re: [vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to chdir
to vpopmail/domains/domain directory****
** **
Hi,****
Permissions seems to be ok.
drwxrwx--- 8 vpopmail vchkpw 4096 May 16 13:56 vpopmail****
Regards,
Swaroop.****
** **
On 16/05/2013 03:14 PM, swaroop kumar wrote:****
Hi All,
I am switching my mail server from sendmail to qmail, currently
installing qmail in debian and i am following this link****
http://qmailrocks.thibs.com/ [1]****
I Have a problem in creating domains using vpopmail, below is the
error thrown when i am trying to create a domain.
"Unable to chdir to vpopmail/domains/domain directory"
Can any one suggest me to overcome this, quick response is highly
appreciated.
Thanks in Advance.
Regards,
Swaroop Kundeti
****
------
[1] http://qmailrocks.thibs.com/****
Hi,
check the directory permissions. ~vpopmail and below must be owned by the
vpopmail user.
Regards,
****
-- ****
Sincerely,
--
Swaroop Kundeti.
Project Engineer.
Virtual-Labs.
IIIT - Gachibowli.
Hyderabad.
+91-9866221131.****
****
!DSPAM:5194bb8934125324512510!
Eric Shubert
2013-05-16 15:03:47 UTC
Permalink
Post by swaroop kumar
I resolved it by adding www-data to vchkpw group and changed owner and
group of the apache files to vpopmail:vchkpw earlier it was www-data was
owner and group. Now i am facing new error "could not update file".
This bit is solved in qmail-toaster by the following permissions:
[***@tacs-mail qmailadmin]# ls -l /usr/share/qmailadmin
total 200
drwxr-xr-x 2 root root 4096 Feb 21 10:58 html
drwxr-xr-x 3 apache apache 4096 Feb 21 10:58 images
lrwxrwxrwx 1 vpopmail vchkpw 10 Feb 21 10:58 index.cgi -> qmailadmin
drwxr-xr-x 2 root root 4096 Feb 21 10:58 lang
-rwsr-sr-x 1 vpopmail vchkpw 184860 Feb 21 10:56 qmailadmin
[***@tacs-mail qmailadmin]#

Note the sticky bit.

HTH.
--
-Eric 'shubes'


!DSPAM:5194f58334121759474663!
Thibault Richard
2013-05-16 16:38:46 UTC
Permalink
Hello,

OK I understand now. You didn’t specified in your request that you tried from the webinterface

The result of the script is normal at this install step (it verify all the steps)

Best Regards

Thibault

From: swaroop kumar
Sent: Thursday, May 16, 2013 3:51 PM
To: ***@inter7.com
Subject: Re: [vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain directory

Hello Geeks,


I resolved it by adding www-data to vchkpw group and changed owner and group of the apache files to vpopmail:vchkpw earlier it was www-data was owner and group. Now i am facing new error "could not update file".


@Thibs


I ran this script "/downloads/scripts/qmr_inst_check" and below is the output.

! Couldn't find /var/qmail/supervise!
! /var/qmail/supervise/qmail-send/run is missing
...try: cp /downloads/scripts/service-qmail-send-run /var/qmail/supervise/qmail-send/run
! /service directory is missing
! Couldn't find /var/qmail/control/defaultdelivery
! DatabaseOwner is incorrect in /etc/clamav/freshclam.conf
! LocalSocketGroup is incorrect in /etc/clamav/clamd.conf
! User is incorrect in /etc/clamav/clamd.conf
! /var/qmail/bin/qmailctl is missing
! /usr/bin/qmailctl is missing
...try: ln -s /var/qmail/bin/qmailctl /usr/bin
! /var/qmail/supervise/qmail-send/run file is missing
! /var/qmail/supervise/qmail-send/log/run file is missing
! /var/qmail/supervise/qmail-smtpd/run file is missing
! /var/qmail/supervise/qmail-smtpd/log/run file is missing
! /var/qmail/control/concurrencyincoming is missing
...try: echo 30 >/var/qmail/control/concurrencyincoming
! /var/log/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/log/clamav
! /var/lib/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/lib/clamav
! /var/run/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/run/clamav
! /service/qmail-send is missing
...try: ln -s /var/qmail/service/qmail-send /service/qmail-send
! /service/qmail-smtpd is missing
...try: ln -s /var/qmail/service/qmail-smtpd /service/qmail-smtpd
! /etc/tcp.smtp is missing
...try: echo '127.:allow,RELAYCLIENT=""' >>/etc/tcp.smtp
! /etc/tcp.smtp.cdb is missing
...try: /var/qmail/bin/qmailctl cdb
! Alias for root is missing
...try: echo me >/var/qmail/alias/.qmail-root
***@mail:~# /downloads/scripts/qmr_inst_check
! Couldn't find /var/qmail/supervise!
! /var/qmail/supervise/qmail-send/run is missing
...try: cp /downloads/scripts/service-qmail-send-run /var/qmail/supervise/qmail-send/run
! /service directory is missing
! Couldn't find /var/qmail/control/defaultdelivery
! DatabaseOwner is incorrect in /etc/clamav/freshclam.conf
! LocalSocketGroup is incorrect in /etc/clamav/clamd.conf
! User is incorrect in /etc/clamav/clamd.conf
! /var/qmail/bin/qmailctl is missing
! /usr/bin/qmailctl is missing
...try: ln -s /var/qmail/bin/qmailctl /usr/bin
! /var/qmail/supervise/qmail-send/run file is missing
! /var/qmail/supervise/qmail-send/log/run file is missing
! /var/qmail/supervise/qmail-smtpd/run file is missing
! /var/qmail/supervise/qmail-smtpd/log/run file is missing
! /var/qmail/control/concurrencyincoming is missing
...try: echo 30 >/var/qmail/control/concurrencyincoming
! /var/log/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/log/clamav
! /var/lib/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/lib/clamav
! /var/run/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/run/clamav
! /service/qmail-send is missing
...try: ln -s /var/qmail/service/qmail-send /service/qmail-send
! /service/qmail-smtpd is missing
...try: ln -s /var/qmail/service/qmail-smtpd /service/qmail-smtpd
! /etc/tcp.smtp is missing
...try: echo '127.:allow,RELAYCLIENT=""' >>/etc/tcp.smtp
! /etc/tcp.smtp.cdb is missing
...try: /var/qmail/bin/qmailctl cdb
! Alias for root is missing
...try: echo me >/var/qmail/alias/.qmail-root
! Alias for postmaster is missing
...try: echo me >/var/qmail/alias/.qmail-postmaster
! Alias for mailer-daemon is missing
...try: echo me >/var/qmail/alias/.qmail-mailer-daemon
! Sendmail is still running
...try: /init.d/sendmail stop



Regards,

Swaroop Kundeti.




On Thu, May 16, 2013 at 7:01 PM, Thibault Richard <***@thibs.com> wrote:

Hello,



I’ve checked on my own install … it’s indeed the right permissions



drwxrwx--- 9 vpopmail vchkpw 4.0K Feb 21 2012 vpopmail



With the command “ls -lah /home/vpopmail/” you should have



drwx------ 150 vpopmail vchkpw 4.0K Apr 10 16:29 domains



If you have at least one working domain it should be



ls -lah /home/vpopmail/domains



drwx------ 7 vpopmail vchkpw 4.0K Jul 29 2012 thibs.com





Normally the vpopmail user should look like this



grep vpopmail /etc/passwd

vpopmail:x:89:89:Vpopmail (virtual domains) user:/home/vpopmail:/usr/sbin/nologin



How do you try to create the domain ?



By command line you should use



/home/vpopmail/bin/vadddomain test.com username



As it seems you are using my guide, could you please do :



chmod +x /downloads/scripts/qmr_inst_check
/downloads/scripts/qmr_inst_check



and tell me the result





Best Regards





Thibault a.k.a Thibs



From: swaroop kumar [mailto:***@gmail.com]
Sent: jeudi 16 mai 2013 14:23
To: ***@inter7.com
Subject: Re: [vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain directory



Hi,

Permissions seems to be ok.

drwxrwx--- 8 vpopmail vchkpw 4096 May 16 13:56 vpopmail

Regards,
Swaroop.



On Thu, May 16, 2013 at 5:50 PM, Todor Petkov <***@online.bg> wrote:

On 16/05/2013 03:14 PM, swaroop kumar wrote:

Hi All,

I am switching my mail server from sendmail to qmail, currently
installing qmail in debian and i am following this link

http://qmailrocks.thibs.com/ [1]



I Have a problem in creating domains using vpopmail, below is the
error thrown when i am trying to create a domain.

"Unable to chdir to vpopmail/domains/domain directory"

Can any one suggest me to overcome this, quick response is highly
appreciated.

Thanks in Advance.


Regards,
Swaroop Kundeti


Links:
------
[1] http://qmailrocks.thibs.com/



Hi,

check the directory permissions. ~vpopmail and below must be owned by the vpopmail user.


Regards,









--

Sincerely,
--
Swaroop Kundeti.
Project Engineer.
Virtual-Labs.
IIIT - Gachibowli.
Hyderabad.
+91-9866221131.








!DSPAM:51950bbe34121515729398!
swaroop kumar
2013-05-16 16:51:04 UTC
Permalink
HI,

I missed "perl-suid" package to install, its actually broken and below is
the output when i am trying to install. Is this package effecting GUI for
not working properly?

Regards,
--
Swaroop Kundeti.
Post by Thibault Richard
Hello,
OK I understand now. You didn’t specified in your request that you tried
from the webinterface
The result of the script is normal at this install step (it verify all the steps)
Best Regards
Thibault
*Sent:* Thursday, May 16, 2013 3:51 PM
*Subject:* Re: [vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to chdir
to vpopmail/domains/domain directory
Hello Geeks,
I resolved it by adding www-data to vchkpw group and changed owner and
group of the apache files to vpopmail:vchkpw earlier it was www-data was
owner and group. Now i am facing new error "could not update file".
@Thibs
I ran this script "/downloads/scripts/qmr_inst_check" and below is the output.
! Couldn't find /var/qmail/supervise!
! /var/qmail/supervise/qmail-send/run is missing
...try: cp /downloads/scripts/service-qmail-send-run
/var/qmail/supervise/qmail-send/run
! /service directory is missing
! Couldn't find /var/qmail/control/defaultdelivery
! DatabaseOwner is incorrect in /etc/clamav/freshclam.conf
! LocalSocketGroup is incorrect in /etc/clamav/clamd.conf
! User is incorrect in /etc/clamav/clamd.conf
! /var/qmail/bin/qmailctl is missing
! /usr/bin/qmailctl is missing
...try: ln -s /var/qmail/bin/qmailctl /usr/bin
! /var/qmail/supervise/qmail-send/run file is missing
! /var/qmail/supervise/qmail-send/log/run file is missing
! /var/qmail/supervise/qmail-smtpd/run file is missing
! /var/qmail/supervise/qmail-smtpd/log/run file is missing
! /var/qmail/control/concurrencyincoming is missing
...try: echo 30 >/var/qmail/control/concurrencyincoming
! /var/log/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/log/clamav
! /var/lib/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/lib/clamav
! /var/run/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/run/clamav
! /service/qmail-send is missing
...try: ln -s /var/qmail/service/qmail-send /service/qmail-send
! /service/qmail-smtpd is missing
...try: ln -s /var/qmail/service/qmail-smtpd /service/qmail-smtpd
! /etc/tcp.smtp is missing
...try: echo '127.:allow,RELAYCLIENT=""' >>/etc/tcp.smtp
! /etc/tcp.smtp.cdb is missing
...try: /var/qmail/bin/qmailctl cdb
! Alias for root is missing
...try: echo me >/var/qmail/alias/.qmail-root
! Couldn't find /var/qmail/supervise!
! /var/qmail/supervise/qmail-send/run is missing
...try: cp /downloads/scripts/service-qmail-send-run
/var/qmail/supervise/qmail-send/run
! /service directory is missing
! Couldn't find /var/qmail/control/defaultdelivery
! DatabaseOwner is incorrect in /etc/clamav/freshclam.conf
! LocalSocketGroup is incorrect in /etc/clamav/clamd.conf
! User is incorrect in /etc/clamav/clamd.conf
! /var/qmail/bin/qmailctl is missing
! /usr/bin/qmailctl is missing
...try: ln -s /var/qmail/bin/qmailctl /usr/bin
! /var/qmail/supervise/qmail-send/run file is missing
! /var/qmail/supervise/qmail-send/log/run file is missing
! /var/qmail/supervise/qmail-smtpd/run file is missing
! /var/qmail/supervise/qmail-smtpd/log/run file is missing
! /var/qmail/control/concurrencyincoming is missing
...try: echo 30 >/var/qmail/control/concurrencyincoming
! /var/log/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/log/clamav
! /var/lib/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/lib/clamav
! /var/run/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/run/clamav
! /service/qmail-send is missing
...try: ln -s /var/qmail/service/qmail-send /service/qmail-send
! /service/qmail-smtpd is missing
...try: ln -s /var/qmail/service/qmail-smtpd /service/qmail-smtpd
! /etc/tcp.smtp is missing
...try: echo '127.:allow,RELAYCLIENT=""' >>/etc/tcp.smtp
! /etc/tcp.smtp.cdb is missing
...try: /var/qmail/bin/qmailctl cdb
! Alias for root is missing
...try: echo me >/var/qmail/alias/.qmail-root
! Alias for postmaster is missing
...try: echo me >/var/qmail/alias/.qmail-postmaster
! Alias for mailer-daemon is missing
...try: echo me >/var/qmail/alias/.qmail-mailer-daemon
! Sendmail is still running
...try: /init.d/sendmail stop
Regards,
Swaroop Kundeti.
Hello,****
****
I’ve checked on my own install … it’s indeed the right permissions****
****
drwxrwx--- 9 vpopmail vchkpw 4.0K Feb 21 2012 vpopmail****
****
With the command “*ls -lah /home/vpopmail/*” you should have****
****
drwx------ 150 vpopmail vchkpw 4.0K Apr 10 16:29 domains****
****
If you have at least one working domain it should be ****
****
*ls -lah /home/vpopmail/domains*
****
drwx------ 7 vpopmail vchkpw 4.0K Jul 29 2012 thibs.com****
****
****
Normally the vpopmail user should look like this****
****
*grep vpopmail /etc/passwd*
vpopmail:x:89:89:Vpopmail (virtual domains)
user:/home/vpopmail:/usr/sbin/nologin****
****
How do you try to create the domain ? ****
****
By command line you should use****
****
*/home/vpopmail/bin/vadddomain test.com username*
****
As it seems you are using my guide, could you please do :****
****
*chmod +x /downloads/scripts/qmr_inst_check
/downloads/scripts/qmr_inst_check*
****
and tell me the result****
****
****
Best Regards****
****
****
Thibault a.k.a Thibs****
****
*Sent:* jeudi 16 mai 2013 14:23
*Subject:* Re: [vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to
chdir to vpopmail/domains/domain directory****
****
Hi,****
Permissions seems to be ok.
drwxrwx--- 8 vpopmail vchkpw 4096 May 16 13:56 vpopmail****
Regards,
Swaroop.****
****
On 16/05/2013 03:14 PM, swaroop kumar wrote:****
Hi All,
I am switching my mail server from sendmail to qmail, currently
installing qmail in debian and i am following this link****
http://qmailrocks.thibs.com/ [1]****
I Have a problem in creating domains using vpopmail, below is the
error thrown when i am trying to create a domain.
"Unable to chdir to vpopmail/domains/domain directory"
Can any one suggest me to overcome this, quick response is highly
appreciated.
Thanks in Advance.
Regards,
Swaroop Kundeti
****
------
[1] http://qmailrocks.thibs.com/****
Hi,
check the directory permissions. ~vpopmail and below must be owned by the vpopmail user.
Regards,
****
-- ****
Sincerely,
--
Swaroop Kundeti.
Project Engineer.
Virtual-Labs.
IIIT - Gachibowli.
Hyderabad.
+91-9866221131.****
****
--
Sincerely,
--
Swaroop Kundeti.
Project Engineer.
Virtual-Labs.
IIIT - Gachibowli.
Hyderabad.
+91-9866221131.


!DSPAM:51950e9e34129622920073!
swaroop kumar
2013-05-16 14:07:21 UTC
Permalink
Hello,

Thibs::

I could able to add domains by using command line
"/home/vpopmail/bin/vadddomain virtual-labs.ac.in admin" but not in gui.
error "could not update file" was trown when i am trying to create domain.

After creating domain using command i could able to view the details of the
domain over gui.

Regards,
Swaroop Kundeti
Hello,****
** **
I’ve checked on my own install … it’s indeed the right permissions****
** **
drwxrwx--- 9 vpopmail vchkpw 4.0K Feb 21 2012 vpopmail****
** **
With the command “*ls -lah /home/vpopmail/*” you should have****
** **
drwx------ 150 vpopmail vchkpw 4.0K Apr 10 16:29 domains****
** **
If you have at least one working domain it should be ****
** **
*ls -lah /home/vpopmail/domains*
** **
drwx------ 7 vpopmail vchkpw 4.0K Jul 29 2012 thibs.com****
** **
** **
Normally the vpopmail user should look like this****
** **
*grep vpopmail /etc/passwd*
vpopmail:x:89:89:Vpopmail (virtual domains)
user:/home/vpopmail:/usr/sbin/nologin****
** **
How do you try to create the domain ? ****
** **
By command line you should use****
** **
*/home/vpopmail/bin/vadddomain test.com username*
** **
As it seems you are using my guide, could you please do :****
** **
*chmod +x /downloads/scripts/qmr_inst_check
/downloads/scripts/qmr_inst_check*
** **
and tell me the result****
** **
** **
Best Regards****
** **
** **
Thibault a.k.a Thibs****
** **
*Sent:* jeudi 16 mai 2013 14:23
*Subject:* Re: [vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to chdir
to vpopmail/domains/domain directory****
** **
Hi,****
Permissions seems to be ok.
drwxrwx--- 8 vpopmail vchkpw 4096 May 16 13:56 vpopmail****
Regards,
Swaroop.****
** **
On 16/05/2013 03:14 PM, swaroop kumar wrote:****
Hi All,
I am switching my mail server from sendmail to qmail, currently
installing qmail in debian and i am following this link****
http://qmailrocks.thibs.com/ [1]****
I Have a problem in creating domains using vpopmail, below is the
error thrown when i am trying to create a domain.
"Unable to chdir to vpopmail/domains/domain directory"
Can any one suggest me to overcome this, quick response is highly
appreciated.
Thanks in Advance.
Regards,
Swaroop Kundeti
****
------
[1] http://qmailrocks.thibs.com/****
Hi,
check the directory permissions. ~vpopmail and below must be owned by the
vpopmail user.
Regards,
****
-- ****
Sincerely,
--
Swaroop Kundeti.
Project Engineer.
Virtual-Labs.
IIIT - Gachibowli.
Hyderabad.
+91-9866221131.****
****
--
Sincerely,
--
Swaroop Kundeti.
Project Engineer.
Virtual-Labs.
IIIT - Gachibowli.
Hyderabad.
+91-9866221131.


!DSPAM:5194bf3d34121642640776!
Postmaster
2013-05-16 14:15:01 UTC
Permalink
-help

!DSPAM:5194c15a34121991596309!
Tom Collins
2013-05-16 14:17:31 UTC
Permalink
If you're talking about QmailAdmin, you need to make sure it's got the suid bit set and is owned by the vpopmail user.

You shouldn't have changed Apache to run as vpopmail, and should revert those changes.

If vpopmail is working for you, you should focus your efforts on troubleshooting QmailAdmin.

-Tom
I could able to add domains by using command line "/home/vpopmail/bin/vadddomain virtual-labs.ac.in admin" but not in gui. error "could not update file" was trown when i am trying to create domain.
After creating domain using command i could able to view the details of the domain over gui.
!DSPAM:5194c1a634122055419353!
Ron Herzing
2013-05-16 13:49:32 UTC
Permalink
I word of caution. Qmailrocks is not a good way to learn how to install
Qmail.
Post by swaroop kumar
Hi All,
I am switching my mail server from sendmail to qmail, currently installing
qmail in debian and i am following this link http://qmailrocks.thibs.com/
I Have a problem in creating domains using vpopmail, below is the error
thrown when i am trying to create a domain.
"Unable to chdir to vpopmail/domains/domain directory"
Can any one suggest me to overcome this, quick response is highly
appreciated.
Thanks in Advance.
Regards,
Swaroop Kundeti
--
Ron Herzing
***@gmail.com


!DSPAM:5194bb0f34129738711467!
Remo Mattei
2013-05-16 14:58:52 UTC
Permalink
I agree with that! It used to be a good point, then the best one was from Bill but that was taken down ;). I would suggest to look at qmail.org or at this url

http://notes.sagredo.eu

Bye,
Remo
I word of caution. Qmailrocks is not a good way to learn how to install Qmail.
Hi All,
I am switching my mail server from sendmail to qmail, currently installing qmail in debian and i am following this link http://qmailrocks.thibs.com/
I Have a problem in creating domains using vpopmail, below is the error thrown when i am trying to create a domain.
"Unable to chdir to vpopmail/domains/domain directory"
Can any one suggest me to overcome this, quick response is highly appreciated.
Thanks in Advance.
Regards,
Swaroop Kundeti
--
Ron Herzing
!DSPAM:5194f44f34123729460077!
Eric Shubert
2013-05-16 15:11:40 UTC
Permalink
https://wiki.qmailtoaster.com has a lot of users and a nice community.
You should be able to have a qmail server up and running in just a
couple hours. Unfortunately, we haven't ported to debian yet, although I
believe there is a person or two who have done this. You'd need to check
the email list archives, or ask on the list.

Disclaimer: I'm the lead on the project. ;)
FWIW.
--
-Eric 'shubes'
Post by Remo Mattei
I agree with that! It used to be a good point, then the best one was
from Bill but that was taken down ;). I would suggest to look at
qmail.org <http://qmail.org> or at this url
http://notes.sagredo.eu
Bye,
Remo
I word of caution. Qmailrocks is not a good way to learn how to install Qmail.
Hi All,
I am switching my mail server from sendmail to qmail, currently
installing qmail in debian and i am following this link
http://qmailrocks.thibs.com/
I Have a problem in creating domains using vpopmail, below is the
error thrown when i am trying to create a domain.
"Unable to chdir to vpopmail/domains/domain directory"
Can any one suggest me to overcome this, quick response is highly appreciated.
Thanks in Advance.
Regards,
Swaroop Kundeti
--
Ron Herzing
!DSPAM:5194f74f34121751172100!
Thibault Richard
2013-05-16 15:54:59 UTC
Permalink
My way of doing (I’m the author of http://qmailrocks.thibs.com) is not so bad


From: Ron Herzing
Sent: Thursday, May 16, 2013 3:49 PM
To: ***@inter7.com
Subject: Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain directory

I word of caution. Qmailrocks is not a good way to learn how to install Qmail.



On Thu, May 16, 2013 at 7:14 AM, swaroop kumar <***@gmail.com> wrote:


Hi All,


I am switching my mail server from sendmail to qmail, currently installing qmail in debian and i am following this link http://qmailrocks.thibs.com/


I Have a problem in creating domains using vpopmail, below is the error thrown when i am trying to create a domain.

"Unable to chdir to vpopmail/domains/domain directory"


Can any one suggest me to overcome this, quick response is highly appreciated.


Thanks in Advance.


Regards,

Swaroop Kundeti
--
Ron Herzing
***@gmail.com



!DSPAM:5195017534121629432076!
Remo Mattei
2013-05-16 16:51:47 UTC
Permalink
HI Thibs,
looks nice but you are still running courier ops!! So maybe it's a new project for you to update to dovecot faster and supported better than courier now.

Just my 2 cents,

Remo
My way of doing (I’m the author of http://qmailrocks.thibs.com) is not so bad <wlEmoticon-winkingsmile[1].png>
From: Ron Herzing
Sent: Thursday, May 16, 2013 3:49 PM
Subject: Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain directory
I word of caution. Qmailrocks is not a good way to learn how to install Qmail.
Hi All,
I am switching my mail server from sendmail to qmail, currently installing qmail in debian and i am following this link http://qmailrocks.thibs.com/
I Have a problem in creating domains using vpopmail, below is the error thrown when i am trying to create a domain.
"Unable to chdir to vpopmail/domains/domain directory"
Can any one suggest me to overcome this, quick response is highly appreciated.
Thanks in Advance.
Regards,
Swaroop Kundeti
--
Ron Herzing
!DSPAM:51950ee734121639429747!
Thibault Richard
2013-05-16 17:03:37 UTC
Permalink
You’re right ... and this guide is indeed using old-fashioned software.

As Debian has just released last week-end a new version, I’m currently working on a new installation guide with Dovecot

From: Remo Mattei
Sent: Thursday, May 16, 2013 6:51 PM
To: ***@inter7.com
Subject: Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain directory

HI Thibs,
looks nice but you are still running courier ops!! So maybe it's a new project for you to update to dovecot faster and supported better than courier now.

Just my 2 cents,

Remo

On May 16, 2013, at 08:54 , "Thibault Richard" <***@thibs.com> wrote:


My way of doing (I’m the author of http://qmailrocks.thibs.com) is not so bad <wlEmoticon-winkingsmile[1].png>


From: Ron Herzing
Sent: Thursday, May 16, 2013 3:49 PM
To: ***@inter7.com
Subject: Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain directory

I word of caution. Qmailrocks is not a good way to learn how to install Qmail.



On Thu, May 16, 2013 at 7:14 AM, swaroop kumar <***@gmail.com> wrote:


Hi All,


I am switching my mail server from sendmail to qmail, currently installing qmail in debian and i am following this link http://qmailrocks.thibs.com/


I Have a problem in creating domains using vpopmail, below is the error thrown when i am trying to create a domain.

"Unable to chdir to vpopmail/domains/domain directory"


Can any one suggest me to overcome this, quick response is highly appreciated.


Thanks in Advance.


Regards,

Swaroop Kundeti





--
Ron Herzing
***@gmail.com




!DSPAM:5195118b34126731113110!
Eric Shubert
2013-05-16 19:24:04 UTC
Permalink
Hey Thibault,

I'm wondering if you'd like to head up a debian release for
qmail-toaster. We'd love to have you as part of the community.

I hope to be spending more time on the project in the near future,
moving the sources to github, and using the opensuse build service to
build binary packages. The project has historically only worked with rpm
based distros, but I'd love to have debs available as well.

If you're interested please join us on the
qmailtoaster-***@qmailtoaster.com list. You can subscribe the ezmlm
way, or access it via gmane.org.

In any case, thanks for your work with qmail on debian. I'm sure it will
be helpful regardless.
--
-Eric 'shubes'
You’re right ... and this guide is indeed using old-fashioned software.
As Debian has just released last week-end a new version, I’m currently
working on a new installation guide with Dovecot
*Sent:* Thursday, May 16, 2013 6:51 PM
*Subject:* Re: [vchkpw] [SPAM] Error: Unable to chdir to
vpopmail/domains/domain directory
HI Thibs,
looks nice but you are still running courier ops!! So maybe it's a new
project for you to update to dovecot faster and supported better than
courier now.
Just my 2 cents,
Remo
My way of doing (I’m the author of http://qmailrocks.thibs.com
<http://qmailrocks.thibs.com/>) is not so bad
<wlEmoticon-winkingsmile[1].png>
*Sent:* Thursday, May 16, 2013 3:49 PM
*Subject:* Re: [vchkpw] [SPAM] Error: Unable to chdir to
vpopmail/domains/domain directory
I word of caution. Qmailrocks is not a good way to learn how to install Qmail.
Hi All,
I am switching my mail server from sendmail to qmail, currently
installing qmail in debian and i am following this link
http://qmailrocks.thibs.com/
I Have a problem in creating domains using vpopmail, below is the
error thrown when i am trying to create a domain.
"Unable to chdir to vpopmail/domains/domain directory"
Can any one suggest me to overcome this, quick response is highly appreciated.
Thanks in Advance.
Regards,
Swaroop Kundeti
--
Ron Herzing
!DSPAM:519532a034123111819093!
Loading...