Re: [vchkpw] chkuser vpopmail and catch alls

2005-09-14 Thread Jimmy

  * Uncomment the following define if you want chkuser ALWAYS enabled.
  * If uncommented, it will check for rcpt existance despite any
 .qmail-default
  * setting.
  * So, unsomments this if you are aware that ALL rcpt in all domains
 will be
  * ALWAYS checked.
  */
 #define CHKUSER_ALWAYS_ON
 
 
 
 This setting makes chkuser works aways, without checking bouncing or
 catchall within .qmail-default.
 
 Comment it, and be sure bouncing is enabled everywhere except the
 catchall domain..
 
 
 /*
  * Uncomment the following line if you want chkuser to work depending on
 a VARIABLE setting
  * VALUE HERE DEFINED is the name of the variable
  * Values admitted inside the variable: NONE | ALWAYS | DOMAIN
  *  NONE= chkuser will not work
  *  ALWAYS  = chkuser will work always
  *  DOMAIN  = chkuser will work depending by single domain
 settings
  * if CHKUSER_ALWAYS_ON is defined, this define is useless
  * if CHKUSER_STARTING_VARIABLE is defined, and no variable or no value
 is set, then chkuser is disabled
  */
 #define CHKUSER_STARTING_VARIABLE ALWAYS */
 
 
 As you comment out the previous define, be careful to comment/use this
 one in the right way.
 
 If you comment it, be sure bouncing is enabled for each needed domain.
 
 If you don't comment it, change it to
 #define CHKUSER_STARTING_VARIABLE CHKUSER_START
 
 and set a variable called CHKUSER_START = DOMAIN. Then set up bouncing
 for each needed domain.
How do i enable it for all domains but one. And where do I do that in
the .qmail-default file?



 
 Tonino
 
 
 Jimmy
 
 
 
 
 


Re: [vchkpw] chkuser vpopmail and catch alls

2005-09-14 Thread tonix (Antonio Nati)

At 08.26 14/09/2005, you wrote:


  * Uncomment the following define if you want chkuser ALWAYS enabled.
  * If uncommented, it will check for rcpt existance despite any
 .qmail-default
  * setting.
  * So, unsomments this if you are aware that ALL rcpt in all domains
 will be
  * ALWAYS checked.
  */
 #define CHKUSER_ALWAYS_ON



 This setting makes chkuser works aways, without checking bouncing or
 catchall within .qmail-default.

 Comment it, and be sure bouncing is enabled everywhere except the
 catchall domain..


 /*
  * Uncomment the following line if you want chkuser to work depending on
 a VARIABLE setting
  * VALUE HERE DEFINED is the name of the variable
  * Values admitted inside the variable: NONE | ALWAYS | DOMAIN
  *  NONE= chkuser will not work
  *  ALWAYS  = chkuser will work always
  *  DOMAIN  = chkuser will work depending by single domain
 settings
  * if CHKUSER_ALWAYS_ON is defined, this define is useless
  * if CHKUSER_STARTING_VARIABLE is defined, and no variable or no value
 is set, then chkuser is disabled
  */
 #define CHKUSER_STARTING_VARIABLE ALWAYS */


 As you comment out the previous define, be careful to comment/use this
 one in the right way.

 If you comment it, be sure bouncing is enabled for each needed domain.

 If you don't comment it, change it to
 #define CHKUSER_STARTING_VARIABLE CHKUSER_START

 and set a variable called CHKUSER_START = DOMAIN. Then set up bouncing
 for each needed domain.
How do i enable it for all domains but one. And where do I do that in
the .qmail-default file?


You must enable it on per domain base, which means to follow the 
previous instructions, and then, using qmailadmin, set to bouncing 
all domains which must bounce message to invalid recipients (and 
catchall the domain you want catchall).


If you don't use qmail-admin, .qmail-default should be:

| /vpopmail/bin/vdelivermail '' bounce-no-mailbox

Tonino





 Tonino


 Jimmy










Re: [vchkpw] chkuser vpopmail and catch alls

2005-09-14 Thread Jimmy
Hello,

