Re: [vchkpw] nonexistent local user ?

2008-04-18 Thread Rick Widmer



Sam Ami wrote:

it is the .qmail-default file of a vpopmail domain
(/home/vpopmail/domains/domain.name.tld/.qmail-default)
all i want to do is delete email to nonexistent domain users instead
of the email getting to line two of the .qmail-default and being
forwarded.





On Fri, Apr 18, 2008 at 3:19 PM, Rick Widmer [EMAIL PROTECTED] wrote:


 Sam Ami wrote:


hi all

why wouldn't this delete the email to a nonexistent local user ?


OK then the answer is that the delete option means delete the message 
without complaining.  Since there is no error reported qmail will always 
 continue on with the next line.



I think you should re-consider doing anything non-standard in your 
.qmail-defailt file.  Qmailadmin will replace the file every time the 
catchall option is changed.  Ezmlm lista and forwards don't go through 
the default file, so they will be missed.


Why are you forwarding the message?

Rick

!DSPAM:480839c0120501311886941!



Re: [vchkpw] nonexistent local user ?

2008-04-18 Thread Sam Ami
our qmail relay is setup with tmda.

#when user subscribes to tmda
#/home/vpopmail/domains/domain.tld/.qmail-b:gates-default
  |preline -f /usr/local/tmda/bin/tmda-filter -c
/home/vpopmail/domains/domain.tld/b.gates/.tmda/config
  |forward [EMAIL PROTECTED]

#/home/vpopmail/domains/domain.tld/.qmail-default
#when user is NOT subscribed to tmda
 |/home/vpopmail/bin/vdelivermail '' delete
 |forward $DEFAULT@mail.internalserver.tld

I want to delete nonexistant users email, not bounce, bounce works,
delete doesn't




On Fri, Apr 18, 2008 at 4:03 PM, Rick Widmer [EMAIL PROTECTED] wrote:


  Sam Ami wrote:

  it is the .qmail-default file of a vpopmail domain
  (/home/vpopmail/domains/domain.name.tld/.qmail-default)
  all i want to do is delete email to nonexistent domain users instead
  of the email getting to line two of the .qmail-default and being
  forwarded.
 
 
 
 
 
  On Fri, Apr 18, 2008 at 3:19 PM, Rick Widmer [EMAIL PROTECTED]
 wrote:
 
  
Sam Ami wrote:
  
  
hi all
   
why wouldn't this delete the email to a nonexistent local user ?
   
  
 

  OK then the answer is that the delete option means delete the message
 without complaining.  Since there is no error reported qmail will always
 continue on with the next line.


  I think you should re-consider doing anything non-standard in your
 .qmail-defailt file.  Qmailadmin will replace the file every time the
 catchall option is changed.  Ezmlm lista and forwards don't go through the
 default file, so they will be missed.

  Why are you forwarding the message?

  Rick

  



!DSPAM:48083e64120501738056983!



[vchkpw] rcpthosts file

2008-04-18 Thread Wouter van der Schagt

Hi all, it's me again, i've another question.

Can i update the rcpthosts file manually without running the risk that 
vpopmail will

update and overwrite it when some changes are made by other users? Or can i
include my manual changes in some kind of include file?

- Wouter 



!DSPAM:48086dd712050511941!



Re: [vchkpw] rcpthosts file

2008-04-18 Thread Tren Blackburn
I'd personally edit the morercpthosts file. I think rcpthosts handles 50 
domains (I'm probably wrong, but that's what my memory tells me) then after 
than the morercpthosts file is created and added to.

I've never had an issue manually editing either rcpthosts or morercpthosts. 

Hope that helps!

Tren 

- Original Message -
From: Wouter van der Schagt [EMAIL PROTECTED]
To: vchkpw@inter7.com vchkpw@inter7.com
Sent: Fri Apr 18 02:45:35 2008
Subject: [vchkpw] rcpthosts file

Hi all, it's me again, i've another question.

Can i update the rcpthosts file manually without running the risk that 
vpopmail will
update and overwrite it when some changes are made by other users? Or can i
include my manual changes in some kind of include file?

- Wouter 





!DSPAM:48086eb4120502072410943!


RE: [vchkpw] rcpthosts file

2008-04-18 Thread D. Hilbig

Vpopmail does not rebuild either rcpthosts or morercpthosts from its own
database.  It simply add and removes lines as necessary.  So, any changes
that you make to either should stick.

I patched vpopmail.c so that it would never add to rcpthosts and therefore
only add to morercpthosts.  I did this because I want to maintain a
one-to-one relationship between rcpthosts and locals and a one-to-one
relationship between morercpthosts and virtualdomains.  There really isn't a
functional difference.  It is just a personal preference.

The patch only changes the line that evaluates the number of lines in the
rcpthosts file.  So, vpopmail can potentially still remove lines from
rcpthosts if it sees fit to do so.



--- vpopmail.orig/vpopmail.c2007-10-31 07:55:39.0 +
+++ vpopmail.patched/vpopmail.c 2008-04-15 19:36:44.0 +
@@ -1026,7 +1026,7 @@
   /* If we have more than 50 domains in rcpthosts
* make a morercpthosts and compile it
*/
-  if ( count_rcpthosts() = 50 ) {
+  if ( count_rcpthosts() = 0 ) {
 snprintf(tmpstr1, sizeof(tmpstr1), %s/control/morercpthosts,
QMAILDIR);
 if (update_file(tmpstr1, alias_domain, 2) !=0) {
   fprintf (stderr, Failed while attempting to update_file() the
morercpthosts file\n);






-Original Message-
From: Wouter van der Schagt [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 18, 2008 2:46 AM
To: vchkpw@inter7.com
Subject: [vchkpw] rcpthosts file

Hi all, it's me again, i've another question.

Can i update the rcpthosts file manually without running the risk that 
vpopmail will
update and overwrite it when some changes are made by other users? Or can i
include my manual changes in some kind of include file?

- Wouter 





!DSPAM:4808dbbc120501019894531!



[vchkpw] ezmlm + vpopmail + qmailadmin

2008-04-18 Thread D. Hilbig

Quick questions:

Which version of ezmlm should I be using?  ezmlm 0.53, ezmlm-idx 0.44,
ezmlm-idx 5.1.2, or something else?

Does ezmlm need to be installed before either vpopmail or qmailadmin?  I.E.
Do I need to recompile/reinstall either after ezmlm?



Thx.



!DSPAM:4808e911120505998911410!



Re: [vchkpw] ezmlm + vpopmail + qmailadmin

2008-04-18 Thread Bob Hutchinson
On Friday 18 April 2008 19:31, D. Hilbig wrote:
 Quick questions:

 Which version of ezmlm should I be using?  ezmlm 0.53, ezmlm-idx 0.44,
 ezmlm-idx 5.1.2, or something else?

These instructions are as good as any
http://shupp.org/toaster/?page=ezmlm-idx

 Does ezmlm need to be installed before either vpopmail or qmailadmin?  I.E.

before

 Do I need to recompile/reinstall either after ezmlm?

no




 Thx.



 

-- 
-
Bob Hutchinson
Midwales dot com
-

!DSPAM:48090235120501807385810!



[vchkpw] vlist delete - didn't remove the .qmail files

2008-04-18 Thread D. Hilbig

./vlist delete ... did not delete the .qmail- files that were created by
./vlist create ...  It did delete the list's directory though.  Is it
normal to delete the directory, but not the .qmail- files?  I'm running
vpopmail v5.4.26d.


!DSPAM:48091f90120501687114868!