[vchkpw] warning: trouble injecting bounce message, will try later

2004-12-03 Thread Bernd
Hi there!


After recompiling all the packages I solved my OpenEFilter problem, but
yesterday at exactly 9 pm a new error came up, although I was far, far
away from my PC :-)

For every mail that should be received/sent I get a warning: trouble
injecting bounce message, will try later.

Right now I'm a step ahead(?) and can send mails from the prompt, but
when I try to send a msg with telnet or evolution, I get mail server
temporarily rejected message.

pop3/imap works fine.


Thanks for your help

Bernd








[vchkpw] courier-imap

2004-12-03 Thread Oden Eriksson
Hi.

I don't know if this has been addressed before, but I couldn't find anything 
related using google searches.

I use latest vpopmail+courier-imap and the pop-before-smtp method. This has 
worked great during the past four or so years. The problem I'm experiencing 
is that the relay file seems only to be updated at one time when starting up 
the imap client and checking mail for the first time, I'm using kmail. In 
order to successfully send mail after the --enable-relay-clear-minutes period 
has expired I have to restart kmail. This is annoying and has been the case 
for a very long time now. Now I'm sick of it and need a resolution. So please 
advise what to do.

Thanks in advance.

-- 
Regards // Oden Eriksson


Re: [vchkpw] warning: trouble injecting bounce message, will try later

2004-12-03 Thread Eduardo Ribeiro da Silva
Hi,

 I´ve had some problems with QMail showing this message trouble injecting
bounce message on qmail´s log too. I´ve took a long time to discover what
did I do wrong, and after googling and asking some friends I´ve realized
that my qmail-scanner instalation was completely wrong. All related with
qmail-queue binary. Try to see if your qmail-queue binary is the right one..
Good Luck,



Eduardo R. da Silva
- Original Message - 
From: Bernd [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 03, 2004 8:27 AM
Subject: [vchkpw] warning: trouble injecting bounce message, will try later


 Hi there!


 After recompiling all the packages I solved my OpenEFilter problem, but
 yesterday at exactly 9 pm a new error came up, although I was far, far
 away from my PC :-)

 For every mail that should be received/sent I get a warning: trouble
 injecting bounce message, will try later.

 Right now I'm a step ahead(?) and can send mails from the prompt, but
 when I try to send a msg with telnet or evolution, I get mail server
 temporarily rejected message.

 pop3/imap works fine.


 Thanks for your help

 Bernd










Re: [vchkpw] vpopmail domain folder

2004-12-03 Thread Gilcio Grella
Thanks a lot Jeremy!

I didn't know about directory hashing! Now I
understand it a bit :)
By the way, I'm using ext2 and I'm sure I won't use
more than 600 files in a directory. I know I can have
problems, but I'll try not hashing :) Do you know the
hashing limit of ext2? (But this is not the mainly
question yet and I know this is not part of you, but
who knows you can tell me :) )
So, I recompile vpopmail with the
--disable-users-big-dir flag and I think that for new
domains it will work out nice. But for my existing
domains, it doesn't work yet. I thinks there's
something related to .dir-control file. I realize that
the first line from its must be the number of files
(folders) of a domain. The rest I can't figure out!
Is there something related to .dir-control file? If
so, can you explain me that file line per line? Or is
there another solution to making my old domains work
with that flag now?

Anyway, thanks a lot! You're great! :)

 --- Jeremy Kitchen [EMAIL PROTECTED] escreveu: 
 On Thursday 02 December 2004 01:08 pm, Gilcio Grella
 wrote:
 [snip: vpopmail hashes user directories after a
 certain number]
 
  Is that normal? I don't want that number folder
 inside
  my domain! I want always my users maildir in
  domain.com/ to be better managed. And always doing
  manual editing sucks a lot!
 
 vpopmail does directory hashing because some
 filesystems (ext2/3, UFS without 
 DIR_HASH, etc) will slow to a crawl with large
 directories (the general rule 
 of thumb is about 1000 files in a directory is the
 breaking point)
 
 You can disable this when building vpopmail by
 configuring it with the 
 --disable-users-big-dir flag.
 
 Is this causing you any problems?  If not, then you
 should leave it how it is 
 for performance reasons.
 
 -Jeremy
 
 -- 
 Jeremy Kitchen ++ Systems Administrator ++ Inter7
 Internet Technologies, Inc.
   [EMAIL PROTECTED] ++ www.inter7.com ++
 866.528.3530 ++ 815.776.9465 int'l
   kitchen @ #qmail #gentoo on EFnet IRC ++
 scriptkitchen.com/qmail
  GnuPG Key ID: 481BF7E2 ++
 jabber:[EMAIL PROTECTED]
 

 ATTACHMENT part 2 application/pgp-signature 
 