tonix (Antonio Nati) wrote:
 At 08.26 14/09/2005, you wrote:
 
   * Uncomment the following define if you want chkuser ALWAYS enabled.
   * If uncommented, it will check for rcpt existance despite any
  .qmail-default
   * setting.
   * So, unsomments this if you are aware that ALL rcpt in all domains
  will be
   * ALWAYS checked.
   */
  #define CHKUSER_ALWAYS_ON
 
 
 
  This setting makes chkuser works aways, without checking bouncing or
  catchall within .qmail-default.
 
  Comment it, and be sure bouncing is enabled everywhere except the
  catchall domain..
 
 
  /*
   * Uncomment the following line if you want chkuser to work
 depending on
  a VARIABLE setting
   * VALUE HERE DEFINED is the name of the variable
   * Values admitted inside the variable: NONE | ALWAYS | DOMAIN
   *  NONE= chkuser will not work
   *  ALWAYS  = chkuser will work always
   *  DOMAIN  = chkuser will work depending by single domain
  settings
   * if CHKUSER_ALWAYS_ON is defined, this define is useless
   * if CHKUSER_STARTING_VARIABLE is defined, and no variable or no
 value
  is set, then chkuser is disabled
   */
  #define CHKUSER_STARTING_VARIABLE ALWAYS */
 
 
  As you comment out the previous define, be careful to comment/use this
  one in the right way.
 
  If you comment it, be sure bouncing is enabled for each needed domain.
 
  If you don't comment it, change it to
  #define CHKUSER_STARTING_VARIABLE CHKUSER_START
 
  and set a variable called CHKUSER_START = DOMAIN. Then set up
 bouncing
  for each needed domain.
 How do i enable it for all domains but one. And where do I do that in
 the .qmail-default file?
 
 
 You must enable it on per domain base, which means to follow the
 previous instructions, and then, using qmailadmin, set to bouncing all
 domains which must bounce message to invalid recipients (and catchall
 the domain you want catchall).
 
 If you don't use qmail-admin, .qmail-default should be:
 
 | /vpopmail/bin/vdelivermail '' bounce-no-mailbox

I have done that. The catch all now works for that domain name. However
all of the other domain names now accept all email even for users that
dont exist. Then once its been accepted it will then attempt to reject
the email. However the vast majority of spam originates from bogus from
addresses resulting in heaps of double bounces.

Is there any way around that. I think i will have to make sure that the
customer stops using catch all accounts.

 
 Tonino
 
 
 
 
  Tonino
 
 
  Jimmy
 
 
 
 
 
 
 
 
 
 


Re: [vchkpw] chkuser vpopmail and catch alls

2005-09-14 Thread tonix (Antonio Nati)

At 10.58 14/09/2005, you wrote:

Hello,

tonix (Antonio Nati) wrote:
 At 08.26 14/09/2005, you wrote:

   * Uncomment the following define if you want chkuser ALWAYS enabled.
   * If uncommented, it will check for rcpt existance despite any
  .qmail-default
   * setting.
   * So, unsomments this if you are aware that ALL rcpt in all domains
  will be
   * ALWAYS checked.
   */
  #define CHKUSER_ALWAYS_ON
 
 
 
  This setting makes chkuser works aways, without checking bouncing or
  catchall within .qmail-default.
 
  Comment it, and be sure bouncing is enabled everywhere except the
  catchall domain..
 
 
  /*
   * Uncomment the following line if you want chkuser to work
 depending on
  a VARIABLE setting
   * VALUE HERE DEFINED is the name of the variable
   * Values admitted inside the variable: NONE | ALWAYS | DOMAIN
   *  NONE= chkuser will not work
   *  ALWAYS  = chkuser will work always
   *  DOMAIN  = chkuser will work depending by single domain
  settings
   * if CHKUSER_ALWAYS_ON is defined, this define is useless
   * if CHKUSER_STARTING_VARIABLE is defined, and no variable or no
 value
  is set, then chkuser is disabled
   */
  #define CHKUSER_STARTING_VARIABLE ALWAYS */
 
 
  As you comment out the previous define, be careful to comment/use this
  one in the right way.
 
  If you comment it, be sure bouncing is enabled for each needed domain.
 
  If you don't comment it, change it to
  #define CHKUSER_STARTING_VARIABLE CHKUSER_START
 
  and set a variable called CHKUSER_START = DOMAIN. Then set up
 bouncing
  for each needed domain.
 How do i enable it for all domains but one. And where do I do that in
 the .qmail-default file?


 You must enable it on per domain base, which means to follow the
 previous instructions, and then, using qmailadmin, set to bouncing all
 domains which must bounce message to invalid recipients (and catchall
 the domain you want catchall).

 If you don't use qmail-admin, .qmail-default should be:

 | /vpopmail/bin/vdelivermail '' bounce-no-mailbox




