[vchkpw] qmail resending mails

2004-09-26 Thread o k
Hello
I'm using qmail-1.03  vpopmail-5.2  ezmlm-0.53.
A customer complains about sending a mail to mailing list (one time)  the 
mailing list members receive the mail more than 245 times!!
This is not the first time this happens, and it stop this duplicates after a 
day.

Is there any solution to this problem?
Is there anyone facing this problem?
Thanks
_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail



Re: [vchkpw] Fw: [Courier-imap] chdir username: No such file or directory

2004-09-26 Thread Remo Mattei
I had the same problem that's why I got back to my 1.7 version of Courier
which works fine for me.

Remo
- Original Message - 
From: Jeremy Kister [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, September 25, 2004 10:00 PM
Subject: Re: [vchkpw] Fw: [Courier-imap] chdir username: No such file or
directory


 On Saturday, September 25, 2004 8:08 PM, Tom Collins wrote:
  an auth module.  Make sure that you're configuring it to use authvchkpw
  and nothing else.

 yep - my configure script was listed in my previous email - only
authvchkpw
 is enabled.

 I've got a hunch that there is an incompatibility between the newer
vpopmail
 and courier's authvchkpw

 I compiled courier-imap 2.2.0 on a Solaris 2.9 box, with vpopmail 5.2.1.
 All IMAP functions behaved as expected.

 I took the authvchkpw binary from the 2.9 box, and copied it over to my
2.7
 box, with vpopmail 5.4.6

 CourierIMAP now seems happy.  I'm surprised no one else has run into this.
 Is there anyone out there running vpopmail 5.4.x and courier-imap with
 authvchkpw ?

 This will be cross-posted to the courier-imap list, just to let Sam (et
al)
 know about the possible incompatibility.

 Jeremy Kister
 http://jeremy.kister.net/




[vchkpw] incorrect No mailbox here for defaultdomain?? Urgent help needed

2004-09-26 Thread [EMAIL PROTECTED]
I've got a situation that's driving me insane.  (and incidentally, 
pissing off quite a few clients)  Overall setup - 5 nodes running 
Qmail/vpopmail/mysql setup, vpop 5.4.something.  Qmail control files 
(incl /service scripts) and domains folders are on NFS share, with me 
linked to the particular node's name (hild.dsslink.net for example) on 
the node's local fs, while 
bouncehost=defaulthost=defaultdomain=doublebouncehost=localiphost=locals=dsslink.net.

Hosts a few dozen domains, but right now ALL of them work fine EXCEPT 
dsslink.net.  I can manually inject a message via telnet addressed to a 
valid '[EMAIL PROTECTED]', the same 'user' bare, and a valid user at any 
other domain we host.  The message will be delivered fine for the other 
domain.  The '[EMAIL PROTECTED]' one elicits No mailbox here by that 
name, while the remaining (bare username) it tries to deliver to 
'[EMAIL PROTECTED]'!

This was all working correctly until a few days ago.  The backend data 
server croaked, and was revived.  (it hosts: nfs, rbldnsd, mysql, ntp) 
Revivification entailed upgrading from mandrake 9.1 to mandrake 10.  
Immediately, permissions problems halted everything.  Now, permissions 
are the same for this domain as for others which work, I don't think the 
problem lies there.  This domain's .qmail-default file is identical to 
that of most of the other domains.  (specifically, | 
/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox)

HELP.  :)  Any suggestions appreciated.  I'm interested in the solution 
to the defaultdomain part (using the contents of /var/qmail/control/me), 
but I'm on the clock 24/7 until I get deliveries working again for 
dsslink.net...

j
Joel Newkirk
DSSLink, LLC


Re: [vchkpw] incorrect No mailbox here for defaultdomain?? Urgent help needed

2004-09-26 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] (that's me) wrote:
I've got a situation that's driving me insane.  (and incidentally, 
pissing off quite a few clients)  Overall setup - 5 nodes running 
Qmail/vpopmail/mysql setup, vpop 5.4.something.  Qmail control files 
(incl /service scripts) and domains folders are on NFS
Clarification - the 'something' is because we're running 5.4.0 on some 
nodes, 5.4.1 on others.  All have the same problem, so I deduced that 
the difference wasn't important to this problem.  (after sending, 
thoughts of he doesn't even know what he's running??? reactions... ;^)

This was all working correctly until a few days ago.  The backend data 
server croaked, and was revived.  (it hosts: nfs, rbldnsd, mysql, ntp) 
Revivification entailed upgrading from mandrake 9.1 to mandrake 10. 
Sorry, that should have read 'included' not 'entailed' - there were also 
some hardware swapouts and changes, although not HDs.

And finally, I forgot to include that the problem domain IS included in 
rcpthosts and virtualdomains.

j
Joel Newkirk
DSSLink, LLC


[vchkpw] suggestions on valias error

2004-09-26 Thread Remo Mattei



vmysql: error creating table 
'valias': MySQL server has gone away@40004156f5701a931f9c vmysql: sql 
error[j]: MySQL server has gone away

any one has any suggestions? I have 
mysql running though!!

Thanks,
Remo


[vchkpw] Re: resolved - [vchkpw] incorrect No mailbox here for defaultdomain??

2004-09-26 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I've got a situation that's driving me insane.  (and incidentally, 
pissing off quite a few clients)  Overall setup - 5 nodes running 
Qmail/vpopmail/mysql setup, vpop 5.4.something.  Qmail control files 
(incl /service scripts) and domains folders are on NFS share, with 
me linked to the particular node's name (hild.dsslink.net for 
example) on the node's local fs, while 
bouncehost=defaulthost=defaultdomain=doublebouncehost=localiphost=locals=dsslink.net. 

