Re: [vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain directory
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. On Thu, May 16, 2013 at 10:08 PM, Thibault Richard wrote: > 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:* vchkpw@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 > 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/q
Re: [vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain directory
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: vchkpw@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 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 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/n
[vchkpw] [SPAM] Re: [vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain directory
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 On May 16, 2013, at 7:07 AM, swaroop kumar wrote: > 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!
Re: [vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain directory
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 On Thu, May 16, 2013 at 7:01 PM, Thibault Richard 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:swaroopk...@gmail.com] > *Sent:* jeudi 16 mai 2013 14:23 > *To:* vchkpw@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 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. > > > > -- Sincerely, -- Swaroop Kundeti. Project Engineer. Virtual-Labs. IIIT - Gachibowli. Hyderabad. +91-9866221131. !DSPAM:5194bf3d34121642640776!
Re: [vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain directory
* ** > > */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:swaroopk...@gmail.com] > *Sent:* jeudi 16 mai 2013 14:23 > *To:* vchkpw@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 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:5194bb8934125324512510!
RE: [vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain directory
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:swaroopk...@gmail.com] Sent: jeudi 16 mai 2013 14:23 To: vchkpw@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 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!
[vchkpw] Re: [This is probably spam] Re: [vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain directory
On 16/05/2013 03:23 PM, swaroop kumar wrote: 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!
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 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:5194a6d834129043313283!
[vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain directory
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, !DSPAM:5194a61634121924852515!