I have done that. The catch all now works for that domain name. However
all of the other domain names now accept all email even for users that
dont exist. Then once its been accepted it will then attempt to reject
the email. However the vast majority of spam originates from bogus from
addresses resulting in heaps of double bounces.

Is there any way around that. I think i will have to make sure that the
customer stops using catch all accounts.


Did you set all others domains as bouncing?

Check .qmail-default this file is readable by vpopmail, and/or if 
you're using an alternative delivery (like maildrop). In such a case 
you have to add a first commented line to .qmail-default, with a 
bounce-no-mailbox string inside.


Check also starting instructions. If you defined a CHKUSER_START 
variable and you did not fill it in the proper way, chkuser will 
accept any e-mail.


Tonino



 Tonino



 
  Tonino
 
 
  Jimmy
 
 
 
 
 










Re: [vchkpw] chkuser vpopmail and catch alls

2005-09-13 Thread Jimmy
Hello,

Ken Jones wrote:
 Jimmy wrote:
 
 Hello,

 I have several servers installed with vpopmail, chkuser and the
 shupp.org toaster patches. Until now I have never had to setup a catch
 all account for a customer. I have today had to setup a catch all and i
 am unable to send emails to that domain. I am authenticating from a
 MySQL databaes and the .qmail files are all ok.

 Is there a way to make it so that all email accounts are ok in the
 valias table of the MySQL or in the vpopmail table?

 I am interested to know how to overcome this issue.
 
 
 What does your .qmail-default file look like after you
 setup the catchall?
 
 It should look something like (all on one line)
 | /home/vpopmail/bin/vdelivermail ''
 /home/vpopmail/domains/example.com/user
Here is my .qmail-default file.

cat .qmail-default
| /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/domain.com/admin

 
 Ken Jones
 
 
 


Re: [vchkpw] chkuser vpopmail and catch alls

2005-09-13 Thread Kurt Bigler
on 9/13/05 12:51 AM, Jimmy [EMAIL PROTECTED] wrote:

 Hello,
 
 Ken Jones wrote:
 Jimmy wrote:
 
 Hello,
 
 I have several servers installed with vpopmail, chkuser and the
 shupp.org toaster patches. Until now I have never had to setup a catch
 all account for a customer. I have today had to setup a catch all and i
 am unable to send emails to that domain. I am authenticating from a
 MySQL databaes and the .qmail files are all ok.
 
 Is there a way to make it so that all email accounts are ok in the
 valias table of the MySQL or in the vpopmail table?
 
 I am interested to know how to overcome this issue.
 
 
 What does your .qmail-default file look like after you
 setup the catchall?
 
 It should look something like (all on one line)
 | /home/vpopmail/bin/vdelivermail ''
 /home/vpopmail/domains/example.com/user
 Here is my .qmail-default file.
 
 cat .qmail-default
 | /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/domain.com/admin

What do you mean by unable to send emails to that domain?  You get bounce
messages?  Or messages just disappear?  Or the messages are not there when
you try to pop them?

-Kurt Bigler



Re: [vchkpw] chkuser vpopmail and catch alls

2005-09-13 Thread Jimmy
 
Hello,

Ken Jones wrote:

Jimmy wrote:


Hello,

