View previous topic :: View next topic |
Author |
Message |
petterg Guru
Joined: 25 Mar 2004 Posts: 500 Location: Oslo, Norway
|
Posted: Wed Jun 16, 2004 7:10 am Post subject: |
|
|
arachn1d wrote: | i get this error
Code: | /etc/init.d/svscan stsvscan: warning: unable to stat qmail-smtpd: file does not exist
|
|
Well, does it exist?
It's talking about the symlink you have in /service. Does the dir it points to exist? |
|
Back to top |
|
|
YannTechGeek Tux's lil' helper
Joined: 30 Oct 2003 Posts: 107 Location: France 94
|
Posted: Wed Jun 16, 2004 3:41 pm Post subject: |
|
|
Code: |
/vadddomain osmose.yanntech.net
Please enter password for postmaster:
enter password again:
Failure while attempting to remove_line() the locals file
Error. Failed to add domain to assign file
Error: Could not update file
|
a table was create in database (/etc/vpopmail.conf work successful) but this don't work .... no directory in ~/vpopmail/domains/ _________________ Geekeurs a plein temps --- Gentoo ~x86 2.6.12-nitro5 AMD 3000+ A7N8X-E Deluxe 1536Mo DDR PC3200 ATI X800 Pro Maxtor 200Go Western-Digital 80Go |
|
Back to top |
|
|
YannTechGeek Tux's lil' helper
Joined: 30 Oct 2003 Posts: 107 Location: France 94
|
Posted: Wed Jun 16, 2004 3:45 pm Post subject: |
|
|
I have 2tables :
* dir_control
* limits _________________ Geekeurs a plein temps --- Gentoo ~x86 2.6.12-nitro5 AMD 3000+ A7N8X-E Deluxe 1536Mo DDR PC3200 ATI X800 Pro Maxtor 200Go Western-Digital 80Go |
|
Back to top |
|
|
petterg Guru
Joined: 25 Mar 2004 Posts: 500 Location: Oslo, Norway
|
Posted: Thu Jun 17, 2004 12:43 pm Post subject: |
|
|
YannTechGeek wrote: | Code: |
/vadddomain osmose.yanntech.net
Please enter password for postmaster:
enter password again:
Failure while attempting to remove_line() the locals file
Error. Failed to add domain to assign file
Error: Could not update file
|
a table was create in database (/etc/vpopmail.conf work successful) but this don't work .... no directory in ~/vpopmail/domains/ |
If you don't have anything useful in your db it could be a good idea to recreate it.
mysql> drop database vpopmail
the create it again the way the guide tells you to.
You may also find the 'universal' /etc/vpopmail.conf file useful. (Different versions of the mailsystem requires different vpopmail.conf file. This universal thing works with all of them)
Code: |
# Read-only DB
localhost|0|vpopmail|password|vpopmail
# Write DB
localhost|0|vpopmail|password|vpopmail
MYSQL_UPDATE_SERVER localhost
MYSQL_UPDATE_USER vpopmail
MYSQL_UPDATE_PASSWD password
MYSQL_READ_SERVER localhost
MYSQL_READ_USER vpopmail
MYSQL_READ_PASSWD password
|
Edit: Also delete all files/dirs under /var/vpopmail/domains |
|
Back to top |
|
|
trionnis n00b
Joined: 27 Jun 2004 Posts: 1 Location: New York, NY
|
Posted: Mon Jun 28, 2004 12:31 am Post subject: |
|
|
ARC2300 wrote: | okay. . .I set everything up, yet something's quirky with the vadddomain.
Code: | Failure while attempting to remove_line() the locals file
Error. Failed to add domain to assign file
Error: Could not update file
|
That's what I get when trying to put in my domain.
When I try to remove the domain, this is what happens:
Code: | Warning: Could not access (/var/vpopmail/domains/cruea.net)
Warning: Failed while attempting to delete domain from auth backend
Warning: Failed to delete directory tree: cruea.net
|
Hmmm. . .can't delete from teh auth backend (mysql). Hmmm.
I've granted all permissions in mysql to vpopmail for vpopmail, too.
Did I miss a step somewhere? I got pulled away from the install several times, so it's possible something got screwed up somewhere. |
Code: | touch /var/qmail/control/locals |
|
|
Back to top |
|
|
YannTechGeek Tux's lil' helper
Joined: 30 Oct 2003 Posts: 107 Location: France 94
|
Posted: Mon Jun 28, 2004 10:06 am Post subject: |
|
|
Good Job !
very thanks _________________ Geekeurs a plein temps --- Gentoo ~x86 2.6.12-nitro5 AMD 3000+ A7N8X-E Deluxe 1536Mo DDR PC3200 ATI X800 Pro Maxtor 200Go Western-Digital 80Go |
|
Back to top |
|
|
Kitrik n00b
Joined: 16 Feb 2003 Posts: 23
|
Posted: Tue Jul 13, 2004 2:00 am Post subject: |
|
|
Followed directions, got it working, but every now and then I get this error and nothing will send nor deliver:
Code: | /etc/init.d/svscan restart
* Stopping service scan... [ ok ]
* Stopping services... [ ok ]
* Stopping service logging... [ ok ]
* Starting service scan... [ ok ]
druchii qmail-send # supervise: fatal: unable to acquire qmail-send/supervise/lock: temporary failure
supervise: fatal: unable to acquire qmail-send/supervise/lock: temporary failure
|
This error just keeps repeating itself over and over again. If I delete the lock file and then touch it, the error goes away but comes back after a few seconds...
Any help would be appreciated!
Kitrik |
|
Back to top |
|
|
Gatak Apprentice
Joined: 04 Jan 2004 Posts: 174
|
Posted: Wed Jul 14, 2004 10:47 pm Post subject: |
|
|
Has anyone tried to upgrade vpopmail from 5.2.2 to 5.4? I am asking because the vchkpw command is supposed to support cram-md5 for passwords. Is there any configuration issues etc with it? |
|
Back to top |
|
|
petterg Guru
Joined: 25 Mar 2004 Posts: 500 Location: Oslo, Norway
|
Posted: Wed Jul 21, 2004 11:32 am Post subject: |
|
|
Kitrik wrote: | Followed directions, got it working, but every now and then I get this error and nothing will send nor deliver:
Code: | /etc/init.d/svscan restart
* Stopping service scan... [ ok ]
* Stopping services... [ ok ]
* Stopping service logging... [ ok ]
* Starting service scan... [ ok ]
druchii qmail-send # supervise: fatal: unable to acquire qmail-send/supervise/lock: temporary failure
supervise: fatal: unable to acquire qmail-send/supervise/lock: temporary failure
|
This error just keeps repeating itself over and over again. If I delete the lock file and then touch it, the error goes away but comes back after a few seconds...
Any help would be appreciated!
Kitrik |
The solution to your problem is posted somewhere in this thread. I had the same problem, but after reading this thread I found a way to fix it. I don't remember what it was. |
|
Back to top |
|
|
slaapkop n00b
Joined: 04 Mar 2004 Posts: 66 Location: Nijmegen
|
Posted: Sat Sep 18, 2004 8:08 am Post subject: |
|
|
Hi,
Currently I run Postfix as MTA.
I quite happy with postfix at the moment, i read a lot about other MTA's as well. I even did a research on mta's during college. But ontopic, i want to know if an 'emerge -C postfix' is enough to delete postfix. I run postfix with IMAP-ssl, spamassassin etc... I followed the howto on this forum.
Thanks...!!! |
|
Back to top |
|
|
BoBB Tux's lil' helper
Joined: 15 Jun 2002 Posts: 143 Location: Mesa, AZ
|
Posted: Mon Oct 04, 2004 6:11 am Post subject: |
|
|
I'm having a major problem with this setup, Ive setup everything just fine, I can login via pop3 or imap over ssl, I can send emails via SMTP, but when I try to send a mail to a virtual domain vdelivermail just hangs on the messages in queue and uses 100% CPU. Almost like it doesnt know where to deliver it, where does vdelivermail send mail for virtual domains? Like /home/username/.users/username/ or what? Also where does vdelivermail hide its logs at? _________________ /* BoBB
* AIM: Jodokast49 ICQ: 151495596
* http://irgeek.net/
*/ |
|
Back to top |
|
|
BoBB Tux's lil' helper
Joined: 15 Jun 2002 Posts: 143 Location: Mesa, AZ
|
Posted: Mon Oct 04, 2004 6:44 am Post subject: |
|
|
Alright I managed to get vdelivermail to stop hanging and using 100% CPU, the entries in virtualdoamins was wrong, however it doesnt look like the mail is actually getting delivered, its not showing up in /var/vpopmail/domains/domain.com/user/.maildir/ .... Man I am so lost =/ Anyone have any idea? _________________ /* BoBB
* AIM: Jodokast49 ICQ: 151495596
* http://irgeek.net/
*/ |
|
Back to top |
|
|
petterg Guru
Joined: 25 Mar 2004 Posts: 500 Location: Oslo, Norway
|
Posted: Mon Oct 04, 2004 8:19 am Post subject: |
|
|
I also had problem with mail not beeing delivered - I could see it pass trough qmailscanner, but them no more sign of it. This occured after the system had been working for several weeks.
Figured it would be faster to reinstall everything than debug. |
|
Back to top |
|
|
BoBB Tux's lil' helper
Joined: 15 Jun 2002 Posts: 143 Location: Mesa, AZ
|
Posted: Mon Oct 04, 2004 8:30 am Post subject: |
|
|
This is on fresh install of qmail so I doubt that reinsalling/configuring will do anything ... it appears that they are sending a bounceback message that says "that mailox does not exist at this domain" .... _________________ /* BoBB
* AIM: Jodokast49 ICQ: 151495596
* http://irgeek.net/
*/ |
|
Back to top |
|
|
petterg Guru
Joined: 25 Mar 2004 Posts: 500 Location: Oslo, Norway
|
Posted: Tue Oct 05, 2004 12:51 pm Post subject: |
|
|
BoBB wrote: | This is on fresh install of qmail so I doubt that reinsalling/configuring will do anything ... it appears that they are sending a bounceback message that says "that mailox does not exist at this domain" .... |
Check that all files in /var/qmail/control that are supposed to include your domainname acctually does so.
Or you may use vdeldomain vadddomain to recreate the virtual domain.
It may also be some kind of permission problem. Try to run the que-fix posted early in this thread. |
|
Back to top |
|
|
linux_4031 n00b
Joined: 13 Nov 2004 Posts: 1 Location: NC, USA
|
Posted: Sat Nov 13, 2004 2:17 pm Post subject: starting svscan twice is a common problem |
|
|
dodger10k wrote: |
root 1550 0.0 0.0 1316 228 ? S 02:44 0:00 readproctitle service errors: ...: temporary failure?supervise: fatal: unable to acquire log/supervise/lock: temporary failure?supervise: fatal: unable to acquire log/supervise/lock: temporary failure?supervise: fatal: unable to acquire qmail-send/supervise/lock: temporary failure?supervise: fatal: unable to acquire log/supervise/lock: temporary failure?supervise: fatal: unable to acquire log/supervise/lock: temporary failure?
What´s going wrong here? Any hints would be appreciated |
I had this problem also and found that svscan was starting with an rc script AND it was starting in inittab. I removed it from the rc script with
Quote: |
rc-update del svscan default
|
And my problems went away. Good Luck.
--
Linux User #4031
http://counter.li.org/ |
|
Back to top |
|
|
ramidh n00b
Joined: 16 Feb 2004 Posts: 31 Location: Grand Rapids, MI
|
Posted: Mon Dec 06, 2004 3:33 pm Post subject: |
|
|
I used this guide to install squirrelmail
When I use vpopmail to add a domain or user i get the following error:
Quote: |
vmysql: error creating table 'dir_control': MySQL server has gone away
vmysql: sql error[b]: MySQL server has gone away
Failure while attempting to remove_line() the locals file
vmysql: error creating table 'dir_control': MySQL server has gone away
vmysql: error creating table 'dir_control': MySQL server has gone away
vmysql: sql error[b]: MySQL server has gone away
Error. Failed to add domain to assign file
Error: Could not update file
|
I'm not good with MySQL and everything I've tried doesn't work.
Please help _________________ In Linux we trust. |
|
Back to top |
|
|
petterg Guru
Joined: 25 Mar 2004 Posts: 500 Location: Oslo, Norway
|
Posted: Thu Dec 09, 2004 12:49 am Post subject: |
|
|
try logging in to the mysql server using the vpopmail user and password. Do you get access to the vpopmail database? |
|
Back to top |
|
|
Rooney Apprentice
Joined: 07 Aug 2003 Posts: 193 Location: Sheffield, UK
|
Posted: Mon Jan 31, 2005 10:01 pm Post subject: |
|
|
I know this is such a simple quesation but i just cant find the answer
what the format when using squirrelmail or even a mail client e.g
user+domain
domain+user
user@domain and so on i cant find the right combination to log in |
|
Back to top |
|
|
petterg Guru
Joined: 25 Mar 2004 Posts: 500 Location: Oslo, Norway
|
Posted: Mon Jan 31, 2005 11:32 pm Post subject: |
|
|
Rooney: when using vpopmail you need to use "user@domain.tld" . This because there is an posibility to have several domains on the same server.
If you skipped installing vpopmail you can use eighter just "user" or "user@domain.tld"
Edit - added:
If you used "mail.domain.tld" when you added the domain (vadddomain) you need to use "user@mail.domain.tld". |
|
Back to top |
|
|
Rooney Apprentice
Joined: 07 Aug 2003 Posts: 193 Location: Sheffield, UK
|
Posted: Mon Jan 31, 2005 11:37 pm Post subject: |
|
|
petterg wrote: | Rooney: when using vpopmail you need to use "user@domain.tld" . This because there is an posibility to have several domains on the same server.
If you skipped installing vpopmail you can use eighter just "user" or "user@domain.tld"
Edit - added:
If you used "mail.domain.tld" when you added the domain (vadddomain) you need to use "user@mail.domain.tld". |
ive tried this but for some reason it just rejects ? mmm now im lost
here is the info if i try and telnet to it.
core root # telnet 127.0.0.1 110
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
+OK Hello there.
user postmaster@*******.co.uk
+OK Password required.
pass ************
Connection closed by foreign host.
core root # |
|
Back to top |
|
|
Doktor n00b
Joined: 30 Oct 2004 Posts: 10
|
Posted: Mon Sep 19, 2005 2:43 pm Post subject: |
|
|
I use non Mysql installation of vpopmail.
Just type:
vuserinfo am@blabla.ru
and recieve:
no such user am@blalba.ru
Some help? |
|
Back to top |
|
|
petterg Guru
Joined: 25 Mar 2004 Posts: 500 Location: Oslo, Norway
|
Posted: Tue Sep 20, 2005 7:45 pm Post subject: |
|
|
Doktor wrote: | I use non Mysql installation of vpopmail.
Just type:
vuserinfo am@blabla.ru
and recieve:
no such user am@blalba.ru
Some help? |
Does /var/vpopmail/domains/blalba.ru/am/.maildir exist?
What happens when you add users to the vpopmail system? Any errors? |
|
Back to top |
|
|
derheld42 Tux's lil' helper
Joined: 31 Mar 2003 Posts: 97 Location: Washington, US
|
Posted: Mon Jan 09, 2006 12:25 am Post subject: |
|
|
With spamassassin-3.1.0, I believe this conf.d/spamd is incorrect:
SPAMD_OPTS="-d -u vpopmail -v -x -C /etc/mail/spamassassin/local.cf"
I believe this is more correct:
SPAMD_OPTS="-u vpopmail -x -v"
because /etc/mail/spamassassin and /usr/share/spamassassin are already coded in the spamassassin scripts. |
|
Back to top |
|
|
ababali n00b
Joined: 08 May 2008 Posts: 2 Location: ALBANIA
|
Posted: Thu May 08, 2008 9:46 am Post subject: |
|
|
I have created an e-mail account from qmailadmin where I can login as postmaster.
I can send and receive e-mails worldwide.
When I send the emails to others recipients.
Instead of full name the "Error: unable to setuid" is placed like below.
From: "Error: unable to setuid" <ababali@mydomain.com>
How to solve this issue. I just want that "Error: unable to setuid" to be replaced with my full name.
Other users created before are OK.
Thanks in advance. |
|
Back to top |
|
|
|