DOH!  Just realized my problem - someone changed 'locals' to be 
'dsslink.net' instead of a link to me...  Pretty sure it wasn't me, 
but it's been a bad few days.

Thanks anyway, sorry to have wasted bandwidth.  (Of course, the simple 
act of posting the plea is probably what triggered my brain, vague 
'something doesn't look right' feeling about my original post)

j
Joel Newkirk
DSSLink, LLC


Re: [vchkpw] suggestions on valias error

2004-09-26 Thread Rainer Duffner
Am So, den 26.09.2004 schrieb Remo Mattei um 20:08:
 vmysql: error creating table 'valias': MySQL server has gone away
 @40004156f5701a931f9c vmysql: sql error[j]: MySQL server has gone
 away
  
 any one has any suggestions? I have mysql running though!!


Credentials OK ?


Rainer
-- 
===
~ Rainer Duffner - [EMAIL PROTECTED] ~
~   Freising - Munich - Germany   ~
~Unix - Linux - BSD - OpenSource - Security   ~
~  http://www.ultra-secure.de/~rainer/pubkey.pgp  ~
===



Re: [vchkpw] suggestions on valias error

2004-09-26 Thread Remo Mattei
yeap!!
I donot see the error anymore but just wondering if just showed when mysql
stopped and my syslogd stopped too!!!

I will watch for it.
Thanks,

Remo
- Original Message - 
From: Rainer Duffner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 26, 2004 12:40 PM
Subject: Re: [vchkpw] suggestions on valias error


 Am So, den 26.09.2004 schrieb Remo Mattei um 20:08:
  vmysql: error creating table 'valias': MySQL server has gone away
  @40004156f5701a931f9c vmysql: sql error[j]: MySQL server has gone
  away
 
  any one has any suggestions? I have mysql running though!!


 Credentials OK ?


 Rainer
 -- 
 ===
 ~ Rainer Duffner - [EMAIL PROTECTED] ~
 ~   Freising - Munich - Germany   ~
 ~Unix - Linux - BSD - OpenSource - Security   ~
 ~  http://www.ultra-secure.de/~rainer/pubkey.pgp  ~
 ===




Re: [vchkpw] Fw: [Courier-imap] chdir username: No such file or directory

2004-09-26 Thread Michael Bowe
- Original Message - 
From: Tom Collins [EMAIL PROTECTED]


 On Sep 25, 2004, at 9:00 PM, Jeremy Kister wrote:
  I've got a hunch that there is an incompatibility between the newer
  vpopmail and courier's authvchkpw

 To test your theory, try vpopmail 5.4.0.  I know that Michael Bowe
 worked on the vpopmail code in courier-imap, so I don't see any reason
 for the latest builds to not work.

Yes earlier this year I rewrote the vchkpw code that is included in
courier-imap. The idea here was to fix some broken functionality and to also
close some security issues. My changes were included in the v3.0.0 release
of courier-imap.

I use vchkpw 5.4.x and courier-imap-3.0.x on my production server and
haven't seen the problem you describe. To make sure something hadn't slipped
by, I just updated my server to the latest (5.4.7+3.0.8) and ran it in a few
different combinations eg with/without roaming users, with/without
authdaemon.. Still couldn't duplicate your problem.

I know where in the code your problem is occurring. vchkpw authentication is
handed in the courier-imap source primarily by authlib/authvchkpw.c. In this
file, once a user has been successfully auth'ed, courier-imap executes this
function :

authsuccess(a-homedir, 0, a-sysuserid, a-sysgroupid, a-address,
a-fullname);

authsuccess() switches to the supplied user/group and then does this :

if (chdir(homedir))
{
fprintf(stderr, chdir \%s\: %s\n, homedir,
strerror(errno));
authexit(1);
}

So, for some reason your homedir field just contains username rather than
the full path to the user's dir.

To try and get to the bottom of this, I would suggest that you edit your
imapd file (/usr/local/courier-imap/etc/imapd or similar), and set
DEBUG_LOGIN=2. Then restart your courier-imap daemon. Then look in your
/var/log/maillog. This is an example of an entry from my logs :

Sep 26 22:25:30 reef imapd: authvchkpw:
[EMAIL PROTECTED],
sysuserid=89, sysgroupid=89,
homedir=/home/vpopmail/domains/1/pipeline.com.au/X/mbowe,
[EMAIL PROTECTED], fullname=Michael Bowe,
maildir=null, quota=null, options=null

Note how the homedir contains the full path to the user dir.
And the corresponding vuserinfo shows :

   [EMAIL PROTECTED] etc]# vuserinfo [EMAIL PROTECTED]
   name:   mbowe
   passwd: 
   clear passwd: 
   uid:0
   gid:0
   flags:  0
   gecos: Michael Bowe
   limits: No user limits set.
   dir:   /home/vpopmail/domains/1/pipeline.com.au/X/mbowe
   quota: 524288000S
usage: 14%
last auth: Sun Sep 26 22:25:30 2004
last auth ip: imap

Again, you can see how the full path to the user dir is displayed.

Jeremy, how does this compare with your system?

Michael.







Re: [vchkpw] suggestions on valias error

2004-09-26 Thread Jeremy Kitchen
On Sunday 26 September 2004 01:46 pm, Remo Mattei wrote:
 yeap!!
 I donot see the error anymore but just wondering if just showed when mysql
 stopped and my syslogd stopped too!!!

Well, obviously if mysql is stopped it can't connect to the server and change 
things.

PHB Why can't I connect to the website?
Admin I just stopped the webserver
PHB  So?  I should still be able to view the website, right?
* Admin counts to 10 before slapping PHB.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
   GnuPG Key ID: 481BF7E2 ++ scriptkitchen.com/kitchen.asc


pgpxEiXlTNvtX.pgp
Description: PGP signature