I have several servers installed with vpopmail, chkuser and the
shupp.org toaster patches. Until now I have never had to setup a catch
all account for a customer. I have today had to setup a catch all and i
am unable to send emails to that domain. I am authenticating from a
MySQL databaes and the .qmail files are all ok.

Is there a way to make it so that all email accounts are ok in the
valias table of the MySQL or in the vpopmail table?

I am interested to know how to overcome this issue.


What does your .qmail-default file look like after you
setup the catchall?

It should look something like (all on one line)
| /home/vpopmail/bin/vdelivermail ''
/home/vpopmail/domains/example.com/user

Here is my .qmail-default file.

cat .qmail-default
| /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/domain.com/admin
 
 
 What do you mean by unable to send emails to that domain?  You get bounce
 messages?  Or messages just disappear?  Or the messages are not there when
 you try to pop them?

I get an error message that reports the mailbox does not exist. If I
turn off the other error messages i get a chkuser error. Which means I
suspect it cannot find the users.

 
 -Kurt Bigler
 
 
 


Re: [vchkpw] chkuser vpopmail and catch alls

2005-09-13 Thread Bob Hutchinson
On Tuesday 13 Sep 2005 09:50, Jimmy wrote:
 Hello,
 
 Ken Jones wrote:
 Jimmy wrote:
 Hello,
 
 I have several servers installed with vpopmail, chkuser and the
 shupp.org toaster patches. Until now I have never had to setup a catch
 all account for a customer. I have today had to setup a catch all and i
 am unable to send emails to that domain. I am authenticating from a
 MySQL databaes and the .qmail files are all ok.
 
 Is there a way to make it so that all email accounts are ok in the
 valias table of the MySQL or in the vpopmail table?
 
 I am interested to know how to overcome this issue.
 
 What does your .qmail-default file look like after you
 setup the catchall?
 
 It should look something like (all on one line)
 
 | /home/vpopmail/bin/vdelivermail ''
 
 /home/vpopmail/domains/example.com/user
 
 Here is my .qmail-default file.
 
 cat .qmail-default
 
 | /home/vpopmail/bin/vdelivermail ''
 | /home/vpopmail/domains/domain.com/admin
 
  What do you mean by unable to send emails to that domain?  You get
  bounce messages?  Or messages just disappear?  Or the messages are not
  there when you try to pop them?

 I get an error message that reports the mailbox does not exist. If I
 turn off the other error messages i get a chkuser error. Which means I
 suspect it cannot find the users.

send us the output of
ls -al /home/vpopmail/domains/domain.com
and
/home/vpopmail/domains/domain.com/admin

sounds like a perms/ownership problem


  -Kurt Bigler

-- 
-
Bob Hutchinson
Midwales dot com
-


Re: [vchkpw] chkuser vpopmail and catch alls

2005-09-13 Thread tonix (Antonio Nati)

At 09.50 13/09/2005, you wrote:


Hello,

Ken Jones wrote:

Jimmy wrote:


Hello,

I have several servers installed with vpopmail, chkuser and the
shupp.org toaster patches. Until now I have never had to setup a catch
all account for a customer. I have today had to setup a catch all and i
am unable to send emails to that domain. I am authenticating from a
MySQL databaes and the .qmail files are all ok.

Is there a way to make it so that all email accounts are ok in the
valias table of the MySQL or in the vpopmail table?

I am interested to know how to overcome this issue.


What does your .qmail-default file look like after you
setup the catchall?

It should look something like (all on one line)
| /home/vpopmail/bin/vdelivermail ''
/home/vpopmail/domains/example.com/user

Here is my .qmail-default file.

cat .qmail-default
| /home/vpopmail/bin/vdelivermail '' 
/home/vpopmail/domains/domain.com/admin



 What do you mean by unable to send emails to that domain?  You get bounce
 messages?  Or messages just disappear?  Or the messages are not there when
 you try to pop them?

I get an error message that reports the mailbox does not exist. If I
turn off the other error messages i get a chkuser error. Which means I
suspect it cannot find the users.


