Re: [vchkpw] Bounce Mails Problem [solved]

2004-08-04 Thread Tom Collins
On Aug 3, 2004, at 11:54 PM, knom wrote:
So..
After all..
I found the problem..
I changed the qmail-queue program for the use with spamassassin to a 
bash script calling spamc and afterwards the original queue.
I saw the method at 
http://sylvestre.ledru.info/howto/howto_qmail_spamassassin.php
 
How do you guys start spamassassin ?
via qmail-scanner.. or are there any other ways ?
Take a look at qmail-spamc from the SpamAssassin distribution.  You 
might want to check out my modified version:

http://tomlogic.com/qmail/qmail-spamc.c
Here are my notes on what's different:
/* modified version of qmail-spamc.c from SpamAssassin 2.60
 * changes made by Tom Collins <[EMAIL PROTECTED]> - version 2004-06-25
 *
 * Uses hard-coded paths to avoid problems with incorrect PATH 
environment.
 * Doesn't scan mail if RELAYCLIENT is set (indicates local, trusted 
user).
 * Adds more error reporting to aid in diagnosing configuration 
problems.
 * Allows for alternate path for qmail-queue (useful when using in
 *   conjunction with qscanq for ClamAV virus scanning).
 */

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


[vchkpw] Bounce Mails Problem [solved]

2004-08-03 Thread knom





So..
After all..
I found the problem..
I changed the qmail-queue program for the use with 
spamassassin to a bash script calling spamc and afterwards the original 
queue.
I saw the method at http://sylvestre.ledru.info/howto/howto_qmail_spamassassin.php
 
How do you guys start spamassassin ?
via qmail-scanner.. or are there any other ways 
?
 
Thank you,
knom.
 

  - Original Message - 
  From: 
  Shane 
  Chrisp 
  To: [EMAIL PROTECTED] 
  Sent: Tuesday, August 03, 2004 10:33 
  AM
  Subject: RE: [vchkpw] Bounce Mail Problem 
  (logfile..)
  
  Looks like you need to check the ownership/permissions of 
  qmail etc.
  


