[vchkpw] Vusaged segmentation fault on long names

2009-09-02 Thread Wouter van der Schagt
Hi all, I found a bug with long domain names which crashes with a segmentation fault when the vusaged is started. We have 1 client with a domainname of 57 characters and although it is not the domain name listed below, it produces the same result. I believe vpopmail supports domainnames upto

Re: [vchkpw] chkuser random rejects

2009-09-02 Thread Bogdan Motoc - CRC
I seem to have broken things really bad. I tried to make mail.domain.tld an alias of domain.tld Now authentication only works from time to time. The bounce says: u...@domain.tld: Sorry, no mailbox here by that name. (#5.1.1) Of course, that account exists. Where are domain aliases stored? Can

Re: [vchkpw] chkuser random rejects

2009-09-02 Thread Bogdan Motoc - CRC
I'm really sorry about bothering you again about this problem, but I'm really at wits' end here. I have removed the mail.domain.tld from every file I could find. Now mail is not received at all. At least now it's consistent, which is good. No more flapping. (have to keep my sense of humor while

[vchkpw] Re: chkuser random rejects

2009-09-02 Thread Eric Shubert
What's in your /var/qmail/users/assign file? Bogdan Motoc - CRC wrote: I'm really sorry about bothering you again about this problem, but I'm really at wits' end here. I have removed the mail.domain.tld from every file I could find. Now mail is not received at all. At least now it's

Re: [vchkpw] Vusaged segmentation fault on long names

2009-09-02 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wouter van der Schagt wrote: I found a bug with long domain names which crashes with a segmentation fault when the vusaged is started. We have 1 client with a domainname of 57 characters and although it is not the domain name listed below, it

Re: [vchkpw] Re: chkuser random rejects

2009-09-02 Thread Bogdan Motoc - CRC
The assign file has all the domains that have been added via vaddaliasdomain I only have one set of users and the other domains are aliases to domain.com Here's what that file looks like: +domain.com-:domain.com:89:89:/home/vpopmail/domains/domain.com:-::

RE: [vchkpw] Re: chkuser random rejects

2009-09-02 Thread Tren Blackburn
Are you sending mail from an authorized host? Either explicitly via tcp.smtp or via SMTP-Auth or POP-before-SMTP/IMAP-before-SMTP? From: Bogdan Motoc - CRC [mailto:bogdan.mo...@crcnet.ro] Sent: September-02-09 7:54 AM To: vchkpw@inter7.com Subject: Re: [vchkpw] Re: chkuser random rejects

Re: [vchkpw] Vusaged segmentation fault on long names

2009-09-02 Thread Wouter van der Schagt
Thank you for the quick reply! Is this in 5.5? What are the steps to reproduce? I added the domain as you did above, and my vusaged binary from trunk is running as expected, returning data for the long domain name. No, this is in 5.4.28, not running 5.5 at the moment, I can reproduce by

[vchkpw] Re: chkuser random rejects

2009-09-02 Thread Eric Shubert
Bogdan Motoc - CRC wrote: The assign file has all the domains that have been added via vaddaliasdomain I only have one set of users and the other domains are aliases to domain.com Here's what that file looks like: +domain.com-:domain.com:89:89:/home/vpopmail/domains/domain.com:-::

RE: [vchkpw] Re: chkuser random rejects

2009-09-02 Thread Antti Kanes
Wouldn't this be unnecessary if the domain was local, though? (In which case the domain would/should be listed in rcpthosts / morercpthosts configuration file) _ From: Tren Blackburn [mailto:t...@eotnetworks.com] Sent: 2. syyskuuta 2009 18:02 To: vchkpw@inter7.com Subject: RE: [vchkpw]

[vchkpw] Re: chkuser random rejects

2009-09-02 Thread Eric Shubert
Eric Shubert wrote: Bogdan Motoc - CRC wrote: The assign file has all the domains that have been added via vaddaliasdomain I only have one set of users and the other domains are aliases to domain.com Here's what that file looks like:

RE: [vchkpw] Re: chkuser random rejects

2009-09-02 Thread Tren Blackburn
Unless I missed it he doesn't mention if he's trying to submit mail via localhost/telnet. You still need authorization for local domains if you're trying to submit mail from an untrusted IP address (ie. not explicitly trusted via tcp.smtp). If he did mention it then I guess all I did was provide a

Re: [vchkpw] Re: chkuser random rejects

2009-09-02 Thread Bogdan Motoc - CRC
No. Users on the internal network are able to relay their messages because tcp.smtp has this line: local_subnet:allow,RELAYCLIENT= Just tested right now, even roaming users are able to relay messages via smtp-auth. (haven't tested if the pop-before-smtp function of vpopmail works, as i just

RE: [vchkpw] Re: chkuser random rejects

2009-09-02 Thread Antti Kanes
Cheers, I didn't know this, sorry; is that default behaviour nowadays for local domains? Our servers need to be able to accept email from SMTP servers around the world, and adding them all really isn't an option. Is this a compile-time option? Why would you want to only accept mail from trusted

Re: [vchkpw] Re: chkuser random rejects

2009-09-02 Thread Bogdan Motoc - CRC
Eric Shubert wrote: Bogdan Motoc - CRC wrote: The assign file has all the domains that have been added via vaddaliasdomain I only have one set of users and the other domains are aliases to domain.com Here's what that file looks like:

RE: [vchkpw] Re: chkuser random rejects

2009-09-02 Thread Tren Blackburn
Can you paste the output of the command: /var/qmail/bin/qmail-showctl Thanks :) From: Bogdan Motoc - CRC [mailto:bogdan.mo...@crcnet.ro] Sent: September-02-09 8:26 AM To: vchkpw@inter7.com Subject: Re: [vchkpw] Re: chkuser random rejects No. Users on the internal network are able

Re: [vchkpw] Re: chkuser random rejects

2009-09-02 Thread Tonix (Antonio Nati)
Which are ownership and privileges of domain directories and mailboxes? chkuser simply checks mysql or cdb, while qmail in delivery checks also for directories. Tonino Tren Blackburn ha scritto: Can you paste the output of the command: /var/qmail/bin/qmail-showctl Thanks :)

Re: [vchkpw] Vusaged segmentation fault on long names

2009-09-02 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wouter van der Schagt wrote: No, this is in 5.4.28, not running 5.5 at the moment, I can reproduce by creating a long domainname and starting vusaged. Ah. I see this as well. Looking into this. - -- /* Matt Brookings m...@inter7.com

Re: [vchkpw] Re: chkuser random rejects

2009-09-02 Thread Bogdan Motoc - CRC
here it is: (my client's name i replaced with the word domain resulting domain names like domain.com, domain.eu) qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 120. subdirectory split: 23. user ids: 1001, 1002, 1003, 0, 1004,

RE: [vchkpw] Re: chkuser random rejects

2009-09-02 Thread Tren Blackburn
Hmm...looks fine :) However Antonio raises a very good point; permission/ownership on ~vpopmail/domains and subdirectories/files. It looks like your qmail is fine, so time to move on to the next piece, vpopmail. t. From: Bogdan Motoc - CRC [mailto:bogdan.mo...@crcnet.ro] Sent:

Re: [vchkpw] Re: chkuser random rejects

2009-09-02 Thread Bogdan Motoc - CRC
r...@machine:/home# cd /home r...@machine:/home# ls -l total 8 drwx--x--x 2 myuser users 4096 2008-01-24 18:52 myuser drwxr-xr-x 9 vpopmail vchkpw 4096 2007-02-13 15:40 vpopmail r...@machine:/home# cd vpopmail r...@machine:/home/vpopmail# ls -l total 24 drwxr-xr-x 2 vpopmail vchkpw 4096

[vchkpw] Re: chkuser random rejects

2009-09-02 Thread Eric Shubert
Antti Kanes wrote: This information will be helpful to me as we'll be renewing our qmail servers in the near future and will upgrade to a recent version at that point. Antti, be sure to consider using QmailToaster (http://www.qmailtoaster.com) when you upgrade. It's top notch, and might

Re: [vchkpw] Re: chkuser random rejects

2009-09-02 Thread Tonix (Antonio Nati)
Considering the situation, can you delete these domains and add them again using vpopmail commands? After these operation, do problems remain? Tonino Bogdan Motoc - CRC ha scritto: r...@machine:/home# cd /home r...@machine:/home# ls -l total 8 drwx--x--x 2 myuser users 4096 2008-01-24

RE: [vchkpw] Re: chkuser random rejects

2009-09-02 Thread Antti Kanes
Heya, Thanks for the hint. I've been delaying the upgrade of the mail server for the last just because of the nuisance of actually building a working qmail+vpopmail(+mysql)+spamassassin+pop_before_smtp+qmailscan+clamdscan+vqad min etc configuration; the order of building the programs and their

Re: [vchkpw] Re: chkuser random rejects

2009-09-02 Thread Robert Sanderson
Bogdan Motoc - CRC bogdan.mo...@crcnet.ro wrote: ... locals: Messages for domain.com are delivered locally. ... virtualdomains: Virtual domain: domain-design.com:domain-design.com Virtual domain: domain-design.ro:domain-design.ro Virtual domain:

Re: [vchkpw] Re: chkuser random rejects

2009-09-02 Thread Bogdan Motoc - CRC
mmm what is the command to delete an alias domain that was created with vaddaliasdomain ? Tonix (Antonio Nati) wrote: Considering the situation, can you delete these domains and add them again using vpopmail commands? After these operation, do problems remain? Tonino Bogdan Motoc - CRC

RE: [vchkpw] Re: chkuser random rejects

2009-09-02 Thread Tren Blackburn
vdeldomain should do it. From: Bogdan Motoc - CRC [mailto:bogdan.mo...@crcnet.ro] Sent: September-02-09 10:28 AM To: vchkpw@inter7.com Subject: Re: [vchkpw] Re: chkuser random rejects mmm what is the command to delete an alias domain that was created with vaddaliasdomain ? Tonix

Re: [vchkpw] Vusaged segmentation fault on long names

2009-09-02 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wouter van der Schagt wrote: Thank you for the quick reply! Is this in 5.5? What are the steps to reproduce? I added the domain as you did above, and my vusaged binary from trunk is running as expected, returning data for the long domain name.

[vchkpw] Released updated 5.4.28 tarball on SourceForge

2009-09-02 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adds a fix for long domain names - -- /* Matt Brookings m...@inter7.com GnuPG Key FAE0672C Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP

[vchkpw] Re: chkuser random rejects

2009-09-02 Thread Eric Shubert
Migration should be pretty straight forward. The wiki (http://wiki.qmailtoaster.com) contains tips for migrating from various server configurations. QMT implements vpopmail with mysql (soon to have an LDAP option), and is presently at version 5.4.17. That will be your target, so it simply

Re: [vchkpw] Released updated 5.4.28 tarball on SourceForge

2009-09-02 Thread Tom Collins
If it was modified, you should increment the version number. In 3 months, when someone reports a bug, how will we know which 5.4.28 they're running? -Tom On Sep 2, 2009, at 10:56 AM, Matt Brookings m...@inter7.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adds a fix for long

Re: [vchkpw] Released updated 5.4.28 tarball on SourceForge

2009-09-02 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom Collins wrote: If it was modified, you should increment the version number. In 3 months, when someone reports a bug, how will we know which 5.4.28 they're running? Considering it has 0 downloads, I'm not entirely concerned about this

Re: [vchkpw] Re: chkuser random rejects

2009-09-02 Thread Bogdan Motoc - CRC
vdeldomain works i did a vdeldomain domain.eu and it disappeared from rcpthosts, virtualdomains and alias vaddaliasdomain domain.eu puts it back in the 3 files Tren Blackburn wrote: vdeldomain should do it. *From:* Bogdan Motoc - CRC [mailto:bogdan.mo...@crcnet.ro] *Sent:*