If this happens only with this domain (i.e. other are working 
normally) I suspect you have chkuser ALWAYS enabled, despite of 
domain settings.


Tonino



 -Kurt Bigler








Re: [vchkpw] chkuser vpopmail and catch alls

2005-09-13 Thread Jimmy
Hello,


tonix (Antonio Nati) wrote:
 At 09.50 13/09/2005, you wrote:
 
 
 Hello,
 
 Ken Jones wrote:
 
 Jimmy wrote:
 
 
 Hello,
 
 I have several servers installed with vpopmail, chkuser and the
 shupp.org toaster patches. Until now I have never had to setup a
 catch
 all account for a customer. I have today had to setup a catch all
 and i
 am unable to send emails to that domain. I am authenticating from a
 MySQL databaes and the .qmail files are all ok.
 
 Is there a way to make it so that all email accounts are ok in the
 valias table of the MySQL or in the vpopmail table?
 
 I am interested to know how to overcome this issue.
 
 
 What does your .qmail-default file look like after you
 setup the catchall?
 
 It should look something like (all on one line)
 | /home/vpopmail/bin/vdelivermail ''
 /home/vpopmail/domains/example.com/user
 
 Here is my .qmail-default file.
 
 cat .qmail-default
 | /home/vpopmail/bin/vdelivermail ''
 /home/vpopmail/domains/domain.com/admin
 
 
  What do you mean by unable to send emails to that domain?  You get
 bounce
  messages?  Or messages just disappear?  Or the messages are not
 there when
  you try to pop them?

 I get an error message that reports the mailbox does not exist. If I
 turn off the other error messages i get a chkuser error. Which means I
 suspect it cannot find the users.
 
 
 If this happens only with this domain (i.e. other are working normally)
 I suspect you have chkuser ALWAYS enabled, despite of domain settings.


Here is my chkuser_settings file :

==SNIP==

/*
 *
 * 'chkuser_settings.h' v.2.0.8
 * for qmail/netqmail  1.0.3 and vpopmail  5.3.x
 *
 * Author: Antonio Nati [EMAIL PROTECTED]
 * All rights on this software and
 * the identifying words chkusr and chkuser kept by the author
 *
 * This software may be freely used, modified and distributed,
 * but this lines must be kept in every original or derived version.
 * Original author Antonio Nati and the web URL
 * http://www.interazioni.it/opensource;
 * must be indicated in every related work or web page
 *
 */

/*
 * the following line enables debugging of chkuser
 */
/* #define CHKUSER_DEBUG */

/*
 * The following line moves DEBUG output from STDOUT (default) to STDERR
 * Example of usage within sh: ./qmail-smtpd 2 /var/log/smtpd-debug.log
 */
/* #define CHKUSER_DEBUG_STDERR */

/*
 * Uncomment the following define if you want chkuser ALWAYS enabled.
 * If uncommented, it will check for rcpt existance despite any
.qmail-default
 * setting.
 * So, unsomments this if you are aware that ALL rcpt in all domains will be
 * ALWAYS checked.
 */
#define CHKUSER_ALWAYS_ON

/*
 * The following defines which virtual manager is used.
 * Up to know, only vpopmail, but versions with pure qmail are in the mind.
 */
#define CHKUSER_VPOPMAIL

/*
 * Uncomment the following line if you want chkuser to work depending on
a VARIABLE setting
 * VALUE HERE DEFINED is the name of the variable
 * Values admitted inside the variable: NONE | ALWAYS | DOMAIN
 *  NONE= chkuser will not work
 *  ALWAYS  = chkuser will work always
 *  DOMAIN  = chkuser will work depending by single domain
settings
 * if CHKUSER_ALWAYS_ON is defined, this define is useless
 * if CHKUSER_STARTING_VARIABLE is defined, and no variable or no value
is set, then chkuser is disabled
 */
#define CHKUSER_STARTING_VARIABLE ALWAYS */

/*
 * Uncomment this to enable uid/gid changing
 * (switching UID/GID is NOT compatible with TLS; you may keep this
commented if you have TLS)
 */