=
Gilcio Grella :: Hackiller :: [EMAIL PROTECTED]
Rede IRCBrasil :: Server Admin :: irc.bwnet.com.br 
ICQ :: 55766844 :: MSN Messenger :: [EMAIL PROTECTED]





___ 
Yahoo! Mail - Agora com 250MB de espaço gratuito. Abra 
uma conta agora! http://br.info.mail.yahoo.com/


Re: [vchkpw] warning: trouble injecting bounce message, will try later

2004-12-03 Thread Clayton Milos
First thing to do is to check how much memory you've allocated smtp with
tcpserver.

Give it more and see if that helps. Try with around 40M per session.

Virus scanning uses ram. Especially with large attachemnts it chews up
memory.


- Original Message - 
From: Bernd [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 03, 2004 10:27 AM
Subject: [vchkpw] warning: trouble injecting bounce message, will try later


 Hi there!


 After recompiling all the packages I solved my OpenEFilter problem, but
 yesterday at exactly 9 pm a new error came up, although I was far, far
 away from my PC :-)

 For every mail that should be received/sent I get a warning: trouble
 injecting bounce message, will try later.

 Right now I'm a step ahead(?) and can send mails from the prompt, but
 when I try to send a msg with telnet or evolution, I get mail server
 temporarily rejected message.

 pop3/imap works fine.


 Thanks for your help

 Bernd









Re: [vchkpw] warning: trouble injecting bounce message, will try later

2004-12-03 Thread Bernd
Hi Eduardo!

Thanks for your mail.

I already tried the same at morning and after replacing my qmail-queue
with the default qmail-queue I moved from the trouble injecting
bounce message, will try later to mail server temporarily rejected
message. So also in my case it had to do something with qmail-queue but
it's still not really working.


Thanks,
Bernd





On Fri, 2004-12-03 at 12:14, Eduardo Ribeiro da Silva wrote:
 Hi,
 
  I´ve had some problems with QMail showing this message trouble injecting
 bounce message on qmail´s log too. I´ve took a long time to discover what
 did I do wrong, and after googling and asking some friends I´ve realized
 that my qmail-scanner instalation was completely wrong. All related with
 qmail-queue binary. Try to see if your qmail-queue binary is the right one..
 Good Luck,
 
 
 
 Eduardo R. da Silva
 - Original Message - 
 From: Bernd [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, December 03, 2004 8:27 AM
 Subject: [vchkpw] warning: trouble injecting bounce message, will try later
 
 
  Hi there!
 
 
  After recompiling all the packages I solved my OpenEFilter problem, but
  yesterday at exactly 9 pm a new error came up, although I was far, far
  away from my PC :-)
 
  For every mail that should be received/sent I get a warning: trouble
  injecting bounce message, will try later.
 
  Right now I'm a step ahead(?) and can send mails from the prompt, but
  when I try to send a msg with telnet or evolution, I get mail server
  temporarily rejected message.
 
  pop3/imap works fine.
 
 
  Thanks for your help
 
  Bernd
 
 
 
 
 
 
 
 



Re: [vchkpw] vpopmail domain folder

2004-12-03 Thread Jeremy Kitchen
On Friday 03 December 2004 05:22 am, Gilcio Grella wrote:
 Thanks a lot Jeremy!

 I didn't know about directory hashing! Now I
 understand it a bit :)

