Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-18 Thread davide bozzelli

Dan McAllister wrotes:


PS: I have to admit -- I'm getting frustrated with the whole 
qmail-toaster idea -- being a sys-admin for decades, I'm not used to 
deploying systems that are magic boxes -- I like to know HOW things 
work (and WHY they work)... but sendmail was a BITCH (always has 
been), and I was impressed with what other people had said about the 
toaster. I'm beginning to think I should learn POSTFIX. sigh at 
least then, when things broke, I'd have some better ideas about where 
to look and what to tweak!




I don't undestand your statements .
Qmailtoaster is a solution to give you a complete mailserver, so you 
can't compare it to postfix , wich is just an smtp server .
You should compare the qmail component of qmailtoaster to postfix or 
maybe  you could compare some other postfix mail based solutions with 
qmailtoaster , but you will have the same problems you have with the 
toaster: you must know how to fix single components .


Anyway, if you want to know how the things in qmailtoaster works feel 
free to download,compile,and configure the following simple components:


1) qmail + patches
2) vpopmail
3) vqadmin
4) clamav
5) spamassassin
6) simscan
7) etc etc etc

Then break it and try to fix .

I've choose qmailtoaster cause i was tired to recompile all the stuff 
said above .


Just my 2cents .


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-18 Thread Tim Mancour
Dan,

Have you run the /var/qmail/bin/qmail-newu command? The qmail-lspawn program
reads the /var/qmail/user/cdb file and passes the owner and directory
information to the qmail-local program. The cdb file is generated by
qmail-newu from the /var/qmail/user/assign file. 

Since other domains work on the server (is that correct?) then I assume that
the commands id -u vpopmail and id -g vpopmail return a value of 89. 

Regards,
Tim


-Original Message-
From: Dan McAllister [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 17, 2007 5:41 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine --
still a problem

The value of the assign file matches entries on other (working) servers...
---
+userdomain.com-:userdomain.com:89:89:/home/vpopmail/domains/userdomain.com:
-::
.
---

An interesting attempt -- I've never had to examine this file before (didn't
even know it existed!) Am curious what its used for

Thanks,

Dan

Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!



Jake Vickers wrote:
 Natalio Gatti wrote:
 The content of /var/qmail/user/assign reflects your current domains?
 I had a corrupted assign file, which lead me to a similar problem:
 qmail-smtpd accepted the messages (I guess here is where mysql plays 
 its role), but qmail-send didn't identified them as local accounts.

 The assign file must be compiled once modified, is a cdb file. It is 
 compiled with qmail-newu. If your assign file is correct, running 
 this command won't affect your installation.
 Jake, can this command be included in service qmail cdb?

 I do not see why not. I'll make a note and remind Erik when the new 
 version gets ready to roll.

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-18 Thread Dan McAllister

Just to update you all...

I ran out of time... I finally had to un-install and re-install to get 
the toaster to work again.


I tried several half-baked methods, but the only one that worked was to 
COMPLETELY uninstall qmail-toaster:
I spent all night manually writing scripts and backing up data (and the 
active queues)

Everything is working OK now

Thanks to all who offered their help

Dan

---



Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-18 Thread Jean-Paul van de Plasse

Great that your issue is solved!

Just wish we could track this down to the problem tho..
Any clues as to what was done leading to this?

JP
- Original Message - 
From: Dan McAllister [EMAIL PROTECTED]

To: qmailtoaster-list@qmailtoaster.com
Sent: Thursday, July 19, 2007 12:04 AM
Subject: Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine --  
still a problem




Just to update you all...

I ran out of time... I finally had to un-install and re-install to get the 
toaster to work again.


I tried several half-baked methods, but the only one that worked was to 
COMPLETELY uninstall qmail-toaster:
I spent all night manually writing scripts and backing up data (and the 
active queues)

Everything is working OK now

Thanks to all who offered their help

Dan

---



Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine

2007-07-17 Thread A M

you should install phpMyAdmin. This will allow you to use the interface to
edit the values in dir_control table.

FWIW I think QMT had this issue since, at least, ver 1.3... prior to that I
don't know.

The field is allaways 0 but at some point , after qmailadmin I think, it
gets maxed out.

2007/7/16, Dan McAllister [EMAIL PROTECTED]:


 OK... this is the 3rd time this has happened to me, and the fix I've
used in the past just isn't feasible this time...

I've got a domain on a qmail-toaster (I've tried migrating to qtplus, but
the sandbox creation always fails because of the symbolic links and
additional mounted filesystems (backup and home are on separate drives)...
but that's another story)...

The issue is that after running fine for a while, a domain's mysql
database gets reasonably well corrupted. At current, if I do a vdominfo on
the domain, it shows what I suspect is an error associated with doing signed
arithmetic on an unsigned value, or vice-versa. The number of users is being
reported as 2147483647 (which is 7FFF in hex).

If I run vuserinfo, all the expected users show just fine, however *
something* in qmail-smtp is reporting that there are no users in the
domain (all users are bouncing mail as no mailbox here by that name) -- so
I suspect qmail-smtp is using the # of users value and finds it too large.

