Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: qmail vpopmail qmail-scanner courier squirrelmail
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... , 15, 16, 17  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Wed Jun 16, 2004 7:10 am    Post subject: Reply with quote

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
View user's profile Send private message
YannTechGeek
Tux's lil' helper
Tux's lil' helper


Joined: 30 Oct 2003
Posts: 107
Location: France 94

PostPosted: Wed Jun 16, 2004 3:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
YannTechGeek
Tux's lil' helper
Tux's lil' helper


Joined: 30 Oct 2003
Posts: 107
Location: France 94

PostPosted: Wed Jun 16, 2004 3:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Thu Jun 17, 2004 12:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
trionnis
n00b
n00b


Joined: 27 Jun 2004
Posts: 1
Location: New York, NY

PostPosted: Mon Jun 28, 2004 12:31 am    Post subject: Reply with quote

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
View user's profile Send private message
YannTechGeek
Tux's lil' helper
Tux's lil' helper


Joined: 30 Oct 2003
Posts: 107
Location: France 94

PostPosted: Mon Jun 28, 2004 10:06 am    Post subject: Reply with quote

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
View user's profile Send private message
Kitrik
n00b
n00b


Joined: 16 Feb 2003
Posts: 23

PostPosted: Tue Jul 13, 2004 2:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Gatak
Apprentice
Apprentice


Joined: 04 Jan 2004
Posts: 174

PostPosted: Wed Jul 14, 2004 10:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Wed Jul 21, 2004 11:32 am    Post subject: Reply with quote

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
View user's profile Send private message
slaapkop
n00b
n00b


Joined: 04 Mar 2004
Posts: 66
Location: Nijmegen

PostPosted: Sat Sep 18, 2004 8:08 am    Post subject: Reply with quote

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
View user's profile Send private message
BoBB
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2002
Posts: 143
Location: Mesa, AZ

PostPosted: Mon Oct 04, 2004 6:11 am    Post subject: Reply with quote

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
View user's profile Send private message
BoBB
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2002
Posts: 143
Location: Mesa, AZ

PostPosted: Mon Oct 04, 2004 6:44 am    Post subject: Reply with quote

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
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Mon Oct 04, 2004 8:19 am    Post subject: Reply with quote

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
View user's profile Send private message
BoBB
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2002
Posts: 143
Location: Mesa, AZ

PostPosted: Mon Oct 04, 2004 8:30 am    Post subject: Reply with quote

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
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Tue Oct 05, 2004 12:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
linux_4031
n00b
n00b


Joined: 13 Nov 2004
Posts: 1
Location: NC, USA

PostPosted: Sat Nov 13, 2004 2:17 pm    Post subject: starting svscan twice is a common problem Reply with quote

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
View user's profile Send private message
ramidh
n00b
n00b


Joined: 16 Feb 2004
Posts: 31
Location: Grand Rapids, MI

PostPosted: Mon Dec 06, 2004 3:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Thu Dec 09, 2004 12:49 am    Post subject: Reply with quote

try logging in to the mysql server using the vpopmail user and password. Do you get access to the vpopmail database?
Back to top
View user's profile Send private message
Rooney
Apprentice
Apprentice


Joined: 07 Aug 2003
Posts: 193
Location: Sheffield, UK

PostPosted: Mon Jan 31, 2005 10:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Mon Jan 31, 2005 11:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Rooney
Apprentice
Apprentice


Joined: 07 Aug 2003
Posts: 193
Location: Sheffield, UK

PostPosted: Mon Jan 31, 2005 11:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Doktor
n00b
n00b


Joined: 30 Oct 2004
Posts: 10

PostPosted: Mon Sep 19, 2005 2:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 500
Location: Oslo, Norway

PostPosted: Tue Sep 20, 2005 7:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
derheld42
Tux's lil' helper
Tux's lil' helper


Joined: 31 Mar 2003
Posts: 97
Location: Washington, US

PostPosted: Mon Jan 09, 2006 12:25 am    Post subject: Reply with quote

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
View user's profile Send private message
ababali
n00b
n00b


Joined: 08 May 2008
Posts: 2
Location: ALBANIA

PostPosted: Thu May 08, 2008 9:46 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... , 15, 16, 17  Next
Page 16 of 17

 
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