good :)  qmail does the same thing with its queue, only it's a little bit 
different.

 By the way, I'm using ext2 and I'm sure I won't use
 more than 600 files in a directory. I know I can have
 problems, but I'll try not hashing :) Do you know the
 hashing limit of ext2? (But this is not the mainly
 question yet and I know this is not part of you, but
 who knows you can tell me :) )

as stated in my previous email, rule of thumb is 1000.

 So, I recompile vpopmail with the
 --disable-users-big-dir flag and I think that for new
 domains it will work out nice. But for my existing
 domains, it doesn't work yet. I thinks there's
 something related to .dir-control file.

simply remove it.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
 GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]


pgpKusZSzp916.pgp
Description: PGP signature


Re: [vchkpw] warning: trouble injecting bounce message, will try later

2004-12-03 Thread Jeremy Kitchen
On Friday 03 December 2004 05:55 am, Clayton Milos wrote:
 First thing to do is to check how much memory you've allocated smtp with
 tcpserver.

that has nothing to do with qmail-send.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
 GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]


pgpjHJXbwAO6t.pgp
Description: PGP signature


Re: [vchkpw] courier-imap

2004-12-03 Thread Jeremy Kitchen
On Friday 03 December 2004 05:05 am, Oden Eriksson wrote:
 Hi.

 I don't know if this has been addressed before, but I couldn't find
 anything related using google searches.

 I use latest vpopmail+courier-imap and the pop-before-smtp method. This has
 worked great during the past four or so years. The problem I'm experiencing
 is that the relay file seems only to be updated at one time when starting
 up the imap client and checking mail for the first time, I'm using kmail.
 In order to successfully send mail after the --enable-relay-clear-minutes
 period has expired I have to restart kmail. This is annoying and has been
 the case for a very long time now. Now I'm sick of it and need a
 resolution. So please advise what to do.

Use smtp auth.  This is not a problem with kmail, courier-imap, or roaming 
users.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
 GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]


pgp6djg52ezln.pgp
Description: PGP signature


Re: [vchkpw] courier-imap

2004-12-03 Thread Jeremy Kitchen
On Friday 03 December 2004 09:39 am, Jeremy Kitchen wrote:
 On Friday 03 December 2004 05:05 am, Oden Eriksson wrote:
  Hi.
 
  I don't know if this has been addressed before, but I couldn't find
  anything related using google searches.
 
  I use latest vpopmail+courier-imap and the pop-before-smtp method. This
  has worked great during the past four or so years. The problem I'm
  experiencing is that the relay file seems only to be updated at one time
  when starting up the imap client and checking mail for the first time,
  I'm using kmail. In order to successfully send mail after the
  --enable-relay-clear-minutes period has expired I have to restart kmail.
  This is annoying and has been the case for a very long time now. Now I'm
  sick of it and need a resolution. So please advise what to do.

 Use smtp auth.  This is not a problem with kmail, courier-imap, or roaming
 users.

oh and to add.

even if you do restart kmail, that doesn't necessarily mean it restarts the 
kio_slave for your imap connection, therefore you may have to log completely 
out :)  Simple fix: use smtp auth.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
 GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]


pgpvUqvN6qgTf.pgp
Description: PGP signature


Re: [vchkpw] courier-imap

2004-12-03 Thread Oden Eriksson
Friday 03 December 2004 18.10 skrev Jeremy Kitchen:
 On Friday 03 December 2004 09:39 am, Jeremy Kitchen wrote:
  On Friday 03 December 2004 05:05 am, Oden Eriksson wrote:
   Hi.
  
   I don't know if this has been addressed before, but I couldn't find
   anything related using google searches.
  
   I use latest vpopmail+courier-imap and the pop-before-smtp method. This
   has worked great during the past four or so years. The problem I'm
   experiencing is that the relay file seems only to be updated at one
   time when starting up the imap client and checking mail for the first
   time, I'm using kmail. In order to successfully send mail after the
   --enable-relay-clear-minutes period has expired I have to restart
   kmail. This is annoying and has been the case for a very long time now.
   Now I'm sick of it and need a resolution. So please advise what to do.
 
  Use smtp auth.  This is not a problem with kmail, courier-imap, or
  roaming users.

 oh and to add.

 even if you do restart kmail, that doesn't necessarily mean it restarts the
 kio_slave for your imap connection, therefore you may have to log
 completely out :)  Simple fix: use smtp auth.

 -Jeremy

