[vchkpw] Invalid mailbox handling / bouncing bounce handling

2002-08-30 Thread Jan Knepper

Hi, this has probably been asked several times, but...

It is possible to reject a SMTP connection for a mailbox that does not 
exists?

What is the best way to deal with a bounce than bounced... Happens 
expecially with the vacation solution processing spam... It replies to 
an address that does not exists or is being bounced. The next thing I 
know is I get it in my mailbox being the administrator of the main domain.

Thanks!
Jan



Example:

Hi. This is the qmail-send program at digitaldaemon.com.
I tried to deliver a bounce message to this address, but the bounce bounced!

[EMAIL PROTECTED]:
216.136.129.82 does not like recipient.
Remote host said: 553 VS10-RT Possible forgery or deactivated due to abuse - see 
http://help.yahoo.com/help/us/mail/spam/spam-18.html (#5.1.1)
Giving up on 216.136.129.82.

--- Below this line is the original bounce.

Return-Path: 
Received: (qmail 60172 invoked for bounce); 30 Aug 2002 02:28:07 -
Date: 30 Aug 2002 02:28:07 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at digitaldaemon.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

[EMAIL PROTECTED]:
Sorry, I've been told to reject non-subscriber posts, Contact [EMAIL PROTECTED] if 
you have questions about this (#5.7.2)

--- Below this line is a copy of the message.

Return-Path: [EMAIL PROTECTED]
Received: (qmail 60164 invoked from network); 30 Aug 2002 02:28:06 -
Received: from adsl-63-194-21-125.dsl.lsan03.pacbell.net (HELO 67.40.34.29) 
(63.194.21.125)
  by lgal.org with SMTP; 30 Aug 2002 02:28:06 -
From: Vitamins of Life [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Subject: Save 20%-30% on Vitamins and Herbs 
Date: Thu, 29 Aug 2002 19:40:39 -0700
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=b4724c48-bb7c-11d6-96ff-00c0f04e1634


This is a multi-part message in MIME format






Re: [vchkpw] Invalid mailbox handling / bouncing bounce handling

2002-08-30 Thread Peter Palmreuther

Hello Jan,

On Friday, August 30, 2002 at 8:33:10 AM you wrote:

 It is possible to reject a SMTP connection for a mailbox that does not
 exists?

Using qmail? No. Maybe some day there'll be a patch that can be used
for a limited number of scenarios like this, but AFAIK there's none
yet.

 What is the best way to deal with a bounce than bounced...

REading 'man qmail-control', search for 'doublebouncehost' and
'doublebounceto' and if you get too much double-bounces and are not
interested in reading them setting up a 'blackhole alias' for
double-bounces.

E.g.

 $ echo '#' ~alias/.qmail-dblbounce
 $ echo 'dblbounce' /var/qmail/control/doublebounceto
 $ killall -HUP qmail-send

-- 
Best regards
Peter Palmreuthermailto:[EMAIL PROTECTED]




[vchkpw] vchkpw: vpopmail user not found

2002-08-30 Thread Alan Murrell

Hi!

I posted this earlier to the bulletin board archive,
but I wasn't subscribed to the list at the time.  I
don't know if it went out to the list, or just got
added to the archives, so I am posting directly to the
list, just in case.

I installed the latest Qmail, Vpopmail (stable, not
development), and Courier-IMAP (yes, I have
AUTHDAEMONS=vchkpw), daemontools, and ucspi-tcp,
following the instructions in Bill's Qmail Toaster
Guide.

I then created a virtual domain using vadddomain (for
this example, I will use virtualdomain1.com as the
domain). I then added '[EMAIL PROTECTED]',
and got prompted to create a password, which I did.

I sent a test email from my Yahoo! account, and it got
to the mailbox just fine. However, when I attempt to
retrieve the email using any mail client, I keep
getting prompted for the username/password. The
/var/log/maillog says:

vchkpw: vpopmail user not found
[EMAIL PROTECTED]:IP ADDRESS

I tried deleting then re-adding the domain, however,
it does not seem to work. It seems that I am only able
to either get login working correctly, or mail sent to
the mailbox correctly, but not both together (I was
having the problem before where loging in as the user
was working, but mail was being bounced back saying
user not know, even though the user *did* exist)

Because 'virtualdomain1.com' is not the default
domain, I was using '[EMAIL PROTECTED]' as
the username.

The odd thing is that I can only either:

  1. Be able to authenticate as a virtual user, but
mail sent to the user bounces back as user unknown
(I have since learned that this is the case if
Courier0IMAP is running the POP3 service); or
  2. Mail sent to a virtual user reached the mailbox,
but I am unable to authenticat (this seems to occur
when vpopmail is handling the POP3, instead of
Courier-IMAP)

I even tried using the Sqwebmail interface, since it
reads the users' mailboxes directly, as opposed to
acting as a POP/IMAP client, but I was still unable to
authenticate (I did not try it with Courier-IMAP
handling the POP service, however).

Your help greatly appreciated,


=
--
Alan Murrell [EMAIL PROTECTED]

__ 
Post your free ad now! http://personals.yahoo.ca



[vchkpw] VPopMail and Oracle on Linux

2002-08-30 Thread Duncan Hughes

Hi Folks,

I've had a bit of hassle recently trying to compile VPopMail 5.2.1/5.3.8 with 
the Oracle authentication module.  Having had a bit of a poke about the 
archives for this mailing list I see that a few other people have had the 
same problems and no one has posted a solution yet.

First I want to give a little background so that if anyone wants to pick up 
where I've left off it will be a little easier.
VPopMail uses a number of different authentication modules.  Which one you're 
going to use is defined when you run ./configure and the chosen file is 
symlinked to auth.c (auth.h remains unchanged).  In the case of the Oracle 
module the authentication file is voracle.c which has been produced by 
running Pro*C (oracle's precompiler) on voracle.pc.

Also, during ./configure, the file config.h is produced.  This contains 
various #define statements depending on which arguments you have passed to 
configure.  Many of these #defines are used by the c preprocessor to chose 
which particular parts of the program(s) are to be compiled.  Therefore the 
arguments passed to ./configure are very important.

OK, on to the build.
Make sure that Oracle's precompiler (proc) is installed and working.  You 
have no chance of building vpopmail with oracle support without proc.  Test 
it out on it's demo files.

Unpack the archive with 
gunzip  vpopmail-5.2.1.tar.gz | tar xvf -
and 
cd vpopmail-5.2.1

You need to make 2 changes to voracle.pc so open it up in an editor and make 
the following changes:

voracle.pc line 630, change MYSQL_DEFAULT_TABLE to ORACLE_DEFAULT_TABLE
voracle.pc line 334, change memset(pwent, 0, sizeof(pwent)); to  
memset(pwent, 0, sizeof(pwent));

save voracle.pc and run it through the oracle precompiler
proc voracle.pc

this will produce the voracle.c file.

Now you need to run configure.  remember that the arguments passed to 
configure are extrememly important and you may need to experiment a little.  
The arguments that have worked for me are :-

./configure --enable-oracle=y 
--enable-incdir=/opt/oracle/product/817/precomp/public 
--enable-libdir=/opt/oracle/product/817/lib --enable-auth-logging=n 
--enable-mysql=n --enable-many-domains=y --enable-file-locking=y 
--enable-clear-passwd=n

You will have to adjust the path details for the include directory and 
library directory to suit your system and there may be a little scope for 
experimentation with the other options, but be careful.  As I mentioned 
above; many of the options set precompiler directives which determine exactly 
which bits of code are/are not compiled.  Many of the errors I was getting 
and many of the errors listed on this list are due to the compiler trying to 
build incorrect pieces of code.

Finally you need to add a #define macro to config.h so open it with an editor 
and go to the end and add the following line:

#define SITE_SIZE 1000

I've just picked 1000 as an arbitary value.  You will probably want to 
experiment with this and find something suitable for your needs.

OK, we're done.  type

make

and it should compile.  Hope this works out for you and many thanks to Ken for 
helping me out.

regards, dunch.



Re: [vchkpw] Invalid mailbox handling / bouncing bounce handling

2002-08-30 Thread tonix (Antonio Nati)

At 30/08/2002 30/08/2002 -0400, Jan Knepper wrote:
Hi, this has probably been asked several times, but...

It is possible to reject a SMTP connection for a mailbox that does not exists?

Yes, the patch is at www.interazioni.it/qmail, specifically made for vpopmail.

This patch rejects SMTP connections for not existing local mailboxes.


What is the best way to deal with a bounce than bounced... Happens 
expecially with the vacation solution processing spam... It replies to an 
address that does not exists or is being bounced. The next thing I know is 
I get it in my mailbox being the administrator of the main domain.

But in the examples provided the problem is different. The local mailbox 
exists, it is the sender mailbox that does not exist.

Qmail accepts the message (and the patch would let the message flow, 
because the mailing list exists), then the mailing list (or the 
auto-responder) replies to a not existing user.

Here starts a completely different problem, related only to bouncing, and 
not to rejecting not existing local users.

Tonino


Thanks!
Jan



Example:

Hi. This is the qmail-send program at digitaldaemon.com.
I tried to deliver a bounce message to this address, but the bounce bounced!

[EMAIL PROTECTED]:
216.136.129.82 does not like recipient.
Remote host said: 553 VS10-RT Possible forgery or deactivated due to abuse 
- see http://help.yahoo.com/help/us/mail/spam/spam-18.html (#5.1.1)
Giving up on 216.136.129.82.

--- Below this line is the original bounce.

Return-Path: 
Received: (qmail 60172 invoked for bounce); 30 Aug 2002 02:28:07 -
Date: 30 Aug 2002 02:28:07 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at digitaldaemon.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

[EMAIL PROTECTED]:
Sorry, I've been told to reject non-subscriber posts, Contact 
[EMAIL PROTECTED] if you have questions about this (#5.7.2)

--- Below this line is a copy of the message.

Return-Path: [EMAIL PROTECTED]
Received: (qmail 60164 invoked from network); 30 Aug 2002 02:28:06 -
Received: from adsl-63-194-21-125.dsl.lsan03.pacbell.net (HELO 
67.40.34.29) (63.194.21.125)
  by lgal.org with SMTP; 30 Aug 2002 02:28:06 -
From: Vitamins of Life [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Subject: Save 20%-30% on Vitamins and Herbs Date: Thu, 29 Aug 2002 
19:40:39 -0700
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=b4724c48-bb7c-11d6-96ff-00c0f04e1634


This is a multi-part message in MIME format





 Inter@zioniInterazioni di Antonio Nati
http://www.interazioni.it  [EMAIL PROTECTED]





RE: [vchkpw] vchkpw: vpopmail user not found

2002-08-30 Thread Clayton Weise

How did you configure vpopmail?  Paste in your ./configure options.

-Clayton

-Original Message-
From: Alan Murrell [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 30, 2002 12:11 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] vchkpw: vpopmail user not found


Hi!

I posted this earlier to the bulletin board archive,
but I wasn't subscribed to the list at the time.  I
don't know if it went out to the list, or just got
added to the archives, so I am posting directly to the
list, just in case.

I installed the latest Qmail, Vpopmail (stable, not
development), and Courier-IMAP (yes, I have
AUTHDAEMONS=vchkpw), daemontools, and ucspi-tcp,
following the instructions in Bill's Qmail Toaster
Guide.

I then created a virtual domain using vadddomain (for
this example, I will use virtualdomain1.com as the
domain). I then added '[EMAIL PROTECTED]',
and got prompted to create a password, which I did.

I sent a test email from my Yahoo! account, and it got
to the mailbox just fine. However, when I attempt to
retrieve the email using any mail client, I keep
getting prompted for the username/password. The
/var/log/maillog says:

vchkpw: vpopmail user not found
[EMAIL PROTECTED]:IP ADDRESS

I tried deleting then re-adding the domain, however,
it does not seem to work. It seems that I am only able
to either get login working correctly, or mail sent to
the mailbox correctly, but not both together (I was
having the problem before where loging in as the user
was working, but mail was being bounced back saying
user not know, even though the user *did* exist)

Because 'virtualdomain1.com' is not the default
domain, I was using '[EMAIL PROTECTED]' as
the username.

The odd thing is that I can only either:

  1. Be able to authenticate as a virtual user, but
mail sent to the user bounces back as user unknown
(I have since learned that this is the case if
Courier0IMAP is running the POP3 service); or
  2. Mail sent to a virtual user reached the mailbox,
but I am unable to authenticat (this seems to occur
when vpopmail is handling the POP3, instead of
Courier-IMAP)

I even tried using the Sqwebmail interface, since it
reads the users' mailboxes directly, as opposed to
acting as a POP/IMAP client, but I was still unable to
authenticate (I did not try it with Courier-IMAP
handling the POP service, however).

Your help greatly appreciated,


=
--
Alan Murrell [EMAIL PROTECTED]

__ 
Post your free ad now! http://personals.yahoo.ca




[vchkpw] Alias

2002-08-30 Thread Breno Cardoso Perucchi

HI,

I want to create a alias to my user. Which is the process to create
user1 to [EMAIL PROTECTED]

Which is file that I change to do this ?

Need these options on to create alias ? This option this coming on per
default ?

  --enable-valias=y (Turn on vpopmail alias processing)  

Thanks

[EMAIL PROTECTED]
Breno





RE: [vchkpw] Alias

2002-08-30 Thread Clayton Weise

echo [EMAIL PROTECTED] 
/path/to/vpopmail/domains/mydomain.com/.qmail-user1
chown vpopmail:vchkpw /path/to/vpopmail/domains/mydomain.com/.qmail-user1

or

echo /path/to/vpopmail/domains/mydomain.com/user2/Maildir 
/path/to/vpopmail/domains/mydomain.com/.qmail-user1
chown vpopmail:vchkpw /path/to/vpopmail/domains/mydomain.com/.qmail-user1

Basically.. create the .qmail-aliasname file and tell it where to deliver
the email.

-Clayton

-Original Message-
From: Breno Cardoso Perucchi [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 30, 2002 3:34 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Alias


HI,

I want to create a alias to my user. Which is the process to create
user1 to [EMAIL PROTECTED]

Which is file that I change to do this ?

Need these options on to create alias ? This option this coming on per
default ?

  --enable-valias=y (Turn on vpopmail alias processing)  

Thanks

[EMAIL PROTECTED]
Breno






[vchkpw] tcpserver mysql patch

2002-08-30 Thread Paul Fries

Please forgive me if this is the wrong forum for this question.

It seems that even after applying Matt Simerson's tcpserver-mysql patch,
the tcp.smtp.cdb file is still being rehashed on every pop
authentication.

I am getting data in the relay table properly, and my
/var/qmail/control/sql file is correct. Also, my qmail-smtpd/run file
includes the -S flag to tcpserver.

Does anyone know what I am missing here?

Thanks!

Regards,
Paul Fries
[EMAIL PROTECTED]




Re: [vchkpw] Alias

2002-08-30 Thread Breno Cardoso Perucchi

Thanks for your help.

But I don't understand than I go put in the file .qmail-aliasname ?
echo [EMAIL PROTECTED] /path/to/domain/.qmail-user1 ?

Exist a document that explain how to create alias in the qmail with vpopmail
?

- Original Message -
From: Clayton Weise [EMAIL PROTECTED]
To: Breno Cardoso Perucchi [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Friday, August 30, 2002 7:55 PM
Subject: RE: [vchkpw] Alias


 echo [EMAIL PROTECTED] 
 /path/to/vpopmail/domains/mydomain.com/.qmail-user1
 chown vpopmail:vchkpw /path/to/vpopmail/domains/mydomain.com/.qmail-user1

 or

 echo /path/to/vpopmail/domains/mydomain.com/user2/Maildir 
 /path/to/vpopmail/domains/mydomain.com/.qmail-user1
 chown vpopmail:vchkpw /path/to/vpopmail/domains/mydomain.com/.qmail-user1

 Basically.. create the .qmail-aliasname file and tell it where to deliver
 the email.

 -Clayton

 -Original Message-
 From: Breno Cardoso Perucchi [mailto:[EMAIL PROTECTED]]
 Sent: Friday, August 30, 2002 3:34 PM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] Alias


 HI,

 I want to create a alias to my user. Which is the process to create
 user1 to [EMAIL PROTECTED]

 Which is file that I change to do this ?

 Need these options on to create alias ? This option this coming on per
 default ?

   --enable-valias=y (Turn on vpopmail alias processing)  

 Thanks

 [EMAIL PROTECTED]
 Breno