/* #define CHKUSER_ENABLE_UIDGID */

/*
 * Uncomment this to check if a domain is ALWAYS specified in rcpt addresses
 */
#define CHKUSER_DOMAIN_WANTED

/*
 * Uncomment this to check for vpopmail users
 */
#define CHKUSER_ENABLE_USERS

/*
 * Uncomment this to check for alias
 */
#define CHKUSER_ENABLE_ALIAS

/*
 * The following #define set the character used for lists extensions
 * be careful: this is a  single char '-' definition, not a string
 */
#define CHKUSER_EZMLM_DASH '-'

/*
 * Uncomment this to set an alternative way to check for bouncing enabling;
 * with this option enabled, the file here defined
 * will be searched, inside the domain dir, in order to check if
bouncing is enabled
 * The content of this file is not important, just it's existence is enough
 */
/* #define CHKUSER_SPECIFIC_BOUNCING .qmailchkuser-bouncing */

/*
 * This is the string to look for inside .qmail-default
 * Be careful, chkuser looks within the first 1023 characters of
.qmail-default for
 * this string (despite the line containing the string is working or
commented).
 */
#define CHKUSER_BOUNCE_STRING bounce-no-mailbox

/*
 * This is to enable auth open checking
 * it is useful to avoid bouncing if MySQL/LDAP/PostGRES/etc are down or
not reachable
 */
/* #define CHKUSER_ENABLE_VAUTH_OPEN */

/*
 * Uncomment to enable logging of rejected recipients and variuos limits
reached
 */
#define CHKUSER_ENABLE_LOGGING

/*
 * Uncomment to enable logging of good 

Re: [vchkpw] chkuser vpopmail and catch alls

2005-09-13 Thread tonix (Antonio Nati)


See following comments.

At 12.53 13/09/2005, you wrote:


Here is my chkuser_settings file :

==SNIP==

/*
 *
/*
 * Uncomment the following define if you want chkuser ALWAYS enabled.
 * If uncommented, it will check for rcpt existance despite any
.qmail-default
 * setting.
 * So, unsomments this if you are aware that ALL rcpt in all domains will be
 * ALWAYS checked.
 */
#define CHKUSER_ALWAYS_ON



This setting makes chkuser works aways, without checking bouncing or 
catchall within .qmail-default.


Comment it, and be sure bouncing is enabled everywhere except the 
catchall domain..




/*
 * Uncomment the following line if you want chkuser to work depending on
a VARIABLE setting
 * VALUE HERE DEFINED is the name of the variable
 * Values admitted inside the variable: NONE | ALWAYS | DOMAIN
 *  NONE= chkuser will not work
 *  ALWAYS  = chkuser will work always
 *  DOMAIN  = chkuser will work depending by single domain
settings
 * if CHKUSER_ALWAYS_ON is defined, this define is useless
 * if CHKUSER_STARTING_VARIABLE is defined, and no variable or no value
is set, then chkuser is disabled
 */
#define CHKUSER_STARTING_VARIABLE ALWAYS */


As you comment out the previous define, be careful to comment/use 
this one in the right way.


If you comment it, be sure bouncing is enabled for each needed domain.

If you don't comment it, change it to
#define CHKUSER_STARTING_VARIABLE CHKUSER_START

and set a variable called CHKUSER_START = DOMAIN. Then set up 
bouncing for each needed domain.


Tonino



Jimmy





Re: [vchkpw] chkuser vpopmail and catch alls

2005-09-12 Thread Ken Jones

Jimmy wrote:

Hello,

I have several servers installed with vpopmail, chkuser and the
shupp.org toaster patches. Until now I have never had to setup a catch
all account for a customer. I have today had to setup a catch all and i
am unable to send emails to that domain. I am authenticating from a
MySQL databaes and the .qmail files are all ok.

Is there a way to make it so that all email accounts are ok in the
valias table of the MySQL or in the vpopmail table?

I am interested to know how to overcome this issue.


What does your .qmail-default file look like after you
setup the catchall?

It should look something like (all on one line)
| /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/example.com/user

Ken Jones