Thanks Jeremy, but smtp auth isn't the answer I was looking for. I know mr. 
sam and some other profilic people in this sphere thinks pop-before-smtp is 
dead, is silly and obsolete, but I can say it isn't.

The question still, is how to make this work, not to make me start using smtp 
auth.

If was really smart I would stop using an utterly dead (not developed since 
1998), and unsupported software like qmail is and use _any_ of the others 
that is still alive, supported, developed and in much wider use.

I bet that's not something you wanted to hear...


-- 
Regards // Oden Eriksson


Re: [vchkpw] courier-imap

2004-12-03 Thread Jeremy Kitchen
On Friday 03 December 2004 01:42 pm, Oden Eriksson wrote:
 Thanks Jeremy, but smtp auth isn't the answer I was looking for. I know mr.
 sam and some other profilic people in this sphere thinks pop-before-smtp is
 dead, is silly and obsolete, but I can say it isn't.

 The question still, is how to make this work, not to make me start using
 smtp auth.

It won't.  You'd have to write a lot of code to make it so that it would 
occasionally place your information back into whatever pop-before-smtp 
implementation you're using.

 If was really smart I would stop using an utterly dead (not developed since
 1998), and unsupported software like qmail is and use _any_ of the others
 that is still alive, supported, developed and in much wider use.

 I bet that's not something you wanted to hear...

So you're blaming qmail for this 'problem'?  That makes me laugh.  Please get 
a clue before you start throwing blame.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
 GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]


pgpEa83JlZgpA.pgp
Description: PGP signature


Re: [vchkpw] courier-imap