I've had this problem before, but on much smaller domains. Previously, to
resolve this problem, I have backed up the old mailboxes, deleted the entire
domain (vdeldomain), deleted ALL of the mysql databases (rm -rf
/var/lib/mysql/*), re-started mysql (to generate new base databases in
/var/lib/mysql), reset the mysql default password, added the vpopmail mysql
database, re-added each of the users (plus aliases, forwards, etc.) manually
into the vpopmail database, verified correctness, then finally restoring the
old mailbox entries.

*There has to be a better way! *(With this particular domain, that'll be
an all-day project! Over 150 users!)

Surely this mysql database entry that has counted the # of users can be
fixed somehow WITHOUT starting from scratch! I'm no database guy, but I am a
pretty astute Linux (UNIX) admin... so I'm hoping someone out there with the
MYSQL knowhow can lead me in the right direction to fix this ASAP!

Thanks in advance,

Dan


Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!





--
AM
agmsoft(at)gmail.com


Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine

2007-07-17 Thread Jake Vickers

A M wrote:
you should install phpMyAdmin. This will allow you to use the 
interface to edit the values in dir_control table.


FWIW I think QMT had this issue since, at least, ver 1.3... prior to 
that I don't know.


The field is allaways 0 but at some point , after qmailadmin I think, 
it gets maxed out.


Can you elaborate on that some? If it's a consistent problem, I was not 
aware of it.

Thanks.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine

2007-07-17 Thread A M

OK,

cur_users on dir_control, some times, gets maxed up. usualy after adding
users if I recall correctly. Not necessarily with vqadmin, but with
qmailadmin also (I think).

I googled it arround and and didn't get much, so I assumed a vqadmin bug at
first. But in some of my systems this happens when adding users to domains.
Couldn't trace it to a single point.

It's not a every time thing though so I figure some bug between mysql5 and
vqadmin.

In any case cur_users is always 0 in the DB, regardless of the number of
users.

2007/7/17, Jake Vickers [EMAIL PROTECTED]:


A M wrote:
 you should install phpMyAdmin. This will allow you to use the
 interface to edit the values in dir_control table.

 FWIW I think QMT had this issue since, at least, ver 1.3... prior to
 that I don't know.

 The field is allaways 0 but at some point , after qmailadmin I think,
 it gets maxed out.

Can you elaborate on that some? If it's a consistent problem, I was not
aware of it.
Thanks.





--
AM
agmsoft(at)gmail.com


Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-17 Thread Dan McAllister

Jake Vickers wrote:

Dan McAllister wrote:

Jake...

I DO have a bad habit of reading the documentation -- I use the 
vqadmin program solely for retrieving passwords when idiot users 
forget them -- usually the day after they have reset them for some 
odd reason.
I have no doubt, and hope you do read the sparse docs we've put 
together. The number 217-whatever is just one that I can reproduce 
consistently with vqadmin.
If you created the domains via the CLI (and I'm assuming the values 
are correct at that time) and they change later  That's an 
interesting one.  Is the mysql DB on a different machine as well? I'm 
starting to suspect something awry with either a DB being on a 
different machine, or the filesystems being on a different machine. I 
know there was an issue with MySQL5 when it came out, and I think the 
end-result patch just pings the DB every so often to keep the 
connection alive. Before that everyone was getting cannot connect to 
DB messages.
Most clients have just the one server (most are dual-core Opterons, some 
dual-CPU/dual-core (4 total cores) Opterons -- most are spec'd to 2GB 
RAM per core). Those that have multiple servers have added an MS Windoze 
Server 2000 or 2003 SBS. Even in those instances, the MySQL remains on 
the Linux server. (My QMail Toasters are running on a Fedora Core 5 
derivative -- loads of my own customizations that allow me to sell the 
server as a service, and remotely administer the system as if it is just 
1 instance of the same server over and over again. (Keeps me sane).
When a client asks for a new domain to be hosted on their system, 
they submit a request via email. At that time, we add the domain to 
their DNS, create a space for the web pages to be hosted, create an 
admin account group for the new domain (who are able to edit the web 
pages), and lastly create the email domain (vadddomain).
If you're PHP savvy this could be scripted.  I have a bash script I 
use to create new domains for my clients. It asks for the name, number 
of mailboxes, quota, etc. and then creates it for me.
I'm an old-time UNIX guy -- I actually do all those steps in a 
custom-built BASH script. As such, I'm inclined to leave it as-is now. 
Make clients call in to add domains so I have more hands-on with them.

I actually then add a couple of items:
 1) I set the postmaster account to point to MY postmaster account -- 
I read the postmaster mail for all domains I administer, whether on 
my own server or a client's
 2) I create an admin user mailbox (usually the owner of the company) 
and set the password to something we've agreed upon earlier
 3) I create webmaster and abuse aliases for my own webmaster and 
abuse email mailboxes (on my own domain) -- same reason as for 
postmaster
 4) I email the client a PDF document that tells them how to log into 
qmailadmin on their new webpage, how to use THEIR account (not 
postmaster) and a brief primer on how to create each type of account 
(mailbox, alias, responder, and list). They can always call for 
additional support -- but the issues that new users bring up are 
usually added to our PDF document so we don't have to answer it again!
Good ideas. I leave it up to the clients for their bounce messages and 
what-not. 'Course I also set up and maintain their in-house networks, 
networks in other states to connect back to the home office, VoIP 
phone systems, I also do custom projects (http://thebuildercam.com/ as 
an example, which I built from the ground up in my garage), etc., so I 
don't feel guilty watching over their stuff as much. My biggest 
problem right now is AOL. They recently changed their servers, and I 
chase phantom-bounces all the time for 1 client who checks the mail 
server for me - 50 times a day. 2 weekends ago he only got 50 emails 
on a Sunday and was sending me text messages to my phone because he 
said the email server was broke. He normally averages 150-200 messages 
a day and figured that 100 or so had gotten lost somewhere. It was 
just a light day. He didn't know of any emails that actually bounced, 
but he figured there had to be some. sigh
AOL is a pain -- but that's their history! Why run ON the Internet when 
you can build your own, internally housed, completely customized, uniq 
Internet all right here! That way you're not hampered by anything like 
/standards!/ (I think they thought they could out-Microsoft Microsoft 
-- you know: The E3 Strategy - Embrace, Extend, Exterminate! :-)


I also offer a broad range of programs, mostly tailored to small to 
mid-sized businesses, and specializing in non-centric environments (lots 
of VPN clients, VoIP phone systems that allow users to roam across the 
world and still make and receive local calls from the Main Office 
and the like) all needing high availability and high data security.
Which brings me back to my current issue... this client is STILL 
without email this evening, and I'm looking like an idiot because 
I've checked everything I know 

Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-17 Thread Jake Vickers

Dan McAllister wrote:
You can use recordio to see what qmail-smtp is doing, and maybe see 
where the break is. I've been traveling the last few days so I 
haven't kept up on the threads much. What OS and version? Behind a 
NAT firewall or public? Are just the /home and /backup dirs on NFS?

Thanks.
Turns out the error is now coming from qmail-send (earlier it was 
qmail-smtp, but the MySQL fix seems to have gotten it thru qmail-smtp 
and on to qmail-send.

The exact error message in QMLOG send is:
2007-07-17 10:06:40.201173500 new msg 2261131
2007-07-17 10:06:40.201177500 info msg 2261131: bytes 1551 from 
[EMAIL PROTECTED] qp 21254 uid 89
2007-07-17 10:06:40.211859500 starting delivery 9: msg 2261131 to 
local [EMAIL PROTECTED]

2007-07-17 10:06:40.211864500 status: local 1/10 remote 0/60
2007-07-17 10:06:40.215288500 delivery 9: failure: 
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

2007-07-17 10:06:40.215294500 status: local 0/10 remote 0/60
2007-07-17 10:06:40.229608500 bounce msg 2261131 qp 21257
2007-07-17 10:06:40.229613500 end msg 2261131


I still missed some details, so if you put them in the email, I 
apologize.  Was the mysql DB on a different machine?
It would seem that it's having issues looking up the names in the DB at 
first glance. Can you turn on recordio and see what exactly is going on?

I'll be away from a PC for most of the day, but I'll try and check in later.



You're not that far from me. My office is in Orlando, but I'm moving 
to North Carolina this month. I'll still be in Orlando a couple days 
a month though, since that's where the bulk of my clients are right now.
I realized that a few months back... so you're evacuating to NC like 
all the rest, eh? My parents left for NC about 10 years ago (outside 
of Cashiers, NC these days). So many ex-Floridians in NC, they're 
going to have to build a new Disney up there! :-)


Aye. And they don't like Floridians up here, so I neglect to tell them I 
just moved from there (I'm in Burlington). I'm from Michigan originally, 
so I'm a true half-back.
And let's see Houses are 1/2 the price of Florida... Property taxes 
are 1/8th, car insurance is 1/3, power bill will be 1/3 (don't need the 
AC as much.), etc.  Orlando's murders are up 137% this year, violent 
crimes are up 41%, 40% of all drivers are uninsured, 15,000 people a day 
run red lights (they have cameras that provide this info, but they don't 
issue tickets by that method yet), it was voted the angriest city in 
America, the sickest (as far as flu cases and contact/hygiene related 
illnesses), the 3rd worst as far as traffic congestion in the US, and 
the list goes on and on.  With our son due in October, I wanted to raise 
him somewhere a little more wholesome if that makes sense.




smime.p7s
Description: S/MIME Cryptographic Signature


Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-17 Thread Dan McAllister

I'll put my responses up here this time:

1) Yes, the MySQL server is local (same machine as qmail-toaster)
2) If qmail-send is having trouble looking up names, it must be a MYSQL 
problem... as root, I can perform the following:

# vuserinfo [EMAIL PROTECTED]
name:   user
passwd: $1$OUEk3eHa$14lfEMjiA.tX6nuT1m5.m1
clear passwd: password
comment/gecos: My User Name
uid:0
gid:0
flags:  0
gecos: My User Name
limits: No user limits set.
dir:   /home/vpopmail/domains/domain.com/user
quota: NOQUOTA
usage: NOQUOTA
last auth: Tue Jul 17 10:23:51 2007
last auth ip: imap

(I have removed personal data from the above snippet)

Florida definitely has its share of growing pains these days... hard 
to fathom the folks over in Orlando letting things get so outta hand 
that the home of Disney World is considered to be too dangerous to raise 
a family! (You shoulda come to St. Pete/Clearwater! Then again, no -- I 
don't need the competition! :-))


Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!



Jake Vickers wrote:

Dan McAllister wrote:
You can use recordio to see what qmail-smtp is doing, and maybe see 
where the break is. I've been traveling the last few days so I 
haven't kept up on the threads much. What OS and version? Behind a 
NAT firewall or public? Are just the /home and /backup dirs on NFS?

Thanks.
Turns out the error is now coming from qmail-send (earlier it was 
qmail-smtp, but the MySQL fix seems to have gotten it thru qmail-smtp 
and on to qmail-send.

The exact error message in QMLOG send is:
2007-07-17 10:06:40.201173500 new msg 2261131
2007-07-17 10:06:40.201177500 info msg 2261131: bytes 1551 from 
[EMAIL PROTECTED] qp 21254 uid 89
2007-07-17 10:06:40.211859500 starting delivery 9: msg 2261131 to 
local [EMAIL PROTECTED]

2007-07-17 10:06:40.211864500 status: local 1/10 remote 0/60
2007-07-17 10:06:40.215288500 delivery 9: failure: 
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

2007-07-17 10:06:40.215294500 status: local 0/10 remote 0/60
2007-07-17 10:06:40.229608500 bounce msg 2261131 qp 21257
2007-07-17 10:06:40.229613500 end msg 2261131


I still missed some details, so if you put them in the email, I 
apologize.  Was the mysql DB on a different machine?
It would seem that it's having issues looking up the names in the DB 
at first glance. Can you turn on recordio and see what exactly is 
going on?
I'll be away from a PC for most of the day, but I'll try and check in 
later.




You're not that far from me. My office is in Orlando, but I'm moving 
to North Carolina this month. I'll still be in Orlando a couple days 
a month though, since that's where the bulk of my clients are right 
now.
I realized that a few months back... so you're evacuating to NC like 
all the rest, eh? My parents left for NC about 10 years ago (outside 
of Cashiers, NC these days). So many ex-Floridians in NC, they're 
going to have to build a new Disney up there! :-)


Aye. And they don't like Floridians up here, so I neglect to tell them 
I just moved from there (I'm in Burlington). I'm from Michigan 
originally, so I'm a true half-back.
And let's see Houses are 1/2 the price of Florida... Property 
taxes are 1/8th, car insurance is 1/3, power bill will be 1/3 (don't 
need the AC as much.), etc.  Orlando's murders are up 137% this 
year, violent crimes are up 41%, 40% of all drivers are uninsured, 
15,000 people a day run red lights (they have cameras that provide 
this info, but they don't issue tickets by that method yet), it was 
voted the angriest city in America, the sickest (as far as flu cases 
and contact/hygiene related illnesses), the 3rd worst as far as 
traffic congestion in the US, and the list goes on and on.  With our 
son due in October, I wanted to raise him somewhere a little more 
wholesome if that makes sense.




Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-17 Thread Natalio Gatti

The content of /var/qmail/user/assign reflects your current domains?
I had a corrupted assign file, which lead me to a similar problem:
qmail-smtpd accepted the messages (I guess here is where mysql plays
its role), but qmail-send didn't identified them as local accounts.

The assign file must be compiled once modified, is a cdb file. It is
compiled with qmail-newu. If your assign file is correct, running this
command won't affect your installation.
Jake, can this command be included in service qmail cdb?

Natalio.

On 7/17/07, Dan McAllister [EMAIL PROTECTED] wrote:


 I'll put my responses up here this time:

 1) Yes, the MySQL server is local (same machine as qmail-toaster)
 2) If qmail-send is having trouble looking up names, it must be a MYSQL
problem... as root, I can perform the following:
 # vuserinfo [EMAIL PROTECTED]
 name:   user
 passwd: $1$OUEk3eHa$14lfEMjiA.tX6nuT1m5.m1
 clear passwd: password
 comment/gecos: My User Name
 uid:0
 gid:0
 flags:  0
 gecos: My User Name
 limits: No user limits set.
 dir:   /home/vpopmail/domains/domain.com/user
 quota: NOQUOTA
 usage: NOQUOTA
 last auth: Tue Jul 17 10:23:51 2007
 last auth ip: imap

 (I have removed personal data from the above snippet)

 Florida definitely has its share of growing pains these days... hard to
fathom the folks over in Orlando letting things get so outta hand that the
home of Disney World is considered to be too dangerous to raise a family!
(You shoulda come to St. Pete/Clearwater! Then again, no -- I don't need the
competition! :-))

 Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!


 Jake Vickers wrote:
 Dan McAllister wrote:

You can use recordio to see what qmail-smtp is doing, and maybe see where
the break is. I've been traveling the last few days so I haven't kept up on
the threads much. What OS and version? Behind a NAT firewall or public? Are
just the /home and /backup dirs on NFS?
 Thanks.
 Turns out the error is now coming from qmail-send (earlier it was
qmail-smtp, but the MySQL fix seems to have gotten it thru qmail-smtp and on
to qmail-send.
 The exact error message in QMLOG send is:
 2007-07-17 10:06:40.201173500 new msg 2261131
 2007-07-17 10:06:40.201177500 info msg 2261131: bytes 1551 from
[EMAIL PROTECTED] qp 21254 uid 89
 2007-07-17 10:06:40.211859500 starting delivery 9: msg 2261131 to local
[EMAIL PROTECTED]
 2007-07-17 10:06:40.211864500 status: local 1/10 remote 0/60
 2007-07-17 10:06:40.215288500 delivery 9: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
 2007-07-17 10:06:40.215294500 status: local 0/10 remote 0/60
 2007-07-17 10:06:40.229608500 bounce msg 2261131 qp 21257
 2007-07-17 10:06:40.229613500 end msg 2261131

 I still missed some details, so if you put them in the email, I apologize.
Was the mysql DB on a different machine?
 It would seem that it's having issues looking up the names in the DB at
first glance. Can you turn on recordio and see what exactly is going on?
 I'll be away from a PC for most of the day, but I'll try and check in
later.




You're not that far from me. My office is in Orlando, but I'm moving to
North Carolina this month. I'll still be in Orlando a couple days a month
though, since that's where the bulk of my clients are right now.
 I realized that a few months back... so you're evacuating to NC like all
the rest, eh? My parents left for NC about 10 years ago (outside of
Cashiers, NC these days). So many ex-Floridians in NC, they're going to have
to build a new Disney up there! :-)

 Aye. And they don't like Floridians up here, so I neglect to tell them I
just moved from there (I'm in Burlington). I'm from Michigan originally, so
I'm a true half-back.
 And let's see Houses are 1/2 the price of Florida... Property taxes are
1/8th, car insurance is 1/3, power bill will be 1/3 (don't need the AC as
much.), etc.  Orlando's murders are up 137% this year, violent crimes
are up 41%, 40% of all drivers are uninsured, 15,000 people a day run red
lights (they have cameras that provide this info, but they don't issue
tickets by that method yet), it was voted the angriest city in America, the
sickest (as far as flu cases and contact/hygiene related illnesses), the 3rd
worst as far as traffic congestion in the US, and the list goes on and on.
With our son due in October, I wanted to raise him somewhere a little more
wholesome if that makes sense.




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-17 Thread Tim Mancour
Dan,
 
The error message that you included from your previous post is generated by
the following snip of code from the qmail-local.c file:
 
 qmesearch(fd,flagforwardonly);
 if (fd == -1)
   if (*dash)
 strerr_die1x(100,Sorry, no mailbox here by that name. (#5.1.1));
 
The qmesearch function appears to fail only if it cannot locate one of the
.qmail files (either for the individual user or the domain's default).
 
Regards,
Tim 

  _  

From: Dan McAllister [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 17, 2007 10:36 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine --
still a problem


I'll put my responses up here this time:

1) Yes, the MySQL server is local (same machine as qmail-toaster)
2) If qmail-send is having trouble looking up names, it must be a MYSQL
problem... as root, I can perform the following:
# vuserinfo [EMAIL PROTECTED]
name:   user
passwd: $1$OUEk3eHa$14lfEMjiA.tX6nuT1m5.m1
clear passwd: password
comment/gecos: My User Name
uid:0
gid:0
flags:  0
gecos: My User Name
limits: No user limits set.
dir:   /home/vpopmail/domains/domain.com/user
quota: NOQUOTA
usage: NOQUOTA
last auth: Tue Jul 17 10:23:51 2007
last auth ip: imap

(I have removed personal data from the above snippet)

Florida definitely has its share of growing pains these days... hard to
fathom the folks over in Orlando letting things get so outta hand that the
home of Disney World is considered to be too dangerous to raise a family!
(You shoulda come to St. Pete/Clearwater! Then again, no -- I don't need the
competition! :-))


Daniel McAllister, President



IT4SOHO, LLC

2171 Wrens Way

Clearwater, FL 33764



877-IT4SOHO: Toll Free

727-647-7646 In Pinellas

813-464-2093 In Hillsborough

727-507-9435 Fax Only



When did you do your last backup?



Ask me about unattended backup solutions...

to protect your business, not just your data!


Jake Vickers wrote: 

Dan McAllister wrote: 

You can use recordio to see what qmail-smtp is doing, and maybe see where
the break is. I've been traveling the last few days so I haven't kept up on
the threads much. What OS and version? Behind a NAT firewall or public? Are
just the /home and /backup dirs on NFS? 
Thanks. 


Turns out the error is now coming from qmail-send (earlier it was
qmail-smtp, but the MySQL fix seems to have gotten it thru qmail-smtp and on
to qmail-send.
The exact error message in QMLOG send is:
2007-07-17 10:06:40.201173500 new msg 2261131
2007-07-17 10:06:40.201177500 info msg 2261131: bytes 1551 from
mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] qp 21254 uid 89
2007-07-17 10:06:40.211859500 starting delivery 9: msg 2261131 to local
[EMAIL PROTECTED]
2007-07-17 10:06:40.211864500 status: local 1/10 remote 0/60
2007-07-17 10:06:40.215288500 delivery 9: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
2007-07-17 10:06:40.215294500 status: local 0/10 remote 0/60
2007-07-17 10:06:40.229608500 bounce msg 2261131 qp 21257
2007-07-17 10:06:40.229613500 end msg 2261131



I still missed some details, so if you put them in the email, I apologize.
Was the mysql DB on a different machine?
It would seem that it's having issues looking up the names in the DB at
first glance. Can you turn on recordio and see what exactly is going on?
I'll be away from a PC for most of the day, but I'll try and check in later.




You're not that far from me. My office is in Orlando, but I'm moving to
North Carolina this month. I'll still be in Orlando a couple days a month
though, since that's where the bulk of my clients are right now. 


I realized that a few months back... so you're evacuating to NC like all the
rest, eh? My parents left for NC about 10 years ago (outside of Cashiers, NC
these days). So many ex-Floridians in NC, they're going to have to build a
new Disney up there! :-)



Aye. And they don't like Floridians up here, so I neglect to tell them I
just moved from there (I'm in Burlington). I'm from Michigan originally, so
I'm a true half-back.
And let's see Houses are 1/2 the price of Florida... Property taxes are
1/8th, car insurance is 1/3, power bill will be 1/3 (don't need the AC as
much.), etc.  Orlando's murders are up 137% this year, violent crimes
are up 41%, 40% of all drivers are uninsured, 15,000 people a day run red
lights (they have cameras that provide this info, but they don't issue
tickets by that method yet), it was voted the angriest city in America, the
sickest (as far as flu cases and contact/hygiene related illnesses), the 3rd
worst as far as traffic congestion in the US, and the list goes on and on.
With our son due in October, I wanted to raise him somewhere a little more
wholesome if that makes sense.





Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-17 Thread Dan McAllister

Update:

I enabled the vpopmail user as a shell account (changed the entry in 
/etc/passwd, then used su)

I tried the vuserinfo command:
$vuserinfo [EMAIL PROTECTED]

... and received an identical response.

I believe that this effectively shuts down the MySQL error assertion.

Unless qmail-send isn't running as the correct user...
but I just checked -- qmail-send is running as user qmails as intended 
(or at least the same as on my other servers).


The saga continues, and my clients are getting louder! :(



Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!



Dan McAllister wrote:

I'll put my responses up here this time:

1) Yes, the MySQL server is local (same machine as qmail-toaster)
2) If qmail-send is having trouble looking up names, it must be a 
MYSQL problem... as root, I can perform the following:

# vuserinfo [EMAIL PROTECTED]
name:   user
passwd: $1$OUEk3eHa$14lfEMjiA.tX6nuT1m5.m1
clear passwd: password
comment/gecos: My User Name
uid:0
gid:0
flags:  0
gecos: My User Name
limits: No user limits set.
dir:   /home/vpopmail/domains/domain.com/user
quota: NOQUOTA
usage: NOQUOTA
last auth: Tue Jul 17 10:23:51 2007
last auth ip: imap

(I have removed personal data from the above snippet)

Florida definitely has its share of growing pains these days... hard 
to fathom the folks over in Orlando letting things get so outta hand 
that the home of Disney World is considered to be too dangerous to 
raise a family! (You shoulda come to St. Pete/Clearwater! Then again, 
no -- I don't need the competition! :-))


Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!


Jake Vickers wrote:

Dan McAllister wrote:
You can use recordio to see what qmail-smtp is doing, and maybe see 
where the break is. I've been traveling the last few days so I 
haven't kept up on the threads much. What OS and version? Behind a 
NAT firewall or public? Are just the /home and /backup dirs on NFS?

Thanks.
Turns out the error is now coming from qmail-send (earlier it was 
qmail-smtp, but the MySQL fix seems to have gotten it thru 
qmail-smtp and on to qmail-send.

The exact error message in QMLOG send is:
2007-07-17 10:06:40.201173500 new msg 2261131
2007-07-17 10:06:40.201177500 info msg 2261131: bytes 1551 from 
[EMAIL PROTECTED] qp 21254 uid 89
2007-07-17 10:06:40.211859500 starting delivery 9: msg 2261131 to 
local [EMAIL PROTECTED]

2007-07-17 10:06:40.211864500 status: local 1/10 remote 0/60
2007-07-17 10:06:40.215288500 delivery 9: failure: 
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

2007-07-17 10:06:40.215294500 status: local 0/10 remote 0/60
2007-07-17 10:06:40.229608500 bounce msg 2261131 qp 21257
2007-07-17 10:06:40.229613500 end msg 2261131


I still missed some details, so if you put them in the email, I 
apologize.  Was the mysql DB on a different machine?
It would seem that it's having issues looking up the names in the DB 
at first glance. Can you turn on recordio and see what exactly is 
going on?
I'll be away from a PC for most of the day, but I'll try and check in 
later.




You're not that far from me. My office is in Orlando, but I'm 
moving to North Carolina this month. I'll still be in Orlando a 
couple days a month though, since that's where the bulk of my 
clients are right now.
I realized that a few months back... so you're evacuating to NC like 
all the rest, eh? My parents left for NC about 10 years ago (outside 
of Cashiers, NC these days). So many ex-Floridians in NC, they're 
going to have to build a new Disney up there! :-)


Aye. And they don't like Floridians up here, so I neglect to tell 
them I just moved from there (I'm in Burlington). I'm from Michigan 
originally, so I'm a true half-back.
And let's see Houses are 1/2 the price of Florida... Property 
taxes are 1/8th, car insurance is 1/3, power bill will be 1/3 (don't 
need the AC as much.), etc.  Orlando's murders are up 137% this 
year, violent crimes are up 41%, 40% of all drivers are uninsured, 
15,000 people a day run red lights (they have cameras that provide 
this info, but they don't issue tickets by that method yet), it was 
voted the angriest city in America, the sickest (as far as flu cases 
and contact/hygiene related illnesses), the 3rd worst as far as 
traffic congestion in the US, and the list goes on and on.  With our 
son due in October, I wanted to raise him somewhere a little more 
wholesome if that makes sense.




RE: [qmailtoaster] Domain bouncing mail, vuser says user is fine

2007-07-17 Thread Helmut Fritz
In any case cur_users is always 0 in the DB, regardless of the number of
users.
 
is that not odd/wrong?  where does the cur_users get pulled from then?  or
is it actually a deprecated field (well, maybe not officially!) and not
used?

  _  

From: A M [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 17, 2007 4:05 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine


OK,

cur_users on dir_control, some times, gets maxed up. usualy after adding
users if I recall correctly. Not necessarily with vqadmin, but with
qmailadmin also (I think).

I googled it arround and and didn't get much, so I assumed a vqadmin bug at
first. But in some of my systems this happens when adding users to domains.
Couldn't trace it to a single point. 

It's not a every time thing though so I figure some bug between mysql5 and
vqadmin. 

In any case cur_users is always 0 in the DB, regardless of the number of
users.


2007/7/17, Jake Vickers [EMAIL PROTECTED]: 

A M wrote: 
 you should install phpMyAdmin. This will allow you to use the
 interface to edit the values in dir_control table.

 FWIW I think QMT had this issue since, at least, ver 1.3... prior to
 that I don't know. 

 The field is allaways 0 but at some point , after qmailadmin I think,
 it gets maxed out.

Can you elaborate on that some? If it's a consistent problem, I was not
aware of it.
Thanks. 






-- 
AM
agmsoft(at)gmail.com 


Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine

2007-07-17 Thread Dan McAllister
To my knowledge, it is no longer relied upon (but is apparently checked 
somewhere, or else the 2^32-1 value in it would be ignored)


Dan


Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!



Helmut Fritz wrote:
In any case cur_users is always 0 in the DB, regardless of the number 
of users.
 
is that not odd/wrong?  where does the cur_users get pulled from 
then?  or is it actually a deprecated field (well, maybe not 
officially!) and not used?



*From:* A M [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, July 17, 2007 4:05 AM
*To:* qmailtoaster-list@qmailtoaster.com
*Subject:* Re: [qmailtoaster] Domain bouncing mail, vuser says user is 
fine


OK,

cur_users on dir_control, some times, gets maxed up. usualy after 
adding users if I recall correctly. Not necessarily with vqadmin, but 
with qmailadmin also (I think).


I googled it arround and and didn't get much, so I assumed a vqadmin 
bug at first. But in some of my systems this happens when adding users 
to domains. Couldn't trace it to a single point.


It's not a every time thing though so I figure some bug between mysql5 
and vqadmin.


In any case cur_users is always 0 in the DB, regardless of the number 
of users.


2007/7/17, Jake Vickers [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]:

A M wrote:
 you should install phpMyAdmin. This will allow you to use the
 interface to edit the values in dir_control table.

 FWIW I think QMT had this issue since, at least, ver 1.3... prior to
 that I don't know.

 The field is allaways 0 but at some point , after qmailadmin I
think,
 it gets maxed out.

Can you elaborate on that some? If it's a consistent problem, I
was not
aware of it.
Thanks.




--
AM
agmsoft(at)gmail.com 


Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine

2007-07-17 Thread Janno Sannik

I got mixed results:
about 10% of domains have cur_users maxed out to 2147483647
about 15% have values rangin 1-16
all others have values of 0

what to think of it and to reset it to 0 for all domains?
Actually nothing weird does not seem to be happening ..

What for is this dir_control used...i haven't still got it (sorry)?
can it just be cleaned up (emptyed) and it will recover itself?
i have noticed, that then you first create a domain, it doesn't have 
entry, but if you use vdominfo for getting domain info, it also adds 
value to dir_control table.




Helmut Fritz wrote:
In any case cur_users is always 0 in the DB, regardless of the number 
of users.
 
is that not odd/wrong?  where does the cur_users get pulled from 
then?  or is it actually a deprecated field (well, maybe not 
officially!) and not used?



*From:* A M [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, July 17, 2007 4:05 AM
*To:* qmailtoaster-list@qmailtoaster.com
*Subject:* Re: [qmailtoaster] Domain bouncing mail, vuser says user is 
fine


OK,

cur_users on dir_control, some times, gets maxed up. usualy after 
adding users if I recall correctly. Not necessarily with vqadmin, but 
with qmailadmin also (I think).


I googled it arround and and didn't get much, so I assumed a vqadmin 
bug at first. But in some of my systems this happens when adding users 
to domains. Couldn't trace it to a single point.


It's not a every time thing though so I figure some bug between mysql5 
and vqadmin.


In any case cur_users is always 0 in the DB, regardless of the number 
of users.


2007/7/17, Jake Vickers [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]:

A M wrote:
 you should install phpMyAdmin. This will allow you to use the
 interface to edit the values in dir_control table.

 FWIW I think QMT had this issue since, at least, ver 1.3... prior to
 that I don't know.

 The field is allaways 0 but at some point , after qmailadmin I
think,
 it gets maxed out.

Can you elaborate on that some? If it's a consistent problem, I
was not
aware of it.
Thanks.




--
AM
agmsoft(at)gmail.com 



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-17 Thread Janno Sannik
what's your assign file says about user whois domain it is. It might be 
that (for some odd reason) the domain user is somebody else than 
vpopmail (#89) and you still got permission problem.

plaintext version of assign file will reveal it.


Dan McAllister wrote:

Thanks Tim... that's a start...

The domain's .qmail-default file is fine (matches what I would 
expect). Thinking it may be a permissions issue, I have copied all 
relevant permissions below:

/home755  owner=root group=root
-/vpopmail   700  owner=vpopmail group=vchkpw
-/domains700  owner=vpopmail group=vchkpw
-/userdomain.com 700  owner=vpopmail group=vchkpw
-/.qmail-default  600  owner=vpopmail group=vchkpw
  (file contents: | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox)
-/username(s) 700  owner=vpopmail group=vchkpw
(no users in this domain are forwarding messages, so there are no user 
.qmail files)


These match up with my other servers (that are working fine)

how would I check to see if this process (I am assuming it is not 
qmails) is running as the right user?


Dan
Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!


Tim Mancour wrote:

Dan,
 
The error message that you included from your previous post 
is generated by the following snip of code from the qmail-local.c file:
 
 qmesearch(fd,flagforwardonly);

 if (fd == -1)
   if (*dash)
 strerr_die1x(100,Sorry, no mailbox here by that name. (#5.1.1));
 
The qmesearch function appears to fail only if it cannot locate one 
of the .qmail files (either for the individual user or the domain's 
default).
 
Regards,
Tim 


*From:* Dan McAllister [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, July 17, 2007 10:36 AM
*To:* qmailtoaster-list@qmailtoaster.com
*Subject:* Re: [qmailtoaster] Domain bouncing mail, vuser says user 
is fine -- still a problem


I'll put my responses up here this time:

1) Yes, the MySQL server is local (same machine as qmail-toaster)
2) If qmail-send is having trouble looking up names, it must be a 
MYSQL problem... as root, I can perform the following:

# vuserinfo [EMAIL PROTECTED]
name:   user
passwd: $1$OUEk3eHa$14lfEMjiA.tX6nuT1m5.m1
clear passwd: password
comment/gecos: My User Name
uid:0
gid:0
flags:  0
gecos: My User Name
limits: No user limits set.
dir:   /home/vpopmail/domains/domain.com/user
quota: NOQUOTA
usage: NOQUOTA
last auth: Tue Jul 17 10:23:51 2007
last auth ip: imap

(I have removed personal data from the above snippet)

Florida definitely has its share of growing pains these days... 
hard to fathom the folks over in Orlando letting things get so outta 
hand that the home of Disney World is considered to be too dangerous 
to raise a family! (You shoulda come to St. Pete/Clearwater! Then 
again, no -- I don't need the competition! :-))


Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!


Jake Vickers wrote:

Dan McAllister wrote:
You can use recordio to see what qmail-smtp is doing, and maybe 
see where the break is. I've been traveling the last few days so I 
haven't kept up on the threads much. What OS and version? Behind a 
NAT firewall or public? Are just the /home and /backup dirs on NFS?

Thanks.
Turns out the error is now coming from qmail-send (earlier it was 
qmail-smtp, but the MySQL fix seems to have gotten it thru 
qmail-smtp and on to qmail-send.

The exact error message in QMLOG send is:
2007-07-17 10:06:40.201173500 new msg 2261131
2007-07-17 10:06:40.201177500 info msg 2261131: bytes 1551 from 
[EMAIL PROTECTED] qp 21254 uid 89
2007-07-17 10:06:40.211859500 starting delivery 9: msg 2261131 to 
local [EMAIL PROTECTED]

2007-07-17 10:06:40.211864500 status: local 1/10 remote 0/60
2007-07-17 10:06:40.215288500 delivery 9: failure: 
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

2007-07-17 10:06:40.215294500 status: local 0/10 remote 0/60
2007-07-17 10:06:40.229608500 bounce msg 2261131 qp 21257
2007-07-17 10:06:40.229613500 end msg 2261131


I still missed some details, so if you put them in the email, I 
apologize.  Was the mysql DB on a different machine?
It would seem that it's having issues looking up the names in the DB 
at first glance. Can you turn on recordio and see what exactly is 
going on?
I'll be away from a PC for most of the day, but I'll try and check 
in later.




You're not that far from me. My office is in Orlando, but I'm 
moving to North Carolina this month. I'll still be in Orlando a 
couple days a month

Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine

2007-07-17 Thread Natalio Gatti

On 7/17/07, Janno Sannik [EMAIL PROTECTED] wrote:

I got mixed results:
about 10% of domains have cur_users maxed out to 2147483647
about 15% have values rangin 1-16
all others have values of 0

what to think of it and to reset it to 0 for all domains?
Actually nothing weird does not seem to be happening ..


In a particular server I have 2 domains:

domain1: 5 real accounts reports:
[EMAIL PROTECTED] ~]# /home/vpopmail/bin/vdominfo domain1.com
domain: domain1.com
uid:89
gid:89
dir:/home/vpopmail/domains/domain1.com
users:  0

domain2: 12 real accounts reports:
[EMAIL PROTECTED] ~]# /home/vpopmail/bin/vdominfo domain2.com
domain: domain2.com
uid:89
gid:89
dir:/home/vpopmail/domains/domain2.com
users:  2147483647

Both of them work OK.

So Dan, I donĀ“t know if your problem is related to MySQL or database corruption.

-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-17 Thread Jean-Paul van de Plasse
Hey Dan,

A few questions..

Are all accounts in the domain giving a bounce?
When you look in the table beloning to the domain , does it look ok?
Have you tried a telnet smtp session ?

The mysql 2147483647 (max mysql signed int value) is not the problem if you ask 
me, I have severall domains with this value and never had any problems with 
those.

JP
  - Original Message - 
  From: Dan McAllister 
  To: qmailtoaster-list@qmailtoaster.com 
  Sent: Tuesday, July 17, 2007 5:57 PM
  Subject: Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- 
still a problem


  Update:

  I enabled the vpopmail user as a shell account (changed the entry in 
/etc/passwd, then used su)
  I tried the vuserinfo command:
  $vuserinfo [EMAIL PROTECTED]

  ... and received an identical response.

  I believe that this effectively shuts down the MySQL error assertion. 

  Unless qmail-send isn't running as the correct user...
  but I just checked -- qmail-send is running as user qmails as intended (or at 
least the same as on my other servers).

  The saga continues, and my clients are getting louder! :(




Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!

  Dan McAllister wrote: 
I'll put my responses up here this time:

1) Yes, the MySQL server is local (same machine as qmail-toaster)
2) If qmail-send is having trouble looking up names, it must be a MYSQL 
problem... as root, I can perform the following:
# vuserinfo [EMAIL PROTECTED]
name:   user
passwd: $1$OUEk3eHa$14lfEMjiA.tX6nuT1m5.m1
clear passwd: password
comment/gecos: My User Name
uid:0
gid:0
flags:  0
gecos: My User Name
limits: No user limits set.
dir:   /home/vpopmail/domains/domain.com/user
quota: NOQUOTA
usage: NOQUOTA
last auth: Tue Jul 17 10:23:51 2007
last auth ip: imap

(I have removed personal data from the above snippet)

Florida definitely has its share of growing pains these days... hard to 
fathom the folks over in Orlando letting things get so outta hand that the home 
of Disney World is considered to be too dangerous to raise a family! (You 
shoulda come to St. Pete/Clearwater! Then again, no -- I don't need the 
competition! :-))


Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!

Jake Vickers wrote: 
  Dan McAllister wrote: 
  You can use recordio to see what qmail-smtp is doing, and maybe see 
where the break is. I've been traveling the last few days so I haven't kept up 
on the threads much. What OS and version? Behind a NAT firewall or public? Are 
just the /home and /backup dirs on NFS? 
  Thanks. 

Turns out the error is now coming from qmail-send (earlier it was 
qmail-smtp, but the MySQL fix seems to have gotten it thru qmail-smtp and on to 
qmail-send.
The exact error message in QMLOG send is:
2007-07-17 10:06:40.201173500 new msg 2261131
2007-07-17 10:06:40.201177500 info msg 2261131: bytes 1551 from [EMAIL 
PROTECTED] qp 21254 uid 89
2007-07-17 10:06:40.211859500 starting delivery 9: msg 2261131 to local 
[EMAIL PROTECTED]
2007-07-17 10:06:40.211864500 status: local 1/10 remote 0/60
2007-07-17 10:06:40.215288500 delivery 9: failure: 
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
2007-07-17 10:06:40.215294500 status: local 0/10 remote 0/60
2007-07-17 10:06:40.229608500 bounce msg 2261131 qp 21257
2007-07-17 10:06:40.229613500 end msg 2261131


  I still missed some details, so if you put them in the email, I 
apologize.  Was the mysql DB on a different machine?
  It would seem that it's having issues looking up the names in the DB at 
first glance. Can you turn on recordio and see what exactly is going on?
  I'll be away from a PC for most of the day, but I'll try and check in 
later.




  You're not that far from me. My office is in Orlando, but I'm moving 
to North Carolina this month. I'll still be in Orlando a couple days a month 
though, since that's where the bulk of my clients are right now. 

I realized that a few months back... so you're evacuating to NC like 
all the rest, eh? My parents left for NC about 10 years ago (outside of 
Cashiers, NC these days). So many ex-Floridians in NC, they're going to have to 
build a new Disney up there! :-)


  Aye. And they don't like Floridians up here, so I neglect to tell them I 
just moved from there (I'm in Burlington). I'm from

Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine

2007-07-17 Thread A M

I usualy reset it to 0 and everything works fine...


2007/7/17, Janno Sannik [EMAIL PROTECTED]:


I got mixed results:
about 10% of domains have cur_users maxed out to 2147483647
about 15% have values rangin 1-16
all others have values of 0

what to think of it and to reset it to 0 for all domains?
Actually nothing weird does not seem to be happening ..

What for is this dir_control used...i haven't still got it (sorry)?
can it just be cleaned up (emptyed) and it will recover itself?
i have noticed, that then you first create a domain, it doesn't have
entry, but if you use vdominfo for getting domain info, it also adds
value to dir_control table.



Helmut Fritz wrote:
 In any case cur_users is always 0 in the DB, regardless of the number
 of users.

 is that not odd/wrong?  where does the cur_users get pulled from
 then?  or is it actually a deprecated field (well, maybe not
 officially!) and not used?

 
 *From:* A M [mailto:[EMAIL PROTECTED]
 *Sent:* Tuesday, July 17, 2007 4:05 AM
 *To:* qmailtoaster-list@qmailtoaster.com
 *Subject:* Re: [qmailtoaster] Domain bouncing mail, vuser says user is
 fine

 OK,

 cur_users on dir_control, some times, gets maxed up. usualy after
 adding users if I recall correctly. Not necessarily with vqadmin, but
 with qmailadmin also (I think).

 I googled it arround and and didn't get much, so I assumed a vqadmin
 bug at first. But in some of my systems this happens when adding users
 to domains. Couldn't trace it to a single point.

 It's not a every time thing though so I figure some bug between mysql5
 and vqadmin.

 In any case cur_users is always 0 in the DB, regardless of the number
 of users.

 2007/7/17, Jake Vickers [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]:

 A M wrote:
  you should install phpMyAdmin. This will allow you to use the
  interface to edit the values in dir_control table.
 
  FWIW I think QMT had this issue since, at least, ver 1.3... prior
to
  that I don't know.
 
  The field is allaways 0 but at some point , after qmailadmin I
 think,
  it gets maxed out.
 
 Can you elaborate on that some? If it's a consistent problem, I
 was not
 aware of it.
 Thanks.




 --
 AM
 agmsoft(at)gmail.com


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
AM
agmsoft(at)gmail.com


Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-17 Thread Jake Vickers

Natalio Gatti wrote:

The content of /var/qmail/user/assign reflects your current domains?
I had a corrupted assign file, which lead me to a similar problem:
qmail-smtpd accepted the messages (I guess here is where mysql plays
its role), but qmail-send didn't identified them as local accounts.

The assign file must be compiled once modified, is a cdb file. It is
compiled with qmail-newu. If your assign file is correct, running this
command won't affect your installation.
Jake, can this command be included in service qmail cdb?


I do not see why not. I'll make a note and remind Erik when the new 
version gets ready to roll.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-17 Thread Jake Vickers

Dan McAllister wrote:

Update:

I enabled the vpopmail user as a shell account (changed the entry in 
/etc/passwd, then used su)

I tried the vuserinfo command:
$vuserinfo [EMAIL PROTECTED]

... and received an identical response.

I believe that this effectively shuts down the MySQL error assertion.

Unless qmail-send isn't running as the correct user...
but I just checked -- qmail-send is running as user qmails as intended 
(or at least the same as on my other servers).


The saga continues, and my clients are getting louder! :(


You're onto something there That should have worked:

[EMAIL PROTECTED] ~]# su vpopmail
bash-3.00$ /home/vpopmail/bin/vuserinfo [EMAIL PROTECTED]
name:   jake
passwd: $1$N4y/3gvf$UqT0OapwHml5arTMkXkHg0
clear passwd: none-of-your-business
comment/gecos: Jake Vickers
uid:0
gid:0
flags:  0
gecos: Jake Vickers
limits: No user limits set.
dir:   /home/vpopmail/domains/v2gnu.com/jake
quota: NOQUOTA
usage: NOQUOTA
last auth: Tue Jul 17 17:09:17 2007
last auth ip: 70.145.239.156

But it does have to read all of that info from mysql.  Have you changed 
the password for vpopmail from the default or anything?




smime.p7s
Description: S/MIME Cryptographic Signature


Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-17 Thread Jean-Paul van de Plasse
If i read his mail correctly the vuserinfo command gave the correct info..
So it did work (or did I overlook something in that email)

JP
  - Original Message - 
  From: Jake Vickers 
  To: qmailtoaster-list@qmailtoaster.com 
  Sent: Tuesday, July 17, 2007 11:19 PM
  Subject: Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- 
still a problem


  Dan McAllister wrote: 
Update:

I enabled the vpopmail user as a shell account (changed the entry in 
/etc/passwd, then used su)
I tried the vuserinfo command:
$vuserinfo [EMAIL PROTECTED]

... and received an identical response.

I believe that this effectively shuts down the MySQL error assertion. 

Unless qmail-send isn't running as the correct user...
but I just checked -- qmail-send is running as user qmails as intended (or 
at least the same as on my other servers).

The saga continues, and my clients are getting louder! :(


  You're onto something there That should have worked:

  [EMAIL PROTECTED] ~]# su vpopmail
  bash-3.00$ /home/vpopmail/bin/vuserinfo [EMAIL PROTECTED]
  name:   jake
  passwd: $1$N4y/3gvf$UqT0OapwHml5arTMkXkHg0
  clear passwd: none-of-your-business
  comment/gecos: Jake Vickers
  uid:0
  gid:0
  flags:  0
  gecos: Jake Vickers
  limits: No user limits set.
  dir:   /home/vpopmail/domains/v2gnu.com/jake
  quota: NOQUOTA
  usage: NOQUOTA
  last auth: Tue Jul 17 17:09:17 2007
  last auth ip: 70.145.239.156

  But it does have to read all of that info from mysql.  Have you changed the 
password for vpopmail from the default or anything?



Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-17 Thread Dan McAllister

Yes, all users are bouncing...
I have opened the MySQL tables in navicat and they look identical to 
other domains (on other servers) that DO work.

I have tried a telnet session -- same result (error message is sent)
I have also tried a telnet session to SUBMIT email -- and that works fine!
I agree that the large value for number of users is of no consequence, 
although I reset it to zero already


Thanks for the ideas...

Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!



Jean-Paul van de Plasse wrote:

Hey Dan,
 
A few questions..
 
Are all accounts in the domain giving a bounce?

When you look in the table beloning to the domain , does it look ok?
Have you tried a telnet smtp session ?
 
The mysql 2147483647 (max mysql signed int value) is not the problem 
if you ask me, I have severall domains with this value and never had 
any problems with those.
 
JP


- Original Message -
*From:* Dan McAllister mailto:[EMAIL PROTECTED]
*To:* qmailtoaster-list@qmailtoaster.com
mailto:qmailtoaster-list@qmailtoaster.com
*Sent:* Tuesday, July 17, 2007 5:57 PM
*Subject:* Re: [qmailtoaster] Domain bouncing mail, vuser says
user is fine -- still a problem

Update:

I enabled the vpopmail user as a shell account (changed the entry
in /etc/passwd, then used su)
I tried the vuserinfo command:
$vuserinfo [EMAIL PROTECTED]

... and received an identical response.

I believe that this effectively shuts down the MySQL error assertion.

Unless qmail-send isn't running as the correct user...
but I just checked -- qmail-send is running as user qmails as
intended (or at least the same as on my other servers).

The saga continues, and my clients are getting louder! :(



Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!



Dan McAllister wrote:

I'll put my responses up here this time:

1) Yes, the MySQL server is local (same machine as qmail-toaster)
2) If qmail-send is having trouble looking up names, it must be a
MYSQL problem... as root, I can perform the following:
# vuserinfo [EMAIL PROTECTED]
name:   user
passwd: $1$OUEk3eHa$14lfEMjiA.tX6nuT1m5.m1
clear passwd: password
comment/gecos: My User Name
uid:0
gid:0
flags:  0
gecos: My User Name
limits: No user limits set.
dir:   /home/vpopmail/domains/domain.com/user
quota: NOQUOTA
usage: NOQUOTA
last auth: Tue Jul 17 10:23:51 2007
last auth ip: imap

(I have removed personal data from the above snippet)

Florida definitely has its share of growing pains these days...
hard to fathom the folks over in Orlando letting things get so
outta hand that the home of Disney World is considered to be too
dangerous to raise a family! (You shoulda come to St.
Pete/Clearwater! Then again, no -- I don't need the competition! :-))

Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!


Jake Vickers wrote:

Dan McAllister wrote:

You can use recordio to see what qmail-smtp is doing, and
maybe see where the break is. I've been traveling the last few
days so I haven't kept up on the threads much. What OS and
version? Behind a NAT firewall or public? Are just the /home
and /backup dirs on NFS?
Thanks.

Turns out the error is now coming from qmail-send (earlier it
was qmail-smtp, but the MySQL fix seems to have gotten it thru
qmail-smtp and on to qmail-send.
The exact error message in QMLOG send is:
2007-07-17 10:06:40.201173500 new msg 2261131
2007-07-17 10:06:40.201177500 info msg 2261131: bytes 1551 from
[EMAIL PROTECTED] qp 21254 uid 89
2007-07-17 10:06:40.211859500 starting delivery 9: msg 2261131
to local [EMAIL PROTECTED]
2007-07-17 10:06:40.211864500 status: local 1/10 remote 0/60
2007-07-17 10:06:40.215288500 delivery 9: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
2007-07-17 10:06:40.215294500 status: local 0/10 remote 0/60
2007-07-17 10:06:40.229608500 bounce msg 2261131 qp 21257
2007-07-17 10:06:40.229613500 end msg 2261131


I still missed some

Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-17 Thread Dan McAllister

The value of the assign file matches entries on other (working) servers...
---
+userdomain.com-:userdomain.com:89:89:/home/vpopmail/domains/userdomain.com:-::
.
---

An interesting attempt -- I've never had to examine this file before 
(didn't even know it existed!)

Am curious what its used for

Thanks,

Dan

Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!



Jake Vickers wrote:

Natalio Gatti wrote:

The content of /var/qmail/user/assign reflects your current domains?
I had a corrupted assign file, which lead me to a similar problem:
qmail-smtpd accepted the messages (I guess here is where mysql plays
its role), but qmail-send didn't identified them as local accounts.

The assign file must be compiled once modified, is a cdb file. It is
compiled with qmail-newu. If your assign file is correct, running this
command won't affect your installation.
Jake, can this command be included in service qmail cdb?


I do not see why not. I'll make a note and remind Erik when the new 
version gets ready to roll.


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-17 Thread Janno Sannik
If i'm correct then this file is used for deliveries. 89:89 can be 
changed to somethin else so the domain files are owned by somebody else 
(and use filesystem quota on separate domains).
i have a hunch on other variables (they are quite obvious :) ), but i'm 
not guessing and reading the docs would be right thing to do.


Dan McAllister wrote:
The value of the assign file matches entries on other (working) 
servers...

---
+userdomain.com-:userdomain.com:89:89:/home/vpopmail/domains/userdomain.com:-:: 


.
---

An interesting attempt -- I've never had to examine this file before 
(didn't even know it existed!)

Am curious what its used for

Thanks,

Dan

Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!



Jake Vickers wrote:

Natalio Gatti wrote:

The content of /var/qmail/user/assign reflects your current domains?
I had a corrupted assign file, which lead me to a similar problem:
qmail-smtpd accepted the messages (I guess here is where mysql plays
its role), but qmail-send didn't identified them as local accounts.

The assign file must be compiled once modified, is a cdb file. It is
compiled with qmail-newu. If your assign file is correct, running this
command won't affect your installation.
Jake, can this command be included in service qmail cdb?


I do not see why not. I'll make a note and remind Erik when the new 
version gets ready to roll.


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-17 Thread Jean-Paul van de Plasse
This really is getting an intresting problem..
Eh sorry for you it is just a very anoying one..

Ok next thing I would try, is a strace .

strace /var/qmail/bin/qmail-smtpd

You get a lot of messages, the system calls actually.
just type the same as you did in the telnet smtp session.
[just to be sure an example]
mail from:youremail
rcpt to:afaultyemailaddress

Somewhere in all those lines there should be a clue about what goes wrong.
Just copy paste it in an email (remove the personal stuph)


JP

  - Original Message - 
  From: Dan McAllister 
  To: qmailtoaster-list@qmailtoaster.com 
  Sent: Tuesday, July 17, 2007 11:36 PM
  Subject: Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- 
still a problem


  Yes, all users are bouncing... 
  I have opened the MySQL tables in navicat and they look identical to other 
domains (on other servers) that DO work. 
  I have tried a telnet session -- same result (error message is sent)
  I have also tried a telnet session to SUBMIT email -- and that works fine!
  I agree that the large value for number of users is of no consequence, 
although I reset it to zero already

  Thanks for the ideas... 


Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!

  Jean-Paul van de Plasse wrote: 
Hey Dan,

A few questions..

Are all accounts in the domain giving a bounce?
When you look in the table beloning to the domain , does it look ok?
Have you tried a telnet smtp session ?

The mysql 2147483647 (max mysql signed int value) is not the problem if you 
ask me, I have severall domains with this value and never had any problems with 
those.

JP
  - Original Message - 
  From: Dan McAllister 
  To: qmailtoaster-list@qmailtoaster.com 
  Sent: Tuesday, July 17, 2007 5:57 PM
  Subject: Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine 
-- still a problem


  Update:

  I enabled the vpopmail user as a shell account (changed the entry in 
/etc/passwd, then used su)
  I tried the vuserinfo command:
  $vuserinfo [EMAIL PROTECTED]

  ... and received an identical response.

  I believe that this effectively shuts down the MySQL error assertion. 

  Unless qmail-send isn't running as the correct user...
  but I just checked -- qmail-send is running as user qmails as intended 
(or at least the same as on my other servers).

  The saga continues, and my clients are getting louder! :(




Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!

  Dan McAllister wrote: 
I'll put my responses up here this time:

1) Yes, the MySQL server is local (same machine as qmail-toaster)
2) If qmail-send is having trouble looking up names, it must be a MYSQL 
problem... as root, I can perform the following:
# vuserinfo [EMAIL PROTECTED]
name:   user
passwd: $1$OUEk3eHa$14lfEMjiA.tX6nuT1m5.m1
clear passwd: password
comment/gecos: My User Name
uid:0
gid:0
flags:  0
gecos: My User Name
limits: No user limits set.
dir:   /home/vpopmail/domains/domain.com/user
quota: NOQUOTA
usage: NOQUOTA
last auth: Tue Jul 17 10:23:51 2007
last auth ip: imap

(I have removed personal data from the above snippet)

Florida definitely has its share of growing pains these days... hard 
to fathom the folks over in Orlando letting things get so outta hand that the 
home of Disney World is considered to be too dangerous to raise a family! (You 
shoulda come to St. Pete/Clearwater! Then again, no -- I don't need the 
competition! :-))


Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!

Jake Vickers wrote: 
  Dan McAllister wrote: 
  You can use recordio to see what qmail-smtp is doing, and maybe 
see where the break is. I've been traveling the last few days so I haven't kept 
up on the threads much. What OS and version? Behind a NAT firewall or public? 
Are just the /home and /backup dirs on NFS? 
  Thanks. 

Turns out the error is now coming from qmail-send (earlier it was 
qmail-smtp, but the MySQL fix seems to have gotten

Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-17 Thread Dan McAllister

ummm... I think I inadvertently confused you...

I ran vuserinfo as root and got:
[EMAIL PROTECTED] ~]# /home/vpopmail/bin/vuserinfo [EMAIL PROTECTED]
name:   user
passwd: $1$OUEk3eHa$14lfEMjiA.tX6nuT1m5.m1
clear passwd: password
comment/gecos: My User
uid:0
gid:0
flags:  0
gecos: My User
limits: No user limits set.
dir:   /home/vpopmail/domains/clientdomain.com/user
quota: NOQUOTA
usage: NOQUOTA
last auth: Tue Jul 17 12:01:12 2007
last auth ip: imap
[EMAIL PROTECTED] ~]#

Then I logged in as the user vpopmail:
[EMAIL PROTECTED] ~]# su vpopmail
[vpopmail@ root]$ /home/vpopmail/bin/vuserinfo [EMAIL PROTECTED]
name:   user
passwd: $1$OUEk3eHa$14lfEMjiA.tX6nuT1m5.m1
clear passwd: password
comment/gecos: My User
uid:0
gid:0
flags:  0
gecos: My User
limits: No user limits set.
dir:   /home/vpopmail/domains/clientdomain.com/user
quota: NOQUOTA
usage: NOQUOTA
last auth: Tue Jul 17 12:01:12 2007
last auth ip: imap
[vpopmail@ root]$ exit


When I said it was the same, I meant that it was the same info as when I 
ran it as root.


Sorry for any confusion...

Now if you were referring to the password for vpopmail in Linux, there 
is none (not one on any other client either) (the /etc/shadow entry 
equivalent is:

vpopmail:!!:13542::
which is a non-password.

I *DO* change the default root password in MySQL away from the 
PpAaSsWwOoRrDd or some such default.


Dan


Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!



Jake Vickers wrote:

Dan McAllister wrote:

Update:

I enabled the vpopmail user as a shell account (changed the entry in 
/etc/passwd, then used su)

I tried the vuserinfo command:
$vuserinfo [EMAIL PROTECTED]

... and received an identical response.

I believe that this effectively shuts down the MySQL error assertion.

Unless qmail-send isn't running as the correct user...
but I just checked -- qmail-send is running as user qmails as 
intended (or at least the same as on my other servers).


The saga continues, and my clients are getting louder! :(


You're onto something there That should have worked:

[EMAIL PROTECTED] ~]# su vpopmail
bash-3.00$ /home/vpopmail/bin/vuserinfo [EMAIL PROTECTED]
name:   jake
passwd: $1$N4y/3gvf$UqT0OapwHml5arTMkXkHg0
clear passwd: none-of-your-business
comment/gecos: Jake Vickers
uid:0
gid:0
flags:  0
gecos: Jake Vickers
limits: No user limits set.
dir:   /home/vpopmail/domains/v2gnu.com/jake
quota: NOQUOTA
usage: NOQUOTA
last auth: Tue Jul 17 17:09:17 2007
last auth ip: 70.145.239.156

But it does have to read all of that info from mysql.  Have you 
changed the password for vpopmail from the default or anything?




Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-17 Thread Jake Vickers

Dan McAllister wrote:

ummm... I think I inadvertently confused you...


When I said it was the same, I meant that it was the same info as when 
I ran it as root.


Sorry for any confusion...


Yeah, that one got me. Sorry about that.


Now if you were referring to the password for vpopmail in Linux, there 
is none (not one on any other client either) (the /etc/shadow entry 
equivalent is:

vpopmail:!!:13542::
which is a non-password.

I *DO* change the default root password in MySQL away from the 
PpAaSsWwOoRrDd or some such default.




I was talking about /home/vpopmail/etc/vpopmail.mysql actually. The 
password in there is what it will be trying to use to access the DB, but 
that's not the issue. It's obviously doing that.

Now you've narrowed it down to qmail-send, correct?


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-17 Thread Erik A. Espinoza

Im pretty sure the default password is SsEeCcRrEeTt.

E

On 7/17/07, Jake Vickers [EMAIL PROTECTED] wrote:


 Dan McAllister wrote:
 ummm... I think I inadvertently confused you...


 When I said it was the same, I meant that it was the same info as when I
ran it as root.

 Sorry for any confusion...

 Yeah, that one got me. Sorry about that.


 Now if you were referring to the password for vpopmail in Linux, there is
none (not one on any other client either) (the /etc/shadow entry equivalent
is:
 vpopmail:!!:13542::
 which is a non-password.

 I *DO* change the default root password in MySQL away from the
PpAaSsWwOoRrDd or some such default.


 I was talking about /home/vpopmail/etc/vpopmail.mysql
actually. The password in there is what it will be trying to use to access
the DB, but that's not the issue. It's obviously doing that.
 Now you've narrowed it down to qmail-send, correct?




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[qmailtoaster] Domain bouncing mail, vuser says user is fine

2007-07-16 Thread Dan McAllister
OK... this is the 3rd time this has happened to me, and the fix I've 
used in the past just isn't feasible this time...


I've got a domain on a qmail-toaster (I've tried migrating to qtplus, 
but the sandbox creation always fails because of the symbolic links and 
additional mounted filesystems (backup and home are on separate 
drives)... but that's another story)...


The issue is that after running fine for a while, a domain's mysql 
database gets reasonably well corrupted. At current, if I do a vdominfo 
on the domain, it shows what I suspect is an error associated with doing 
signed arithmetic on an unsigned value, or vice-versa. The number of 
users is being reported as 2147483647 (which is 7FFF in hex).


If I run vuserinfo, all the expected users show just fine, however 
/something/ in qmail-smtp is reporting that there are no users in the 
domain (all users are bouncing mail as no mailbox here by that name) 
-- so I suspect qmail-smtp is using the # of users value and finds it 
too large.


I've had this problem before, but on much smaller domains. Previously, 
to resolve this problem, I have backed up the old mailboxes, deleted the 
entire domain (vdeldomain), deleted ALL of the mysql databases (rm -rf 
/var/lib/mysql/*), re-started mysql (to generate new base databases in 
/var/lib/mysql), reset the mysql default password, added the vpopmail 
mysql database, re-added each of the users (plus aliases, forwards, 
etc.) manually into the vpopmail database, verified correctness, then 
finally restoring the old mailbox entries.


*There has to be a better way! *(With this particular domain, that'll be 
an all-day project! Over 150 users!)


Surely this mysql database entry that has counted the # of users can be 
fixed somehow WITHOUT starting from scratch! I'm no database guy, but I 
am a pretty astute Linux (UNIX) admin... so I'm hoping someone out there 
with the MYSQL knowhow can lead me in the right direction to fix this ASAP!


Thanks in advance,

Dan


Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!



Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine

2007-07-16 Thread Phil Leinhauser
Do a google search for a product called navicat.  It's an admin tool MySQL.  
Once you connect to your MySQL, you'll see the tables.  When you right click on 
a table or group of tables, you have the option to check tables.  It will 
report the state back as ok, crashed, corrupted, etc.  On the bad tables, you 
can right click repair tables.  It will then fix any errors it found.  I have 
found Navicat to be a pretty invaluable tool for MySQL.  You can get a full 
feature 30 day demo I think.

Phil



-Original message-
From: Dan McAllister [EMAIL PROTECTED]
Date: Mon, 16 Jul 2007 12:29:13 -0400
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] Domain bouncing mail, vuser says user is fine

 OK... this is the 3rd time this has happened to me, and the fix I've 
 used in the past just isn't feasible this time...
 
 I've got a domain on a qmail-toaster (I've tried migrating to qtplus, 
 but the sandbox creation always fails because of the symbolic links and 
 additional mounted filesystems (backup and home are on separate 
 drives)... but that's another story)...
 
 The issue is that after running fine for a while, a domain's mysql 
 database gets reasonably well corrupted. At current, if I do a vdominfo 
 on the domain, it shows what I suspect is an error associated with doing 
 signed arithmetic on an unsigned value, or vice-versa. The number of 
 users is being reported as 2147483647 (which is 7FFF in hex).
 
 If I run vuserinfo, all the expected users show just fine, however 
 /something/ in qmail-smtp is reporting that there are no users in the 
 domain (all users are bouncing mail as no mailbox here by that name) 
 -- so I suspect qmail-smtp is using the # of users value and finds it 
 too large.
 
 I've had this problem before, but on much smaller domains. Previously, 
 to resolve this problem, I have backed up the old mailboxes, deleted the 
 entire domain (vdeldomain), deleted ALL of the mysql databases (rm -rf 
 /var/lib/mysql/*), re-started mysql (to generate new base databases in 
 /var/lib/mysql), reset the mysql default password, added the vpopmail 
 mysql database, re-added each of the users (plus aliases, forwards, 
 etc.) manually into the vpopmail database, verified correctness, then 
 finally restoring the old mailbox entries.
 
 *There has to be a better way! *(With this particular domain, that'll be 
 an all-day project! Over 150 users!)
 
 Surely this mysql database entry that has counted the # of users can be 
 fixed somehow WITHOUT starting from scratch! I'm no database guy, but I 
 am a pretty astute Linux (UNIX) admin... so I'm hoping someone out there 
 with the MYSQL knowhow can lead me in the right direction to fix this ASAP!
 
 Thanks in advance,
 
 Dan
 
 
 Daniel McAllister, President
 
 IT4SOHO, LLC
 2171 Wrens Way
 Clearwater, FL 33764
 
 877-IT4SOHO: Toll Free
 727-647-7646 In Pinellas
 813-464-2093 In Hillsborough
 727-507-9435 Fax Only
 
 When did you do your last backup?
 
 Ask me about unattended backup solutions...
 to protect your business, not just your data!
 
 
 

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] Domain bouncing mail, vuser says user is fine

2007-07-16 Thread Helmut Fritz
maybe you can use mysql to change the value?  i see a table called
dir_control in database vpopmail that ha a column called cur_users.
 
what is interesting though is that 3 of my domains show 0 users when in fact
they have users...  can anyone advise on that?


  _  

From: Dan McAllister [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 16, 2007 9:26 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] Domain bouncing mail, vuser says user is fine


OK... this is the 3rd time this has happened to me, and the fix I've used
in the past just isn't feasible this time...

I've got a domain on a qmail-toaster (I've tried migrating to qtplus, but
the sandbox creation always fails because of the symbolic links and
additional mounted filesystems (backup and home are on separate drives)...
but that's another story)...

The issue is that after running fine for a while, a domain's mysql database
gets reasonably well corrupted. At current, if I do a vdominfo on the
domain, it shows what I suspect is an error associated with doing signed
arithmetic on an unsigned value, or vice-versa. The number of users is being
reported as 2147483647 (which is 7FFF in hex).

If I run vuserinfo, all the expected users show just fine, however something
in qmail-smtp is reporting that there are no users in the domain (all users
are bouncing mail as no mailbox here by that name) -- so I suspect
qmail-smtp is using the # of users value and finds it too large.

I've had this problem before, but on much smaller domains. Previously, to
resolve this problem, I have backed up the old mailboxes, deleted the entire
domain (vdeldomain), deleted ALL of the mysql databases (rm -rf
/var/lib/mysql/*), re-started mysql (to generate new base databases in
/var/lib/mysql), reset the mysql default password, added the vpopmail mysql
database, re-added each of the users (plus aliases, forwards, etc.) manually
into the vpopmail database, verified correctness, then finally restoring the
old mailbox entries.

There has to be a better way! (With this particular domain, that'll be an
all-day project! Over 150 users!)

Surely this mysql database entry that has counted the # of users can be
fixed somehow WITHOUT starting from scratch! I'm no database guy, but I am a
pretty astute Linux (UNIX) admin... so I'm hoping someone out there with the
MYSQL knowhow can lead me in the right direction to fix this ASAP!

Thanks in advance,

Dan



Daniel McAllister, President



IT4SOHO, LLC

2171 Wrens Way

Clearwater, FL 33764



877-IT4SOHO: Toll Free

727-647-7646 In Pinellas

813-464-2093 In Hillsborough

727-507-9435 Fax Only



When did you do your last backup?



Ask me about unattended backup solutions...

to protect your business, not just your data!


Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-16 Thread Dan McAllister

Thanks for the pointer to the tool, Phil...

Unfortunately, it appears that the # of users bug is a symptom, not 
the real problem. Using navicat, I have repaired the # of users entry in 
the dir_control field.
However, my users on this system all remain unable to receive email. 
(same error)


I have also verified (to the best of my limited ability) that the 
remaining mysql table entries (for dir_control, and the domain) are 
sane by comparing their entries with another server's tables...


The users are able to SEND messages just fine -- it's just their inbound 
mail that's bouncing. So I believe chkuser is working fine... what I 
next need to know is what other facility within qmail-smtp could result 
in this bounce message, and how can I test it to see where its failing?


Thanks again in advance for any help!

Dan

PS: I have to admit -- I'm getting frustrated with the whole 
qmail-toaster idea -- being a sys-admin for decades, I'm not used to 
deploying systems that are magic boxes -- I like to know HOW things 
work (and WHY they work)... but sendmail was a BITCH (always has been), 
and I was impressed with what other people had said about the toaster. 
I'm beginning to think I should learn POSTFIX. sigh at least then, 
when things broke, I'd have some better ideas about where to look and 
what to tweak!


hopefully, someone will show me a DUH item that will restore my faith in 
the qmail-toaster idea




Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!



Phil Leinhauser wrote:

Do a google search for a product called navicat.  It's an admin tool MySQL.  
Once you connect to your MySQL, you'll see the tables.  When you right click on 
a table or group of tables, you have the option to check tables.  It will 
report the state back as ok, crashed, corrupted, etc.  On the bad tables, you 
can right click repair tables.  It will then fix any errors it found.  I have 
found Navicat to be a pretty invaluable tool for MySQL.  You can get a full 
feature 30 day demo I think.

Phil



-Original message-
From: Dan McAllister [EMAIL PROTECTED]
Date: Mon, 16 Jul 2007 12:29:13 -0400
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] Domain bouncing mail, vuser says user is fine

  
OK... this is the 3rd time this has happened to me, and the fix I've 
used in the past just isn't feasible this time...


I've got a domain on a qmail-toaster (I've tried migrating to qtplus, 
but the sandbox creation always fails because of the symbolic links and 
additional mounted filesystems (backup and home are on separate 
drives)... but that's another story)...


The issue is that after running fine for a while, a domain's mysql 
database gets reasonably well corrupted. At current, if I do a vdominfo 
on the domain, it shows what I suspect is an error associated with doing 
signed arithmetic on an unsigned value, or vice-versa. The number of 
users is being reported as 2147483647 (which is 7FFF in hex).


If I run vuserinfo, all the expected users show just fine, however 
/something/ in qmail-smtp is reporting that there are no users in the 
domain (all users are bouncing mail as no mailbox here by that name) 
-- so I suspect qmail-smtp is using the # of users value and finds it 
too large.


I've had this problem before, but on much smaller domains. Previously, 
to resolve this problem, I have backed up the old mailboxes, deleted the 
entire domain (vdeldomain), deleted ALL of the mysql databases (rm -rf 
/var/lib/mysql/*), re-started mysql (to generate new base databases in 
/var/lib/mysql), reset the mysql default password, added the vpopmail 
mysql database, re-added each of the users (plus aliases, forwards, 
etc.) manually into the vpopmail database, verified correctness, then 
finally restoring the old mailbox entries.


*There has to be a better way! *(With this particular domain, that'll be 
an all-day project! Over 150 users!)


Surely this mysql database entry that has counted the # of users can be 
fixed somehow WITHOUT starting from scratch! I'm no database guy, but I 
am a pretty astute Linux (UNIX) admin... so I'm hoping someone out there 
with the MYSQL knowhow can lead me in the right direction to fix this ASAP!


Thanks in advance,

Dan


Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!






-
 QmailToaster hosted by: VR Hosted http://www.vr.org

Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-16 Thread Dan McAllister

Jake...

I DO have a bad habit of reading the documentation -- I use the vqadmin 
program solely for retrieving passwords when idiot users forget them 
-- usually the day after they have reset them for some odd reason.


In my environment, clients purchase a server and maintenance from me. 
They are then able to host their own services (web, file, email, etc) on 
their own server in a kind of black box configuration -- I do all the 
maintenance, security audits, etc. for them for a monthly fee.


Mail accounts (or more correctly, mailboxes) USED to be tied to User 
accounts -- until I switched to the toaster.  A HUGE benefit, if you ask me!
However, users cannot host additional domains without calling support 
(we haven't automated that task yet.) They can edit webpages, and 
completely manage their email domain (thanks to qmailadmin), but I don't 
even give them access to toaster-admin, much less vqadmin.


When a client asks for a new domain to be hosted on their system, they 
submit a request via email. At that time, we add the domain to their 
DNS, create a space for the web pages to be hosted, create an admin 
account group for the new domain (who are able to edit the web pages), 
and lastly create the email domain (vadddomain).


I actually then add a couple of items:
 1) I set the postmaster account to point to MY postmaster account -- I 
read the postmaster mail for all domains I administer, whether on my own 
server or a client's
 2) I create an admin user mailbox (usually the owner of the company) 
and set the password to something we've agreed upon earlier
 3) I create webmaster and abuse aliases for my own webmaster and abuse 
email mailboxes (on my own domain) -- same reason as for postmaster
 4) I email the client a PDF document that tells them how to log into 
qmailadmin on their new webpage, how to use THEIR account (not 
postmaster) and a brief primer on how to create each type of account 
(mailbox, alias, responder, and list). They can always call for 
additional support -- but the issues that new users bring up are usually 
added to our PDF document so we don't have to answer it again!


Which brings me back to my current issue... this client is STILL without 
email this evening, and I'm looking like an idiot because I've checked 
everything I know how to check...


Are there NO CLI diagnostics that can try to find out why (or just as 
importantly) WHERE qmail-smtp is failing to find the account???


regards...

Dan


Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!



Jake Vickers wrote:

Helmut Fritz wrote:
Jake - wow.  I did not know that.  I used vqadmin to create my 
domains and
it worked just fine.  But that is all I did, create the virtual 
domains and

set the limits for mailboxes, aliases, etc...  Then I used qmailadmin to
finish things up and create users mailboxes, mail lists, etc.  I 
thought I
saw reference to doing it this way either in a mail list thread or in 
the
readme/wiki.
Yeah, you can get some strange things by using it.  Like the other 
thread on here that has a corrupted database, with 2147483647 users in 
the table. Thats one I've reproduced with VqAdmin myself.  Best method 
(which should be on the wiki now, if not email me the incorrect link) 
is to create the domain via the CLI, and set your limits and such 
then.  Then use qmailadmin to do everything else.




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-16 Thread Jake Vickers

Dan McAllister wrote:

Jake...

I DO have a bad habit of reading the documentation -- I use the 
vqadmin program solely for retrieving passwords when idiot users 
forget them -- usually the day after they have reset them for some 
odd reason.
I have no doubt, and hope you do read the sparse docs we've put 
together. The number 217-whatever is just one that I can reproduce 
consistently with vqadmin.
If you created the domains via the CLI (and I'm assuming the values are 
correct at that time) and they change later  That's an interesting 
one.  Is the mysql DB on a different machine as well? I'm starting to 
suspect something awry with either a DB being on a different machine, or 
the filesystems being on a different machine. I know there was an issue 
with MySQL5 when it came out, and I think the end-result patch just 
pings the DB every so often to keep the connection alive. Before that 
everyone was getting cannot connect to DB messages.


In my environment, clients purchase a server and maintenance from me. 
They are then able to host their own services (web, file, email, etc) 
on their own server in a kind of black box configuration -- I do all 
the maintenance, security audits, etc. for them for a monthly fee.

Very similar to what I offer my clients.




When a client asks for a new domain to be hosted on their system, they 
submit a request via email. At that time, we add the domain to their 
DNS, create a space for the web pages to be hosted, create an admin 
account group for the new domain (who are able to edit the web pages), 
and lastly create the email domain (vadddomain).


If you're PHP savvy this could be scripted.  I have a bash script I use 
to create new domains for my clients. It asks for the name, number of 
mailboxes, quota, etc. and then creates it for me.

I actually then add a couple of items:
 1) I set the postmaster account to point to MY postmaster account -- 
I read the postmaster mail for all domains I administer, whether on my 
own server or a client's
 2) I create an admin user mailbox (usually the owner of the company) 
and set the password to something we've agreed upon earlier
 3) I create webmaster and abuse aliases for my own webmaster and 
abuse email mailboxes (on my own domain) -- same reason as for postmaster
 4) I email the client a PDF document that tells them how to log into 
qmailadmin on their new webpage, how to use THEIR account (not 
postmaster) and a brief primer on how to create each type of account 
(mailbox, alias, responder, and list). They can always call for 
additional support -- but the issues that new users bring up are 
usually added to our PDF document so we don't have to answer it again!
Good ideas. I leave it up to the clients for their bounce messages and 
what-not. 'Course I also set up and maintain their in-house networks, 
networks in other states to connect back to the home office, VoIP phone 
systems, I also do custom projects (http://thebuildercam.com/ as an 
example, which I built from the ground up in my garage), etc., so I 
don't feel guilty watching over their stuff as much. My biggest problem 
right now is AOL. They recently changed their servers, and I chase 
phantom-bounces all the time for 1 client who checks the mail server 
for me - 50 times a day. 2 weekends ago he only got 50 emails on a 
Sunday and was sending me text messages to my phone because he said the 
email server was broke. He normally averages 150-200 messages a day and 
figured that 100 or so had gotten lost somewhere. It was just a light 
day. He didn't know of any emails that actually bounced, but he figured 
there had to be some. sigh


Which brings me back to my current issue... this client is STILL 
without email this evening, and I'm looking like an idiot because I've 
checked everything I know how to check...


Are there NO CLI diagnostics that can try to find out why (or just as 
importantly) WHERE qmail-smtp is failing to find the account???
You can use recordio to see what qmail-smtp is doing, and maybe see 
where the break is. I've been traveling the last few days so I haven't 
kept up on the threads much. What OS and version? Behind a NAT firewall 
or public? Are just the /home and /backup dirs on NFS?

Thanks.



Clearwater, FL 33764


You're not that far from me. My office is in Orlando, but I'm moving to 
North Carolina this month. I'll still be in Orlando a couple days a 
month though, since that's where the bulk of my clients are right now.




smime.p7s
Description: S/MIME Cryptographic Signature


RE: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-16 Thread Tim Mancour
Dan,

Perhaps the database isn't the problem. Have you checked the ownership,
group and permisssions of the files in the domain's directory
(/home/vpopmail/domain/problemchild.com). The domain's .qmail-default file
could also being missing or corrupted and so can the individual user's
.qmail file.

Regards,
Tim

-Original Message-
From: Dan McAllister [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 16, 2007 6:05 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine --
still a problem

Jake...

I DO have a bad habit of reading the documentation -- I use the vqadmin
program solely for retrieving passwords when idiot users forget them
-- usually the day after they have reset them for some odd reason.

In my environment, clients purchase a server and maintenance from me. 
They are then able to host their own services (web, file, email, etc) on
their own server in a kind of black box configuration -- I do all the
maintenance, security audits, etc. for them for a monthly fee.

Mail accounts (or more correctly, mailboxes) USED to be tied to User
accounts -- until I switched to the toaster.  A HUGE benefit, if you ask me!
However, users cannot host additional domains without calling support (we
haven't automated that task yet.) They can edit webpages, and completely
manage their email domain (thanks to qmailadmin), but I don't even give them
access to toaster-admin, much less vqadmin.

When a client asks for a new domain to be hosted on their system, they
submit a request via email. At that time, we add the domain to their DNS,
create a space for the web pages to be hosted, create an admin account group
for the new domain (who are able to edit the web pages), and lastly create
the email domain (vadddomain).

I actually then add a couple of items:
  1) I set the postmaster account to point to MY postmaster account -- I
read the postmaster mail for all domains I administer, whether on my own
server or a client's
  2) I create an admin user mailbox (usually the owner of the company) and
set the password to something we've agreed upon earlier
  3) I create webmaster and abuse aliases for my own webmaster and abuse
email mailboxes (on my own domain) -- same reason as for postmaster
  4) I email the client a PDF document that tells them how to log into
qmailadmin on their new webpage, how to use THEIR account (not
postmaster) and a brief primer on how to create each type of account
(mailbox, alias, responder, and list). They can always call for additional
support -- but the issues that new users bring up are usually added to our
PDF document so we don't have to answer it again!

Which brings me back to my current issue... this client is STILL without
email this evening, and I'm looking like an idiot because I've checked
everything I know how to check...

Are there NO CLI diagnostics that can try to find out why (or just as
importantly) WHERE qmail-smtp is failing to find the account???

regards...

Dan


Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!



Jake Vickers wrote:
 Helmut Fritz wrote:
 Jake - wow.  I did not know that.  I used vqadmin to create my 
 domains and it worked just fine.  But that is all I did, create the 
 virtual domains and set the limits for mailboxes, aliases, etc...  
 Then I used qmailadmin to finish things up and create users 
 mailboxes, mail lists, etc.  I thought I saw reference to doing it 
 this way either in a mail list thread or in the
 readme/wiki.
 Yeah, you can get some strange things by using it.  Like the other 
 thread on here that has a corrupted database, with 2147483647 users in 
 the table. Thats one I've reproduced with VqAdmin myself.  Best method 
 (which should be on the wiki now, if not email me the incorrect link) 
 is to create the domain via the CLI, and set your limits and such 
 then.  Then use qmailadmin to do everything else.


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] Domain bouncing mail, vuser says user is fine -- still a problem

2007-07-16 Thread Tim Mancour
Dan,

Also, please check your ./qmail/control/rcpthosts file. 
 
Regards,
Tim 

-Original Message-
From: Tim Mancour [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 16, 2007 7:56 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: RE: [qmailtoaster] Domain bouncing mail, vuser says user is fine --
still a problem

Dan,

Perhaps the database isn't the problem. Have you checked the ownership,
group and permisssions of the files in the domain's directory
(/home/vpopmail/domain/problemchild.com). The domain's .qmail-default file
could also being missing or corrupted and so can the individual user's
.qmail file.

Regards,
Tim

-Original Message-
From: Dan McAllister [mailto:[EMAIL PROTECTED]
Sent: Monday, July 16, 2007 6:05 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Domain bouncing mail, vuser says user is fine --
still a problem

Jake...

I DO have a bad habit of reading the documentation -- I use the vqadmin
program solely for retrieving passwords when idiot users forget them
-- usually the day after they have reset them for some odd reason.

In my environment, clients purchase a server and maintenance from me. 
They are then able to host their own services (web, file, email, etc) on
their own server in a kind of black box configuration -- I do all the
maintenance, security audits, etc. for them for a monthly fee.

Mail accounts (or more correctly, mailboxes) USED to be tied to User
accounts -- until I switched to the toaster.  A HUGE benefit, if you ask me!
However, users cannot host additional domains without calling support (we
haven't automated that task yet.) They can edit webpages, and completely
manage their email domain (thanks to qmailadmin), but I don't even give them
access to toaster-admin, much less vqadmin.

When a client asks for a new domain to be hosted on their system, they
submit a request via email. At that time, we add the domain to their DNS,
create a space for the web pages to be hosted, create an admin account group
for the new domain (who are able to edit the web pages), and lastly create
the email domain (vadddomain).

I actually then add a couple of items:
  1) I set the postmaster account to point to MY postmaster account -- I
read the postmaster mail for all domains I administer, whether on my own
server or a client's
  2) I create an admin user mailbox (usually the owner of the company) and
set the password to something we've agreed upon earlier
  3) I create webmaster and abuse aliases for my own webmaster and abuse
email mailboxes (on my own domain) -- same reason as for postmaster
  4) I email the client a PDF document that tells them how to log into
qmailadmin on their new webpage, how to use THEIR account (not
postmaster) and a brief primer on how to create each type of account
(mailbox, alias, responder, and list). They can always call for additional
support -- but the issues that new users bring up are usually added to our
PDF document so we don't have to answer it again!

Which brings me back to my current issue... this client is STILL without
email this evening, and I'm looking like an idiot because I've checked
everything I know how to check...

Are there NO CLI diagnostics that can try to find out why (or just as
importantly) WHERE qmail-smtp is failing to find the account???

regards...

Dan


Daniel McAllister, President

IT4SOHO, LLC
2171 Wrens Way
Clearwater, FL 33764

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

When did you do your last backup?

Ask me about unattended backup solutions...
to protect your business, not just your data!



Jake Vickers wrote:
 Helmut Fritz wrote:
 Jake - wow.  I did not know that.  I used vqadmin to create my 
 domains and it worked just fine.  But that is all I did, create the 
 virtual domains and set the limits for mailboxes, aliases, etc...
 Then I used qmailadmin to finish things up and create users 
 mailboxes, mail lists, etc.  I thought I saw reference to doing it 
 this way either in a mail list thread or in the
 readme/wiki.
 Yeah, you can get some strange things by using it.  Like the other 
 thread on here that has a corrupted database, with 2147483647 users in 
 the table. Thats one I've reproduced with VqAdmin myself.  Best method 
 (which should be on the wiki now, if not email me the incorrect link) 
 is to create the domain via the CLI, and set your limits and such 
 then.  Then use qmailadmin to do everything else.


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e