[vchkpw] vdelivermail and bounced messages

2003-04-04 Thread Chris Manjoine

I have a problem, and it may just be that vdelivermail doesnt handle
bounced mail this way, but the docs don't really say
I have alot of vhosts. When mail gets sent to a user that does not exist
it gets bounced to the user and to the default postmaster not of the
domain but for the email server.
my .qmail.default file says
| /usr/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
so I assume that it should only bounce to the person who sent it. However
it is also sending a message to the default postmaster for the server. I
would like it to not send any message to the postmaster and if that is
not possible to send a email to the postmaster for the domain that it is
related to not the default postmaster for the server.
the man page says:
default account for delivery] 
If the email does match any .qmail-user file and also does not match any
virtual domain user, this is the default delivery instructions. There are
three values this may contain. 
·Full
path to a vpopmail user directory 
·email
address to forward email too 
·the
string bounce-no-mailbox to bounce the email back to the sender.

Default is the postmaster account 

Is it possible to turn off the forwarding to default postmaster or at
least send it to the postmaster for that domain that the message was
being sent?



Re: [vchkpw] vdelivermail and bounced messages

2003-04-04 Thread Peter Palmreuther
Hi Chris,

On Fri, 04 Apr 2003 08:35:19 -0600 Chris Manjoine wrote:

 When mail gets sent to a user that does not exist it gets bounced to
 the user and to the default postmaster not of the domain but for the
 email server.

 my .qmail.default file says
 | /usr/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

Are you sure the _bounce_ gets directed and delivered to $SENDER _AND_
postmaster?

Usually postmaster only gets double-bounces, stating ... but the bounce
bounced. ... in the very beginning of the mail.

What makes you assume _qmail_ (and it is qmail handling the bounce,
vdelivermail only exits '100' to tell qmail delivery agent to bounce)
doubles the bounce?
-- 
Pit



Re: [vchkpw] vdelivermail and bounced messages

2003-04-04 Thread Chris Manjoine
ok bounces the the default postmaster when the sender is bogus so it 
doesn't send twice.
So I guess my problem is how do I get those bounces to goto the virtual 
email postmaster and not the default mail server postmaster?

At 05:00 PM 4/4/2003 +0200, you wrote:
Hi Chris,

On Fri, 04 Apr 2003 08:35:19 -0600 Chris Manjoine wrote:

 When mail gets sent to a user that does not exist it gets bounced to
 the user and to the default postmaster not of the domain but for the
 email server.
 my .qmail.default file says
 | /usr/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
Are you sure the _bounce_ gets directed and delivered to $SENDER _AND_
postmaster?
Usually postmaster only gets double-bounces, stating ... but the bounce
bounced. ... in the very beginning of the mail.
What makes you assume _qmail_ (and it is qmail handling the bounce,
vdelivermail only exits '100' to tell qmail delivery agent to bounce)
doubles the bounce?
--
Pit




RE: Re: [vchkpw] vdelivermail and bounced messages

2003-04-04 Thread domi

one solution could be to use doublebounceto
and write a program to take care of mails, parsing
them and trying to find out what to do with it.
And finally dump it to domain postmaster or the
mailer-deamon or /dev/null depending on what it is...

Just a thought, have never tested, not even done
some deeper analyzing of the problem...

=d0Mi=

  Original Message -
 Date:  4-Apr-2003 22:25:50 +0200
 From: Chris Manjoine [EMAIL PROTECTED]
 To:  [EMAIL PROTECTED]
 Subject: Re: [vchkpw] vdelivermail and bounced messages
 
 ok bounces the the default postmaster when the sender is bogus so it 
 doesn't send twice.
 So I guess my problem is how do I get those bounces to goto the virtual 
 email postmaster and not the default mail server postmaster?
 
 At 05:00 PM 4/4/2003 +0200, you wrote:
 Hi Chris,
 
 On Fri, 04 Apr 2003 08:35:19 -0600 Chris Manjoine wrote:
 
   When mail gets sent to a user that does not exist it gets bounced to
   the user and to the default postmaster not of the domain but for the
   email server.
 
   my .qmail.default file says
   | /usr/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
 
 Are you sure the _bounce_ gets directed and delivered to $SENDER _AND_
 postmaster?
 
 Usually postmaster only gets double-bounces, stating ... but the bounce
 bounced. ... in the very beginning of the mail.
 
 What makes you assume _qmail_ (and it is qmail handling the bounce,
 vdelivermail only exits '100' to tell qmail delivery agent to bounce)
 doubles the bounce?
 --
 Pit