From: knom [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 3 August 2004 2:56 PMTo: [EMAIL PROTECTED]Subject: 
[vchkpw] Bounce Mail Problem (logfile..)

Hi !
I've got a problem with bounce 
mails.
I tried to send to an unexisting remote adress..Here is the log 
from /var/log/qmail/current:@4000410e09041817ea54 new msg 
229364@4000410e0904187ec65c info msg 229364: bytes 1486 from <[EMAIL PROTECTED]>qp 15968 uid 
89@4000410e0904193b30bc starting delivery 260: msg 229364 to 
remote[EMAIL PROTECTED]@4000410e0904193bd0e4 
status: local 0/10 remote 1/20@4000410e0904372b7384 delivery 260: 
failure:213.165.64.100_does_not_like_recipient./Remote_host_said:_550_5.1.1_{mx001_<[EMAIL PROTECTED]>..._User_is_unknown/Giving_up_on_213.165.64.100./@4000410e0904372cac04 
status: local 0/10 remote 0/20@4000410e09043816e8dc warning: trouble 
injecting bounce message, willtry laterThere is an error with 
the bounce message... (says the last line)Does 
anybody have a solution for that problem ?
I've googled already but I haven't found any 
suitable for it..
thanks,knom.


Re: [vchkpw] Bounce mails - permission problem

2004-08-03 Thread Jeremy Kitchen
On Tuesday 03 August 2004 04:44 am, knom wrote:
> I think I've got the problem now !

nope.

> My domains/ folder and all the subfolders for the virtual domains have
> permissions 700 an are owned by vpopmail:vchkpw.
> But qmail-send runs as qmails user and has therefore no write permissions
> on the folders..
> So qmail-send cannot deliver bounce messages to my local users.

umm.. no, please learn how qmail works.

> Vpopmail creates the domainfolders and their permissions on its own...

right, as it should.

> Do you have a solution ?

no, your queue is corrupted and you need to fix it.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



[vchkpw] Bounce mails - permission problem

2004-08-03 Thread knom



I think I've got the problem now !
 
My domains/ folder and all the subfolders for the 
virtual domains have permissions 700 an are owned by 
vpopmail:vchkpw.
 
But qmail-send runs as qmails user and has 
therefore no write permissions on the folders..
 
 
So qmail-send cannot 
deliver bounce messages to my local users.
 
Vpopmail creates the domainfolders and their 
permissions on its own...

 
 
Do you have a solution ?
 
knom.


Re: [vchkpw] Bounce Mails

2004-08-02 Thread knom
I tried to send to an unexisting remote adress..
Here is the log from /var/log/qmail/current:

@4000410e09041817ea54 new msg 229364
@4000410e0904187ec65c info msg 229364: bytes 1486 from <[EMAIL PROTECTED]>
qp 15968 uid 89
@4000410e0904193b30bc starting delivery 260: msg 229364 to remote
[EMAIL PROTECTED]
@4000410e0904193bd0e4 status: local 0/10 remote 1/20
@4000410e0904372b7384 delivery 260: failure:
213.165.64.100_does_not_like_recipient./Remote_host_said:_550_5.1.1_{mx001_
<[EMAIL PROTECTED]>..._User_is_unknown/Giving_up_on_213.165.64.100./
@4000410e0904372cac04 status: local 0/10 remote 0/20
@4000410e09043816e8dc warning: trouble injecting bounce message, will
try later

There is an error with the bounce message... (says the last line)

thanks,
knom.



RE: [vchkpw] Bounce Mails

2004-08-02 Thread Shane Chrisp
>The logfiles have error messages from the remote servers..
>For example: "mailbox limit exceeded" or my users have wrong adresses...
>instead of "[EMAIL PROTECTED]" "[EMAIL PROTECTED]" and so on...
>And I want a bounce back message to my users with that remote server
messages in it..
>(like most providers do..)

 Qmail is doing the right thing. What is the error when it tries to bounce
to the local user
Or is the remote error a 4xx temporary error which means qmail will keep
trying until
The lifetime is reached. Your not giving us enough details to assist you.
Your error so
Far could be anything from a configuration error, user error, bug or
anything in between.
Look in the send log for lines where qmail has tried to send a bounce back
to a local user
And see what it is saying. If there is an error, send the error to the list
so that others
Can maybe assist you. We are not mind readers, we don't know how your
server/s are configured
So we cant help until you provide enough details.

Shane


- Original Message -
From: "Shane Chrisp" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 02, 2004 10:56 AM
Subject: RE: [vchkpw] Bounce Mails


> So your users are sending with invalid reply to addresses?
>
> Everyone has a different stance on how to deal with that.
> Personally I would be asking why the user is sending out
> with a non-existant email address.
>
> Or do you have a configuration error. What do your qmail logs say
> about the delivery attempts?
>
> Shane
>
> -Original Message-
> From: knom [mailto:[EMAIL PROTECTED]
> Sent: Monday, 2 August 2004 4:48 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [vchkpw] Bounce Mails
>
> Hi !
> Thanks for your help, but I _have_ the chkuser patch installed !
>
> The problem are not the local adresses.
>
> When a local user sends an email to an unexisting _remote_ adress, the
user
> does not get a bounce message back, but the bounce-message gets stuck in
my
> bounce queue.
>
> I want that my local users get bounce messages when they send to
unexisting
> remote accounts, or there is e.g. a limit at the target remote account.
> But it doesn't work :(
>
> thanks,
> knom.
>
> - Original Message -
> From: "Jeremy Kitchen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, August 02, 2004 9:54 AM
> Subject: Re: Fw: [vchkpw] Bounce Mails
>
>
> > On Monday 02 August 2004 02:51 am, knom wrote:
> > > Hi !
> > >
> > > I am using qmail with vpopmail 5.4.5.
> > >
> > >  I've got a problem.
> > >  Every time a user sends a mail to an unexisting user or there is
> another
> > >  problem with the mail it doesn't bounce back to the user itself, but
> the
> > >  bounce message gets stuck in bounce-queue (/var/qmail/queue/bounce/).
> > >
> > >  I want the mail bounced back to the users' mailbox, so they get to
> know,
> > >  that they typed in a wrong adresse for example..
> >
> > that's what it does.
> >
> > if a message is bounced, qmail sends it to the envelope sender of the
> email,
> > just as it's supposed to.
> >
> > -Jeremy
> >
> > -- 
> > Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies,
> Inc.
> >   [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470
> int'l
> > kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
> >
> >
>
>
>




Re: [vchkpw] Bounce Mails

2004-08-02 Thread knom
The logfiles have error messages from the remote servers..
For example: "mailbox limit exceeded" or my users have wrong adresses...
instead of "[EMAIL PROTECTED]" "[EMAIL PROTECTED]" and so on...
And I want a bounce back message to my users with that remote server
messages in it..
(like most providers do..)

thanks.

- Original Message - 
From: "Shane Chrisp" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 02, 2004 10:56 AM
Subject: RE: [vchkpw] Bounce Mails


> So your users are sending with invalid reply to addresses?
>
> Everyone has a different stance on how to deal with that.
> Personally I would be asking why the user is sending out
> with a non-existant email address.
>
> Or do you have a configuration error. What do your qmail logs say
> about the delivery attempts?
>
> Shane
>
> -Original Message-
> From: knom [mailto:[EMAIL PROTECTED]
> Sent: Monday, 2 August 2004 4:48 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [vchkpw] Bounce Mails
>
> Hi !
> Thanks for your help, but I _have_ the chkuser patch installed !
>
> The problem are not the local adresses.
>
> When a local user sends an email to an unexisting _remote_ adress, the
user
> does not get a bounce message back, but the bounce-message gets stuck in
my
> bounce queue.
>
> I want that my local users get bounce messages when they send to
unexisting
> remote accounts, or there is e.g. a limit at the target remote account.
> But it doesn't work :(
>
> thanks,
> knom.
>
> - Original Message -
> From: "Jeremy Kitchen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, August 02, 2004 9:54 AM
> Subject: Re: Fw: [vchkpw] Bounce Mails
>
>
> > On Monday 02 August 2004 02:51 am, knom wrote:
> > > Hi !
> > >
> > > I am using qmail with vpopmail 5.4.5.
> > >
> > >  I've got a problem.
> > >  Every time a user sends a mail to an unexisting user or there is
> another
> > >  problem with the mail it doesn't bounce back to the user itself, but
> the
> > >  bounce message gets stuck in bounce-queue (/var/qmail/queue/bounce/).
> > >
> > >  I want the mail bounced back to the users' mailbox, so they get to
> know,
> > >  that they typed in a wrong adresse for example..
> >
> > that's what it does.
> >
> > if a message is bounced, qmail sends it to the envelope sender of the
> email,
> > just as it's supposed to.
> >
> > -Jeremy
> >
> > -- 
> > Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies,
> Inc.
> >   [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470
> int'l
> > kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
> >
> >
>
>
>



RE: [vchkpw] Bounce Mails

2004-08-02 Thread Shane Chrisp
So your users are sending with invalid reply to addresses? 

Everyone has a different stance on how to deal with that. 
Personally I would be asking why the user is sending out 
with a non-existant email address.

Or do you have a configuration error. What do your qmail logs say
about the delivery attempts?

Shane 

-Original Message-
From: knom [mailto:[EMAIL PROTECTED] 
Sent: Monday, 2 August 2004 4:48 PM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] Bounce Mails

Hi !
Thanks for your help, but I _have_ the chkuser patch installed !

The problem are not the local adresses.

When a local user sends an email to an unexisting _remote_ adress, the user
does not get a bounce message back, but the bounce-message gets stuck in my
bounce queue.

I want that my local users get bounce messages when they send to unexisting
remote accounts, or there is e.g. a limit at the target remote account.
But it doesn't work :(

thanks,
knom.

- Original Message -
From: "Jeremy Kitchen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 02, 2004 9:54 AM
Subject: Re: Fw: [vchkpw] Bounce Mails


> On Monday 02 August 2004 02:51 am, knom wrote:
> > Hi !
> >
> > I am using qmail with vpopmail 5.4.5.
> >
> >  I've got a problem.
> >  Every time a user sends a mail to an unexisting user or there is
another
> >  problem with the mail it doesn't bounce back to the user itself, but
the
> >  bounce message gets stuck in bounce-queue (/var/qmail/queue/bounce/).
> >
> >  I want the mail bounced back to the users' mailbox, so they get to
know,
> >  that they typed in a wrong adresse for example..
>
> that's what it does.
>
> if a message is bounced, qmail sends it to the envelope sender of the
email,
> just as it's supposed to.
>
> -Jeremy
>
> -- 
> Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies,
Inc.
>   [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470
int'l
> kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
>
>




RE: [vchkpw] Bounce Mails

2004-08-02 Thread knom
Hi !
Thanks for your help, but I _have_ the chkuser patch installed !

The problem are not the local adresses.

When a local user sends an email to an unexisting _remote_ adress, the user
does not get a bounce message back,
but the bounce-message gets stuck in my bounce queue.

I want that my local users get bounce messages when they send to unexisting
remote accounts, or there is e.g. a limit at the target remote account.
But it doesn't work :(

thanks,
knom.

- Original Message - 
From: "Jeremy Kitchen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 02, 2004 9:54 AM
Subject: Re: Fw: [vchkpw] Bounce Mails


> On Monday 02 August 2004 02:51 am, knom wrote:
> > Hi !
> >
> > I am using qmail with vpopmail 5.4.5.
> >
> >  I've got a problem.
> >  Every time a user sends a mail to an unexisting user or there is
another
> >  problem with the mail it doesn't bounce back to the user itself, but
the
> >  bounce message gets stuck in bounce-queue (/var/qmail/queue/bounce/).
> >
> >  I want the mail bounced back to the users' mailbox, so they get to
know,
> >  that they typed in a wrong adresse for example..
>
> that's what it does.
>
> if a message is bounced, qmail sends it to the envelope sender of the
email,
> just as it's supposed to.
>
> -Jeremy
>
> -- 
> Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies,
Inc.
>   [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470
int'l
> kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
>
>



Re: Fw: [vchkpw] Bounce Mails

2004-08-02 Thread Jeremy Kitchen
On Monday 02 August 2004 02:51 am, knom wrote:
> Hi !
>
> I am using qmail with vpopmail 5.4.5.
>
>  I've got a problem.
>  Every time a user sends a mail to an unexisting user or there is another
>  problem with the mail it doesn't bounce back to the user itself, but the
>  bounce message gets stuck in bounce-queue (/var/qmail/queue/bounce/).
>
>  I want the mail bounced back to the users' mailbox, so they get to know,
>  that they typed in a wrong adresse for example..

that's what it does.

if a message is bounced, qmail sends it to the envelope sender of the email, 
just as it's supposed to.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



RE: [vchkpw] Bounce Mails

2004-08-02 Thread Shane Chrisp
Install the chkusr patch. If you searched, you would see that
This question has been asked a million times before.

Shane

-Original Message-
From: knom [mailto:[EMAIL PROTECTED] 
Sent: Monday, 2 August 2004 3:51 PM
To: [EMAIL PROTECTED]
Subject: Fw: [vchkpw] Bounce Mails

Hi !
 
I am using qmail with vpopmail 5.4.5.
 
 I've got a problem.
 Every time a user sends a mail to an unexisting user or there is another
 problem with the mail it doesn't bounce back to the user itself, but the
 bounce message gets stuck in bounce-queue (/var/qmail/queue/bounce/).
 
 I want the mail bounced back to the users' mailbox, so they get to know,
 that they typed in a wrong adresse for example..
 
 Please help me !!
 
 
 Thanks,
 knom.
 



Fw: [vchkpw] Bounce Mails

2004-08-02 Thread knom
Hi !
 
I am using qmail with vpopmail 5.4.5.
 
 I've got a problem.
 Every time a user sends a mail to an unexisting user or there is another
 problem with the mail it doesn't bounce back to the user itself, but the
 bounce message gets stuck in bounce-queue (/var/qmail/queue/bounce/).
 
 I want the mail bounced back to the users' mailbox, so they get to know,
 that they typed in a wrong adresse for example..
 
 Please help me !!
 
 
 Thanks,
 knom.
 


[vchkpw] Bounce Mails

2004-07-29 Thread knom
Hi !

I am using qmail with vpopmail 5.4.5.

I've got a problem.
Every time a user sends a mail to an unexisting user or there is another
problem with the mail it doesn't bounce back to the user itself, but the
bounce message gets stuck in bounce-queue (/var/qmail/queue/bounce/).

I want the mail bounced back to the users' mailbox, so they get to know,
that they typed in a wrong adresse for example..

Please help me !!


Thanks,
knom.