2004-12-03 Thread Tom Collins
On Dec 3, 2004, at 11:42 AM, Oden Eriksson wrote:
The question still, is how to make this work, not to make me start 
using smtp
auth.
It sounds like (from Jeremey's email) that kmail leaves its IMAP 
connection open at all times and that's the problem.

One solutions would be to patch Courier-IMAP to update the timestamp 
for the connection every 15 minutes it was still open.

Is it possible to configure kmail to not keep a persistent IMAP 
connection?  Can you add a bogus POP account to kmail so it's popping 
into the server every 15 minutes?

--
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/


Re: [vchkpw] courier-imap

2004-12-03 Thread X-Istence
On Dec 3, 2004, at 2:42 PM, Oden Eriksson wrote:
Thanks Jeremy, but smtp auth isn't the answer I was looking for. I 
know mr.
sam and some other profilic people in this sphere thinks 
pop-before-smtp is
dead, is silly and obsolete, but I can say it isn't.

The question still, is how to make this work, not to make me start 
using smtp
auth.

If was really smart I would stop using an utterly dead (not developed 
since
1998), and unsupported software like qmail is and use _any_ of the 
others
that is still alive, supported, developed and in much wider use.

I bet that's not something you wanted to hear...
--
Regards // Oden Eriksson
Ohhh, that is music to my ears. Hell, switch to postfix, but please 
don't come crawling back when you have to use smtp auth as they offer 
not alternative, or make it hard to use an alternative. Or switch to 
exim, where smtp auth is almost a necessity, unless off course you can 
add your IP to the allowed to relay, in which case you need to find out 
how to do that with vpopmail's relay mechanism and not worry about 
popping in before sending mail.

Say, should I recommend sendmail as well? :P.
X-Istence


Re: [vchkpw] vdelivermail, user quotas and the maildirsize file

2004-12-03 Thread Dave Goodrich
[intentionaly top posted]
You are my new hero Mr. Collins.
If you are in or near central Indiana, my wife makes apple pie and 
vegetable soup that grown men will crawl through broken glass for, there 
are a few servings waiting for you.

Can't wait to give it a try.
DAve
Tom Collins wrote:
I've undertaken the task of cleaning up vdelivermail. I think I've fixed 
some problems where vdelivermail could exit without closing its 
connection to MySQL. I've also fixed sections that exited with the wrong 
exit code (causing qmail-local to assume mail was delivered when it 
wasn't, or vice-versa).

I'm now digging into quotas. Oh, the joy.
I found one immediate problem. vdelivermail was adding an email's size 
to the maildirsize file before it was successfully delivered. If there 
was any sort of error, the maildirsize file would end up out of whack.

Additionally, the size of the extra headers (Return-Path and 
Delivered-To) weren't included in the values written. This causes a 
problem because POP/IMAP will enter a negative value for the size of the 
entire message (including those headers). I could be wrong on that -- 
the POP/IMAP server might use the S= part of the filename which was 
also written incorrectly by the old vdelivermail.

Anyway, I've made some good progress, and now it only updates 
maildirsize if the message was successfully written. It will update the 
maildirsize of ANY Maildir that it delivers to, including valiases, the 
catchall, and save-a-copy on .qmail files that forward to another location.

The only missing piece is actually checking for overquota situations on 
anything but a standard user without a .qmail file. I also don't handle 
the situation where the maildirsize file does not exist. Realistically, 
I can only re-create it for the Maildir that belongs to the current 
user. Other than reading the maildirsize file, there's no easy way to 
look up a quota based on a Maildir directory path.

After all of the time I've put into it, there's no way I'm going to 
touch domain quotas...

If anyone knows of any other vdelivermail oddities that should be fixed, 
please let me know and I'll try to address them in this upcoming release.

--
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/

No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.289 / Virus Database: 265.4.4 - Release Date: 11/30/2004
--
Systems Administrator
http://www.tls.net
Get rid of Unwanted Emails...get TLS Spam Blocker!


RE: [vchkpw] vdelivermail, user quotas and the maildirsize file

2004-12-03 Thread shadowplay.net
Title: Message




does 
this change take into account the ablity for multi processing on the maildirsize 

and 2 
vdeliverers attempting to add to the mailbox at near simultaneous time... 

think 
multiple mailservers with a nfs connection to the maildirectories... 


ie at 
this time if i accept a mail its added to quota.. 
then 
while im writing my mail in a second vdeliver needs to 
write,
looksin quota, reports over,and we bounce.. 


under 
the new structure.. will this occur or will BOTH files get 

written into the mail directory...




  
  -Original Message-From: Tom Collins 
  [mailto:[EMAIL PROTECTED] 
  I found one immediate 
  problem. vdelivermail was adding an email's size to the maildirsize file 
  before it was successfully delivered. If there was any sort of error, the 
  maildirsize file would end up out of whack.
  


Re: [vchkpw] vdelivermail, user quotas and the maildirsize file

2004-12-03 Thread Tom Collins
On Dec 3, 2004, at 3:01 PM, shadowplay.net wrote:
does this change take into account the ablity for multi processing on 
the maildirsize
 and 2 vdeliverers attempting to add to the mailbox at near 
simultaneous time...
 think multiple mailservers with a nfs connection to the 
maildirectories...
  
ie at this time if i accept a mail its added to quota..
 then while im writing my mail in a second vdeliver needs to write,
looks in quota, reports over, and we bounce..
  
under the new structure.. will this occur or will BOTH files get
 written into the mail directory... 
I don't know.  I've only started to look into the mail quota code.
I may pull fresh code from the most recent Courier-IMAP (original 
source of most of the code) and make sure that I spend as little time 
with the file open as necessary.  I think that vdelivermail will open 
it for exclusive write access and then append the new size.

I have no idea how it will behave if multiple processes want to append 
to it at the same time.  It may be difficult, but I guess I could write 
a shell script that attempts to deliver two very large emails 
simultaneously.  I could also add an artificial delay in vdelivermail 
so it keeps the file open longer than necessary in order to force one 
process to wait for write access.

--
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/