Re: [qmailadmin] [SPAM] qmailadmin 1.2.16 questions

2013-05-23 Thread Tom Collins
You might need to recompile vpopmail and install that without the install-strip 
option, since qmailadmin statically links libvpopmail (IIRC).

-Tom


On May 21, 2013, at 9:11 AM, Eric Shubert wrote:
 I agree that the error is probably somewhere else.
 You might try the vpopmail list. I believe there are a few folks there who 
 have successfully built on debian. I wouldn't expect there to be much 
 difference on Ubuntu, but who knows.
 Good luck!


!DSPAM:519ecb0134131985948399!



Re: [qmailadmin] [SPAM] qmailadmin 1.2.16 questions

2013-05-17 Thread Tom Collins
You haven't done anything wrong.  I seem to recall seeing this error in the 
past.  I run a modified version of 1.2.12 myself, and can't recall if I've had 
to fix this bug in the past or not (I guess I could try diffing against stock 
1.2.12 and review my changes).

If you reinstall qmailadmin with install instead of install-strip, that 
backtrace might contain the names of functions and it would be easier to track 
down the bug.

-Tom


On May 17, 2013, at 5:12 AM, Allan Dukat wrote:

 Eric Shubert writes: 
 qmail-toaster (http://wiki.qmailtoaster.com) is presently on
 vpopmail-5.4.33 with qmailadmin-1.2.16. There haven't been any problems 
 reported.
 
 OK, then I have a problem with qmailadmin-1.2.16, configured like this: 
 ./configure \
 --enable-vpopmaildir=/home/vpopmail \
 --enable-htmldir=/usr/local/apache2/htdocs \
 --enable-cgibindir=/usr/local/apache2/cgi-bin \
 --enable-imageurl=/images/qmailadmin \
 --enable-imagedir=/usr/local/apache2/htdocs/images/qmailadmin \
 --enable-qmaildir=/var/qmail \
 --enable-ezmlmdir=/usr/local/bin/ezmlm \
 --enable-cgipath=/cgi-bin/qmailadmin \
 --enable-autoresponder-path=/usr/local/bin \
 --enable-vpopuser=vpopmail \
 --enable-vpopgroup=vchkpw \
 --disable-ezmlm-mysql \
 --enable-modify-quota \
 --enable-help 
 When adding the fist Forward I got an empty page as answer, an this in Apache 
 errorlog: 
 *** glibc detected *** /usr/local/apache2/cgi-bin/qmailadmin: double free or 
 corruption (top): 0x01f326e0 ***
 === Backtrace: =
 /lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7f9ed7c8ab96]
 /usr/local/apache2/cgi-bin/qmailadmin[0x421f04]
 /usr/local/apache2/cgi-bin/qmailadmin[0x4219ad]
 /usr/local/apache2/cgi-bin/qmailadmin[0x42202f]
 /usr/local/apache2/cgi-bin/qmailadmin[0x40715d]
 /usr/local/apache2/cgi-bin/qmailadmin[0x4070a3]
 /usr/local/apache2/cgi-bin/qmailadmin[0x4054f5]
 /usr/local/apache2/cgi-bin/qmailadmin[0x4130c3]
 /usr/local/apache2/cgi-bin/qmailadmin[0x402db6]
 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f9ed7c2d76d]
 /usr/local/apache2/cgi-bin/qmailadmin[0x402929]
 === Memory map: 
 0040-00434000 r-xp  08:01 266154 
 /usr/local/apache2/cgi-bin/qmailadmin
 00633000-00634000 r--p 00033000 08:01 266154 
 /usr/local/apache2/cgi-bin/qmailadmin
 00634000-00635000 rw-p 00034000 08:01 266154 
 /usr/local/apache2/cgi-bin/qmailadmin
 00635000-00641000 rw-p  00:00 0
 00fad000-00fce000 rw-p  00:00 0  
 [heap]
 7f9ed79f6000-7f9ed7a0b000 r-xp  08:01 2359340
 /lib/x86_64-linux-gnu/libgcc_s.so.1
 7f9ed7a0b000-7f9ed7c0a000 ---p 00015000 08:01 2359340
 /lib/x86_64-linux-gnu/libgcc_s.so.1
 7f9ed7c0a000-7f9ed7c0b000 r--p 00014000 08:01 2359340
 /lib/x86_64-linux-gnu/libgcc_s.so.1
 7f9ed7c0b000-7f9ed7c0c000 rw-p 00015000 08:01 2359340
 /lib/x86_64-linux-gnu/libgcc_s.so.1
 7f9ed7c0c000-7f9ed7dc1000 r-xp  08:01 2359318
 /lib/x86_64-linux-gnu/libc-2.15.so
 7f9ed7dc1000-7f9ed7fc ---p 001b5000 08:01 2359318
 /lib/x86_64-linux-gnu/libc-2.15.so
 7f9ed7fc-7f9ed7fc4000 r--p 001b4000 08:01 2359318
 /lib/x86_64-linux-gnu/libc-2.15.so
 7f9ed7fc4000-7f9ed7fc6000 rw-p 001b8000 08:01 2359318
 /lib/x86_64-linux-gnu/libc-2.15.so
 7f9ed7fc6000-7f9ed7fcb000 rw-p  00:00 0
 7f9ed7fcb000-7f9ed7fd4000 r-xp  08:01 2359333
 /lib/x86_64-linux-gnu/libcrypt-2.15.so
 7f9ed7fd4000-7f9ed81d4000 ---p 9000 08:01 2359333
 /lib/x86_64-linux-gnu/libcrypt-2.15.so
 7f9ed81d4000-7f9ed81d5000 r--p 9000 08:01 2359333
 /lib/x86_64-linux-gnu/libcrypt-2.15.so
 7f9ed81d5000-7f9ed81d6000 rw-p a000 08:01 2359333
 /lib/x86_64-linux-gnu/libcrypt-2.15.so
 7f9ed81d6000-7f9ed8204000 rw-p  00:00 0
 7f9ed8204000-7f9ed8226000 r-xp  08:01 2359532
 /lib/x86_64-linux-gnu/ld-2.15.so
 7f9ed841a000-7f9ed841d000 rw-p  00:00 0
 7f9ed842-7f9ed8426000 rw-p  00:00 0
 7f9ed8426000-7f9ed8427000 r--p 00022000 08:01 2359532
 /lib/x86_64-linux-gnu/ld-2.15.so
 7f9ed8427000-7f9ed8429000 rw-p 00023000 08:01 2359532
 /lib/x86_64-linux-gnu/ld-2.15.so
 7fffec1e6000-7fffec207000 rw-p  00:00 0  
 [stack]
 7fffec37b000-7fffec37c000 r-xp  00:00 0  
 [vdso]
 ff60-ff601000 r-xp  00:00 0  
 [vsyscall] 
 The Forward is added an I can add and list Forwards from now on, when the 
 last Forward is deleted the error is repeated with the same addresses as far 
 I can see. 
 I Use Ubuntu 12.04.2 LTS, x86_64, fully patched.
 And openssl-1.0.1e, netqmail-1.06, 

Re: [qmailadmin] qmailadmin password change with test password strenght

2013-03-19 Thread Tom Collins
You might want to try this patch out -- it uses cracklib to enforce strong 
passwords.

http://sourceforge.net/tracker/?func=detailaid=1553526group_id=6691atid=306691

I don't know if it will still cleanly apply to the current version, but it 
could be a starting point for you.

-Tom


On Mar 17, 2013, at 11:00 PM, Nicholas C. wrote:

 Hi,
 
 Can I engage someone to write an add-on to do a password strength check?
 
 Many thanks
 
 -Original Message-
 From: Nicholas C. [mailto:nicholasc...@outlook.com] 
 Sent: Monday, 11 March, 2013 12:43 PM
 To: qmailadmin@inter7.com
 Subject: [qmailadmin] qmailadmin password change with test password strenght
 
 Hi,
 
 How can I add a password strength test in qmailadmin? 
 
 Regards
 Nic 
 
 
 
 
 
 
 
 


!DSPAM:5149097f34146777445199!



Re: [qmailadmin] [SPAM] Auto-empty trash items older then a certain age

2012-11-12 Thread Tom Collins
Just want to throw out there that different email clients will use different 
names for their deleted items.

I'm using a cron job to clean up the Trash, Deleted Messages and Deleted 
Items folders, including any folder that starts with those strings.  Survey 
your system and see what variations you find.

I decided not to share my Perl script, since it uses the file date (Perl's -M 
which returns days between script start time and file modification time), not 
the date it was moved into the Trash folder.  Hmm…  I just did some quick tests 
and it looks like I should use -C (days since file change time) to trigger of 
the timestamp of when the file was moved to the trash.

So, here's my script.  Interested in feedback.  I have it in my /etc/cron.daily 
so it runs every night.  The file globs take care of directory hashing for both 
domains and users.

I figured this was more efficient than recursing through the domain list, 
getting a domain's home directory, recursing through the user list and then 
processing the files.

-Tom

#!/usr/bin/perl

$|++;
$days = 45;

@globs = (
'*/*/Maildir/.Trash*/{cur,new}',
'?/*/*/Maildir/.Trash*/{cur,new}',
'*/?/*/Maildir/.Trash*/{cur,new}',
'?/*/?/*/Maildir/.Trash*/{cur,new}',

'*/*/Maildir/.Deleted\ {Messages,Items}*/{cur,new}',
'?/*/*/Maildir/.Deleted\ {Messages,Items}*/{cur,new}',
'*/?/*/Maildir/.Deleted\ {Messages,Items}*/{cur,new}',
'?/*/?/*/Maildir/.Deleted\ {Messages,Items}*/{cur,new}'
);

$c = 0;

print Deleting mail in .Trash and .Deleted Messages folders, over $days days 
old.\n;

foreach $path (@globs)
{
while ($name = glob ('/home/vpopmail/domains/' . $path))
{
opendir (D, $name) or print failed to open $name\n;
while ($f = readdir(D))
{
# skip non-files
next if (! -f $name/$f);
$t = -C $name/$f;
if ($t  $days)
{
unlink $name/$f;
$c++;
}
}
}
}

print Deleted $c messages over $days days old\n;


On Nov 12, 2012, at 8:21 AM, Matt Rauch wrote:

 Hello,
 
  Sorry if this isn't the place to ask, but I've looked 
 all over and haven't managed to find a clear solution. I'm 
 looking for a way to have items that have been in the user's 
 .Trash folder for a certain period of time (lets say 30 days 
 or older) removed automatically. I thought there must be 
 built-in functionality for this, or a script someone has come 
 up with to manage this sort of thing. I've see a squirrelmail 
 plugin that does it based on number of logins or every x 
 number of days, but it empties the whole trash and doesn't 
 check each message's age individually.
 
 Any help would be greatly appreciated.
 
 Thanks,
 
 Matt Rauch
 
 Just to update everyone. I did find a way to accomplish this even though we
 are using the vpopmail auth. I found this script online and modified it to
 fit my login info:
 --
 #!/usr/local/bin/bash
 # MySQL details
 
 HOST=localhost;
 USER=vpopmail;
 PWD=vpopmail passwd;
 
 # Output sql to a file that we want to run
 echo USE vpopmail; select concat(pw_name,'@',pw_domain) as username from
 vpopmail;  /tmp/query.sql;
 
 # Run the query and get the results
 results=`mysql -h $HOST -u $USER -p$PWD -N  /tmp/query.sql`;
 
 # Loop through each row
 for row in $results
 do
 /usr/local/bin/doveadm expunge -u $row mailbox Trash savedbefore 52w
 done
 
 -
 
 Maybe this can help someone else who is in the same boat.
 
 Matt Rauch
 
 
 
 


!DSPAM:50a11bf333991914119077!



Re: [qmailadmin] [SPAM] qmailadmin and .qmail files break functionality

2012-08-18 Thread Tom Collins
That sounds like code that I wrote.

I tried to overhaul the .qmail processing code many years ago, and the 
resulting code didn't go through a huge amount of testing.

I'm not actively involved in QmailAdmin maintenance, so it's going to be up to 
someone else to try troubleshooting this.  Because it's a CGI script, and 
difficult to run in a debugger, I'd suggest adding a bunch of fprintf() 
statements to dump debugging information to a log file for later analysis.

It might be possible to set up environment variables so the qmailadmin CGI 
thinks it's being called from Apache, and use strace or gdb to find the cause 
of the segfault.

The goal of the .qmail code was for it to not touch entries it didn't 
understand, and to only add/remove entries as needed.

-Tom


On Aug 17, 2012, at 5:20 AM, m...@pcintelligence.nl wrote:

 Hello,
 
 I am using Debian 32 bit with Qmailadmin (1.2.16) + Vpopmail following the 
 the THibs qmailrocks page:
 http://qmailrocks.thibs.com/
 
 I create some .qmail files for some users in their vpopmail directories with 
 according .mailfilter files.
 Mailfiltering is working fine.
 
 Now when I want to create an Out of Office via the qmailadmin interface I get 
 the following error:
 
 Aug 17 13:45:10 vps1032 kernel: [ 1066.074279] qmailadmin[2999]: segfault at 
 46 ip b7381d3d sp bff6d69c error 4 in libc-2.11.3.so[b7345000+14]
 Aug 17 13:45:28 vps1032 kernel: [ 1084.075634] qmailadmin[3003]: segfault at 
 46 ip b7393d3d sp bfbe75ec error 4 in libc-2.11.3.so[b7357000+14]
 
 My .qmail file: |preline /usr/bin/maildrop 
 /home/vpopmail/domains/pcintelligence.nl/mve/.mailfilter
 
 When I move the .qmail file to 'dotqmail', making it useless then the out of 
 office works fine.
 
 Any help is much appreciated so I can keep my server filter rules :)
 
 Kind regards,
 
 Michiel van Es
 
 
 


!DSPAM:502fc31234211086332455!



[qmailadmin] [SPAM] RE: [qmailadmin] [SPAM] Patching qmailadmin to compare username and passwords

2012-06-04 Thread Tom Collins
I can't recall the API for GetValue, but the call there doesn't look
correct.  There should have been some compiler errors in there...

Is the fourth parameter the size of the buffer at the second parameter?  If
so, keep it set to sizeof Newu, or however you see it in other function
calls.

And Simone Lazzaris is correct, tolower() take a single char as an argument
(not a pointer to a string) and returns the lowercase version of that char.

There are functions already in QmailAdmin for converting an entire string to
lowercase or uppercase.  It's been many years since I've worked with that
code, so I can't remember the names.  Try looking in util.c.

-Tom

-Original Message-
From: Adam Lyle [mailto:adam.l...@gmail.com] 
Sent: Monday, June 04, 2012 6:56 AM
To: qmailadmin@inter7.com
Subject: [qmailadmin] [SPAM] Patching qmailadmin to compare username and
passwords

Greetings,

I'll start by saying that I am not a C programmer, but I have been
looking through the source code trying to get this functionality to
work. Here's my end goal.

The username is converted to lowercase
The password is converted to lowercase
They are compared and if the same or similar an error is generated.

Now, I know that this is similar to the trivial passwords check, but
there is a difference that I will explain.

I have patched qmailamin 1.2.15 to use the cracklib patch, and that is
working well. I enabled trivial password checking and that works,
mostly. I have been able to still get by a weak combination using the
following:
username: TestWeak1
password: TestWeak1

What I believe is happening is that qmailadmin is converting the
username to lowercase at some point but leaving the password
unaltered. When it does the strstr compare it doesn't match, so it
passes the combination as being good.


I tried cobbling this together:
  GetValue(TmpCGI,Newu, newu=, tolower(Newu));
  GetValue(TmpCGI,Password1, password1=, tolower(Password1));
  if ( strstr(Newu,Password1) !=NULL ) {
snprintf (StatusMessage, Bad username and password combination,
to similar - %s\n, html_text[175]);
adduser();
vclose();
exit(0);
  }

But while that compiles without an error, qmailadmin fails when I try
to add a new user.

I've tried searching various C programming pages, but without a solid
frame of reference I am just taking stabs in the dark.

Does anyone have a way to include this functionality??

Thanks,
-Adam





!DSPAM:4fcc765b34204458318646!



[qmailadmin] [SPAM] Re: [qmailadmin] [SPAM] Bug - additional From and Subject headers in vacation message

2012-02-15 Thread Tom Collins
No, you're far from the only one seeing the problem.  It's just that no one has 
taken the time to fix it.

-Tom


On Feb 13, 2012, at 10:37 AM, Hans F. Nordhaug wrote:
 Hi,
 
 I wasn't sure if anyone is watching the bug tracker of sf.net, so I'm
 trying here first. I noticed recently that the vacation/auto-responder 
 messages is formated strangely with extra From and Subject lines in
 the e-mail body. I was able to track it down. In the function
 makevacation in the file user.c, you'll see 
 
  fprintf(f, From: %s@%s\n, ActionUser, Domain);
  fprintf(f, Subject: %s\n\n%s, subject, Message);
 
 That explains why the file domain/user/vacation/message contains these
 extra headers. So should we fix the makevacation function or is it 
 better to improve autorespond program so it uses these extra headers?
 
 I have check autorespond 2.0.4 and qmailadmin 2.16.
 
 Regards,
 Hans
 
 PS! Am I really the only one seeing this problem?
 
 
 


!DSPAM:4f3bf81c34179111917852!



Re: [qmailadmin] qmailadmin has problems with ezmlm-idx 7.0.2: Patch

2011-08-17 Thread Tom Collins
if (dbuf) will always be true, since you're referring to the array.  I
think you want if (*dbuf) (e.g., if the first character of dbuf is not
null).  Likewise, your test of strcmp(dir,)==0 would be clearer as
just *dir == '\0'.

Use strcpy instead of sprintf to copy strings like this:
sprintf(dbuf,digest).

But then again, why bother -- here's a better solution:

char *dbuf = NULL:
...
dbuf = digest;
...
if (dbuf) {
...
}

Does anyone have suggestions for how to support both versions of ezmlm in
the qmailadmin codebase?  Compile-time check which sets a configuration
macro?

-Tom

Sirko Zidlewitz wrote:
 My Collegue Robert Schulze r...@bytecamp.net has written a patch
 for mailinglist.c, but it is for qmailadmin 1.2.15.
 It works for us. Thanks Rob.



 --- mailinglist.c.orig2011-08-17 15:53:26.0 +0200
 +++ mailinglist.c 2011-08-17 15:53:32.0 +0200
 @@ -665,6 +665,7 @@
   int handles[2],pid,z = 0,subuser_count = 0;   char buf[256];
   char *addr;
 + char dbuf[10]={0};
 if ( AdminType!=DOMAIN_ADMIN ) {
  snprintf (StatusMessage, sizeof(StatusMessage), %s,
 html_text[142]);
 @@ -680,14 +681,21 @@
  close(handles[0]);
  dup2(handles[1],fileno(stdout));
  sprintf(TmpBuf1, %s/ezmlm-list, EZMLMDIR);
 +
  if(mod == 1) {
 -sprintf(TmpBuf2, %s/%s/mod, RealDir, ActionUser);
 + sprintf(dbuf,mod);
  } else if(mod == 2) {
 -sprintf(TmpBuf2, %s/%s/digest, RealDir, ActionUser);
 -} else {
 -sprintf(TmpBuf2, %s/%s/, RealDir, ActionUser);
 + sprintf(dbuf,digest);
 +}
 +
 +sprintf(TmpBuf2, %s/%s/, RealDir, ActionUser);
 +
 +if(dbuf) {
 + execl(TmpBuf1, ezmlm-list, TmpBuf2, dbuf, NULL);
 +}
 +else {
 + execl(TmpBuf1, ezmlm-list, TmpBuf2, NULL);
  }
 -execl(TmpBuf1, ezmlm-list, TmpBuf2, NULL);
  exit(127);
} else {
  close(handles[1]);
 @@ -799,9 +807,16 @@
pid=fork();
if (pid==0) {
  snprintf(subpath, sizeof(subpath), %s/ezmlm-sub, EZMLMDIR);
 -snprintf(listpath, sizeof(listpath), %s/%s/%s,
 -  RealDir, ActionUser, dir);
 -execl(subpath, ezmlm-sub, listpath, email, NULL);
 +snprintf(listpath, sizeof(listpath), %s/%s/,
 +  RealDir, ActionUser);
 +
 +if(strcmp(dir,)==0) {
 +execl(subpath, ezmlm-sub, listpath, email, NULL);
 +}
 +else {
 +execl(subpath, ezmlm-sub, listpath, dir, email, NULL);
 +}
 +
  exit(127);
} else wait(pid);
  @@ -870,6 +885,7 @@
  {
   int pid;
   char *p;
 + char dbuf[10]={0};
 if ( AdminType!=DOMAIN_ADMIN ) {
  snprintf (StatusMessage, sizeof(StatusMessage), %s,
 html_text[142]);
 @@ -889,13 +905,18 @@
if (pid==0) {
  sprintf(TmpBuf1, %s/ezmlm-unsub, EZMLMDIR);
  if(mod == 1) {
 -sprintf(TmpBuf2, %s/%s/mod, RealDir, ActionUser);
 + sprintf(dbuf,mod);
  } else if(mod == 2 ) {
 -sprintf(TmpBuf2, %s/%s/digest, RealDir, ActionUser);
 -} else {
 -sprintf(TmpBuf2, %s/%s/, RealDir, ActionUser);
 + sprintf(dbuf,digest);
 +}
 +
 +sprintf(TmpBuf2, %s/%s/, RealDir, ActionUser);
 +if(!dbuf) {
 +   execl(TmpBuf1, ezmlm-unsub, TmpBuf2, Newu, NULL);
 +}
 +else {
 +   execl(TmpBuf1, ezmlm-unsub, TmpBuf2, dbuf, Newu, NULL);
  }
 -execl(TmpBuf1, ezmlm-unsub, TmpBuf2, Newu, NULL);
  exit(127);
} else wait(pid);


 




-- 
Tom Collins
t...@tomlogic.com


!DSPAM:4e4bd83732711373790421!



Re: [qmailadmin] [SPAM] Incorrect quota usage reported

2011-05-13 Thread Tom Collins
On May 13, 2011, at 3:45 PM, Wade Rossmann wrote:
 The server is quite old and has a tenuous grasp on stability, we cannot have 
 the server/service go down so we are hesitant to perform software upgrades. 
 We've got new servers we're moving to that are based on Postfix/Dovecot, but 
 we're trying to 'gently encourage' users to reduce their disk usage 
 beforehand. The trouble is the quota reporting is telling them they are not 
 over quota at all.

I've had good luck with just using a script to do a `du` on each user's 
directory, and send them an email if they're over a certain limit.  You can do 
it daily or weekly, and if it's a big problem you can even cc the user's boss 
to get some action out of them.

-Tom




!DSPAM:4dcdbbe232711632919665!



Re: [qmailadmin] Re: duplicate emails with name change

2011-03-19 Thread Tom Collins
Matt,

I recall adding code to QmailAdmin to have it parse the .qmail file to identify 
the entries so that when saving it back out, it wouldn't replace custom 
delivery lines.  I think this was around the time I removed the ability to 
enter a program delivery line on that screen -- a huge security hole since any 
user could then have vdelivermail execute any program as the vchkpw user.

My guess is that it didn't recognize one of the lines, either due to it being a 
manual edit or because it was written by an older version.

If Eric can produce one of the duplicated .qmail files, or perhaps another 
.qmail file from the same era, it should be possible to update QmailAdmin to 
recognize the delivery instruction.

-Tom


On Mar 17, 2011, at 12:44 PM, Matt Brookings wrote:
 On 03/17/2011 10:58 AM, Eric Shubert wrote:
 On 03/17/2011 08:50 AM, Matt Brookings wrote:
 On 03/17/2011 10:42 AM, Eric Shubert wrote:
 I noticed a while back that after changing someone's name with
 qmailadmin, they began receiving duplicate emails. This was caused by
 duplicate entries that qmailadmin had created in their .qmail file.
 
 It was simple enough to correct, but I think it's a bug that should be
 fixed. This was in qmailadmin-1.2.15 I believe. Does anyone know if
 this problem has been fixed?
 
 No problem.  I'd like to get a bug of that caliber fixed.


!DSPAM:4d84d52632711133120378!



Re: [qmailadmin] Qmailadmin and .qmail files

2010-11-07 Thread Tom Collins
Take a look at user.c.  You'll want to grep for /autorespond to find the 
three spots where it writes to the .qmail file, and where it parses the 
contents of the qmail file.

If you modify those locations, you should be able to use your 
autorespond-script instead.

-Tom


On Nov 4, 2010, at 9:15 AM, William Olson wrote:

 What my issue here is where (or how) does qmailadmin modify the .qmail file? 
 I was looking at the source of qmailadmin (latest) and I was looking at both 
 autorespond.c and .h and I cannot figure this out. Another idea I had was to 
 have a wrapper around autorespond. I just wanted to get some ideas from all 
 of you.
 
 Please let me know if you need any additional information. Thank you for your 
 time.


!DSPAM:4cd6e88632711576610790!



Re: [qmailadmin] QmailAdmin 1.2.14 released

2010-03-27 Thread Tom Collins
Well, I guess I missed incrementing the version number to 1.2.14.  As you can 
see, not much has been happening with QmailAdmin in the past year.  There was a 
tracker item related to the error in command.c, so I figured I should actually 
release the 1.2.14 sitting on my server.

I'm still using CVS for managing QmailAdmin, and will gladly pass the torch to 
Rick and Matt.  Comments below...

-Tom

On Mar 26, 2010, at 5:34 PM, Rick Widmer wrote:
 Have you updated SVN?   I'm not seeing any mention of .14 yet.
 
 Am I missing developer access to svn somewhere?  I am still having a hard 
 time finding my way around the new SourceForge web site...
 

I checked the code into CVS.  Was there a migration to SVN that I didn't know 
about?  Why is CVS still active then?

 o 1.2.14 needs to be committed into stable-1_2 branch,
  and a tag created.

I thought that I had done this.  I see now that I only checked it in to the old 
CVS repository.  Rick, if you download the tarball, you should be able to get 
the updated files and create a 1.2.14 in Subversion.

 o All references to qmailadmin 1.4 should be changed
  to 1.3, including the name of the branch.
 
 o stable-1_2 and v1_3_0 should be merged into trunk.
  Set the version to 1.3.0, create a tag and release
  as the latest development version.
 
 o Add a note on the download page of sourceforge that
  the big green download button is the stable release
  and works with vpopmail 5.4, for vpopmail 5.5 use
  version 1.3 from qmailadmin-devel.

That all sounds good to me.

 
 In the future we should:
 
 o New development in trunk.  Vpopmail 5.5 is required.
 
 o Bug fixes only in stable-1_2 and merged into trunk.
  This version always works with vpopmail 5.4.
 
 o When vpopmail 5.5 becomes stable, move qmailadmin 1.3 to stable.
 
 o Abandon or remove v1_3_0 branch.
 

I like that as well.

I'll make one additional request -- release an updated Vpopmail 5.4 to address 
the vusaged issues people report (I think there's a missing file in the install 
process?) so that we have a truly stable Vpopmail 5.4/QmailAdmin 1.2 for people 
to use.

-Tom
!DSPAM:4bae1de932711522423885!



[qmailadmin] QmailAdmin 1.2.14 released

2010-03-26 Thread Tom Collins
http://qmailadmin.sf.net/

1.2.14 - released 25-Mar-10

Peter Pentchev
- Update the Bulgarian translation

Harm van Tilborg
- Fix error in command.c preventing --enable-catchall from working.

-Tom



!DSPAM:4bac521c32713008318767!



Re: [qmailadmin] QmailAdmin 1.2.14 released

2010-03-26 Thread Tom Collins
On Mar 26, 2010, at 12:47 AM, Qmail List wrote:
  - Fix error in command.c preventing --enable-catchall from working.
 
 So this release fixed up the --enable-catchall?

Was the ChangeLog entry not clear enough?  Yes, it did.

-Tom




!DSPAM:4bacfb0b32711242221141!



Re: [qmailadmin] Status of development

2009-08-14 Thread Tom Collins

Matt,

The 1.3 branch didn't get off to a good start, and I continued to  
maintain (somewhat) the 1.2 branch. I think that would be the proper  
place to start, perhaps creating a 1.5 dev branch that could become a  
1.6 release at some point.


Note that I had started on an attempt at putting all HTML in a html.h  
file, so that a template could have .html files and a matching html.h.  
Ultimately though, we need a new template system that keeps all markup  
in the .html files. I had some ideas on that that we could discuss if  
you're interested.


-Tom
(Sent from my iPhone)

On Aug 14, 2009, at 11:49 AM, Matt Brookings m...@inter7.com wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm trying to determine where to begin with the qmailadmin project.   
Essentially, the current
trunk is not in the shape it should be, and I'm thinking 1.2.13  
would be the best starting point
for which to begin the branch that will support the 5.5 branch of  
vpopmail.


Does anyone have any input or clues?  The ChangeLog file has not  
been updated regularly.

- --
/*
   Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
   Software developer Systems technician
   Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqFh6IACgkQIwet2/rgZywgtwCfR57/muHSs9QewJNavVlTh00P
QKUAniIk0AcouOnzcGGFRfEzvFjFnDcY
=OGJ1
-END PGP SIGNATURE-


!DSPAM:4a858a6032712103811938!



Re: [qmailadmin] qmailadmin subversion branch

2009-08-14 Thread Tom Collins

Matt,

One other thought -- before you jump into updating QmailAdmin,  
perhaps you should take a look at the project to replace QmailAdmin  
with a PHP-based version.  I don't know how much progress they made,  
but it might be a better direction for the project.


-Tom


!DSPAM:4a8630d03275537115!



Re: [qmailadmin] Some enhancement to qmailadmin

2009-05-02 Thread Tom Collins
Simone's patch is going into the soon-to-be-released 1.2.13.  He's  
added something that I've been doing manually for the past year or  
more -- disable the options to change the catchall address.


I highly recommend that you use that option and don't allow your  
users/customers to set a catchall.  They're nothing but trouble with  
all of the spamming that goes on.


-Tom


On Feb 26, 2009, at 2:45 AM, Simone Lazzaris wrote:

Hello everybody,
I've made some modification to qmailadmin, in order to be able to  
disable the
use of catch-all accounts (which are a bane in our setup, as they  
will be
abused by spammers) and to refuse passwords which are too guessable  
(some of

our customers use the login name as password).
I've also update the configure.in script in order to enable/disable  
the

features.
I'm attaching the patch; I hope that it'll be useful to someone  
else, and

maybe find the way of the inclusion in the next releases.

--
Simone Lazzaris
   INTERACTIVE NETWORK SRL
   Via Roggia Vignola 9, 24047 Treviglio (BG)
   tel : +39 0363.302820
   fax : +39 0363.304352
   web : http://www.interactive.eu
   email : s.lazza...@interactive.euqmailadmin.patch!DSPAM: 
49a672cf32687516861642!




PGP.sig
Description: This is a digitally signed message part
!DSPAM:49fc9d4d32681234921364!

[qmailadmin] QmailAdmin 1.2.13 released

2009-05-02 Thread Tom Collins

http://qmailadmin.sf.net/

1.2.13 - released 2-May-09

QmailAdmin is in maintenance mode, so these are minor changes that have
piled up over the past year or so.  Be sure to check out the -- 
disable-catchall

and --disable-trivial-password options.

ChangeLog:

  Simone Lazzaris
  - Add --disable-catchall and --disable-trivial-password options
 to configure scripts.

  Tom Collins
  - qmailadmin.c: check return value of setuid() and setgid() and
 exit if either fail (security issue reported by Miguel Lourenco).
  - template.c: fix for potential XSS (cross-site scripting) hole
 in the login page (reported by Michael Middleton).
  - mailinglist.c: Increase size of tmp buffer used to delete
 orphan .qmail files when removing a mailing list (reported by
 William Fuller).
  - auth.c: Fix compiler warning.  Variable ip_value only used if
 IPAUTH is defined.
  - util.c: minor performance improvement (use strchr instead of
 strstr) in open_lang().
  - command.c: disabled catchall commands unless enabled

  Chaz Owensby
  - Report disk usage to non-admin user on their Modify User page.

  Tomas Kuliavas
  - Updated Lithuanian translation. [1913361]

  Dvorkin Dmitry
  - Updated Russian translation (now in utf8).

  Ismail YENIGUL
  - qmailadmin.c: check return value of open_lang() in load_lang()
 and exit on failure.




!DSPAM:49fc9fbf32688543116631!


Re: [qmailadmin] overwork of templates

2009-04-30 Thread Tom Collins

On Apr 27, 2009, at 1:38 AM, d...@stean.ch wrote:

are there any plans to overwork the templates of qmailadmin
to use more actual html technology, well css which is not yet
used in them. or at least to separate code and template the
way that i don't have to patch the code to be able to provide
a real customer tailored theme for it?



For the 1.2.12 release, I started moving all HTML out of the source  
code and into an html.h file.  I only did alias.c as a test of the  
technique, and never got around to the other files.


The idea was that it would be easier for someone to provide a  
replacement html.h along with new templates.  Of course, modifying  
our template system to keep all of the HTML in the templates would be  
the best thing and could possibly be accomplished with JavaScript and  
AJAX/JSON.


I've been way to busy to spend time on QmailAdmin, so someone else  
would have to run with this idea.  I had started the work because  
someone (can't recall who at this point) had offered to completely  
redesign the HTML templates.


I see that I have an unreleased 1.2.13 that I should try to push out  
before too long...


-Tom




!DSPAM:49fa482432688254211042!



Re: [qmailadmin] problem with copy+forward

2009-03-01 Thread Tom Collins

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Feb 27, 2009, at 2:47 PM, John Simpson wrote:
i haven't compiled or tested this, but the basic idea seems  
sound... and as long as this code runs before anything else tries  
to use TheUserExt or TheExt (i haven't walked the entire program  
but i'm pretty sure it does) the change shouldn't affect any other  
parts of the code at all, other than accurately detecting where the  
mailbox name ends and the extension begins.


i see tom is on this list as well- any comments? am i missing  
something stupid? should we move this discussion to the vpopmail  
(or vpopmail-devel) list?




I made a lot of changes to vdelivermail somewhere in the 5.4 branch,  
but I avoided making changes to the code you referenced.  It was hard  
to follow, and I wasn't even sure how I would go about testing it.


We should move the discussion over to the vpopmail-devel list.   
vpopmail has a new maintainer now, so it shouldn't be hard to get  
your proposed changes into the next release.  Reading through your  
email, I'd say your logic makes sense -- scanning should happen from  
the end of the name, not the start.


- -Tom



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFJqtdHve7eT9VwhJURAsXGAJ9kmD6DpDetLlnALB6HG7/k3OcItwCfW70s
7i11c/u8Bb6nW3zoMJhOd1c=
=0zCM
-END PGP SIGNATURE-

!DSPAM:49aad77232681552610396!



[qmailadmin] QmailAdmin 1.2.12 moved from devel to stable

2009-01-06 Thread Tom Collins
Just a quick FYI, I moved QmailAdmin 1.2.12 from devel to stable.   
It's been out for over a year now, and there aren't any reasons that  
I know of not to use it.


http://qmailadmin.sf.net/

-Tom




!DSPAM:4964475332671600513737!


Re: [qmailadmin] onchange works for vpopmail, but not for qmailadmin

2008-06-03 Thread Tom Collins

On Jun 3, 2008, at 12:48 AM, Maurizio Rottin wrote:

this is the point, you are right!
i always forget that centos adds users directory with mask 700
drwx-- 9 vpopmail vchkpw   4096 15 feb 11:43 vpopmail

a chmod 755 does the job!



You really only need to add the world execute bit (I'm pretty sure)  
to the directory.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/



!DSPAM:48461f8132354968522470!



Re: [qmailadmin] Display User's Used Space in Quota

2007-11-14 Thread Tom Collins

On Nov 14, 2007, at 11:30 AM, Chaz Owensby wrote:

This might not be helpful, or it may duplicate other's work, but in a
brief look through the mail list archive and the code I didn't see way
to display to the end user the amount of space their account was  
using.


Thanks for the code Chaz, I'll try to get it into the next release of  
QmailAdmin.  Once I fully integrate it, I'll post a patch back to the  
list that can be applied to most recent versions of QmailAdmin.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/



!DSPAM:473b523b32006314317417!



Re: [qmailadmin] ezmlm MySQL Support

2007-11-13 Thread Tom Collins

On Nov 13, 2007, at 8:55 AM, John Simpson wrote:
i wrote a patch for qmailadmin which adds it, i guess it depends on  
if you're using that patch or if you're using a new enough version  
of qmailadmin that includes that (i believe tom said he was going  
to add the patch to a new version of qmailadmin, i haven't been  
watching very closely so i'm not sure if that's done or not.)


this is the web page with the patch...

http://qmail.jms1.net/vpopmail/


It's in 1.2.12 in CVS, and it's just waiting for me to package it up  
and release it.  I'll try to do that today.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/



!DSPAM:4739f04132006848810892!



[qmailadmin] QmailAdmin 1.2.12 released, v1.2.11 moved from -devel to -stable

2007-11-13 Thread Tom Collins

http://qmailadmin.sf.net/

Even though 1.2.12 is out, it doesn't correct any critical problems  
with 1.2.11.  1.2.11 has been out for 10+ months, I've personally  
been running it for at least a year, so I'm comfortable calling  
1.2.11 stable, and releasing 1.2.12 as devel.


-Tom

1.2.12 - released 13-Nov-07

Minor fixes to a release that's now over 10 months old.

ChangeLog:

John Simpson
- mailinglist.c: call vpopmail's onchange onchange handler when
  adding or removing a mailing list.

Jorgen Moth
- user.c: Make sure number_of_mailinglists  0 before malloc() in
  addusernow(). [1647157]

Tom Collins
- Use function to generate cgi URLs.
- Remove unused AliasType variable.
- Use email address instead of maildir for catchall.
- Move HTML out of alias.c and into html.h as move toward more
  flexible HTML templates.
- When deleting a subscriber, convert '=' to '@' if no '@'. [1651370]
- Slight change to Jorgen Moth's patch.
- mailinglist.c: make sure name of list to delete is valid.

1.2.11 - released 29-Dec-06 (-devel), 13-Nov-07 (-stable)

Minor fixes and translation updates before we switch to new HTML  
templates.


ChangeLog:

Brandon
- Add missing semi-colons to nbsp; tags in user.c. [1537587]

Andreas Tolfsen
- Added Norwegian translation for strings 316 and 317.

Juergen Kendzorra
- Add strings 316  317 to German translation, plus fix some
  grammatical errors.

Nicolas Croiset
- Add strings 316  317, fix string 267 in French translation.

Oden Eriksson
- Add string 316 to Swedish translation.

Dave Steinberg
- Add --enable-spamcmd-needs-email option to configure to have
  QmailAdmin include the user's email address as the last
  parameter to --enable-spam-command.

Tom Collins
- Create autoresponder message before creating its .qmail file.
- Deliver copy before autoresponding to ensure delivery.
- On Modify User page, add current domain to forwarding address
  if it doesn't already include a domain. [1508971]
- Don't try to add list owner as moderator of new unmoderated list.


!DSPAM:473a7ea332002098514821!



Re: [qmailadmin] Double E-Mail

2007-11-08 Thread Tom Collins

On Nov 8, 2007, at 7:54 AM, Richard Secor wrote:
Currently we are using maildrop to check messages and move them to  
a Spam folder where they are found to be Spam.

So every pop box has a .qmail file with the following contents:
| preline -f /usr/local/bin/maildrop mailfilter


Are you using QmailAdmin's --enable-spam-command configure option?  I  
don't know much about how it works, but that may take care of your  
problem.


When QmailAdmin modifies a user's .qmail file, it leaves in lines it  
doesn't recognize, but it also assumes that it is responsible for  
delivery.  If you set the enable-spam-command, I'm pretty sure it  
uses that instead of the Maildir for final delivery.  It also adds a  
checkbox to the moduser page where you can turn spam checking on and  
off.  If you don't want users to be able to turn it off, modify  
mod_user.html and replace


input type=checkbox name=spamcheck ##i9

with

input type=hidden name=spamcheck value=1

--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/



!DSPAM:47334e2432001866918495!



Re: [qmailadmin] bug report

2007-11-03 Thread Tom Collins
Sorry for taking so long to respond to this.  I've confirmed what  
you've written, and I've added a patch to the upcoming QmailAdmin  
1.2.12 that checks for this.  Thanks for reporting the problem.


-Tom

On Aug 1, 2006, at 7:14 PM, [EMAIL PROTECTED] wrote:

hi

we found serious bug of qmailadmin.
what will happen is all the directory will destroy.

the case was...

1. make mailinglist address with qmailadmin
=
10.10.10.30 - - [02/Aug/2006:10:28:15 +0900] GET /cgi-bin/ 
qmailadmin/com/addmailinglist? 
user=postmasterdom=sample.co.jptime=1154482055dt=0 HTTP/1.1 200  
7998 http://sample.co.jp/cgi-bin/qmailadmin/com/showmailinglists? 
user=postmasterdom=sample.co.jptime=1154482055 Mozillla/4.0  
(compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
10.10.10.30 - - [02/Aug/2006:10:28:27 +0900] POST /cgi-bin/ 
qmailadmin/com/addmailinglistnow? 
user=postmasterdom=sample.co.jptime=1154482055 HTTP/1.1 200  
5325 http://sample.co.jp/cgi-bin/qmailadmin/com/addmailinglist? 
user=postmasterdom=sample.co.jptime=1154482055dt=0 Mozillla/ 
4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)


2. then delete mailinglist address.
=
10.10.10.30 - - [02/Aug/2006:10:29:06 +0900] GET /cgi-bin/ 
qmailadmin/com/delmailinglist? 
user=postmasterdom=sample.co.jptime=1154482055modu=test HTTP/ 
1.1 200 2439 http://sample.co.jp/cgi-bin/qmailadmin/com/ 
addmailinglistnow? 
user=postmasterdom=sample.co.jptime=1154482055 Mozillla/4.0  
(compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
10.10.10.30 - - [02/Aug/2006:10:29:11 +0900] POST /cgi-bin/ 
qmailadmin/com/delmailinglistnow? 
user=postmasterdom=sample.co.jptime=1154482055 HTTP/1.1 200  
4490 http://sample.co.jp/cgi-bin/qmailadmin/com/delmailinglist? 
user=postmasterdom=sample.co.jptime=1154482055modu=test  
Mozillla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR  
1.1.4322)


3. after that u will got the address like this on the address bar on
your browser.
=
   http://sample.co.jp/cgi-bin/qmailadmin/com/delmailinglistnow? 
user=postmasterdom=sample.co.jptime=1154482055


4.k! now the main point. ENTER the URL.
=
10.10.10.30 - - [02/Aug/2006:10:29:45 +0900] GET /cgi-bin/ 
qmailadmin/com/delmailinglistnow? 
user=postmasterdom=sample.co.jptime=1154482055 HTTP/1.1 200  
8058 - Mozillla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;  
SV1; .NET CLR 1.1.4322)



5. and look under then domain directory.
ALL DIRECTORY HAS BEEN DELETED...vpasswd and etc,, everything gone...


please confirm this.






!DSPAM:472cb7dd32001535157856!



Re: [qmailadmin] Execute a command after create an user

2007-10-24 Thread Tom Collins

On Oct 24, 2007, at 11:41 AM, Rodrigo Monteiro wrote:

Is that possible in qmailadmin?
What should I change?


Take a look at John Simpson's onchange patch for vpopmail: http:// 
qmail.jms1.net/vpopmail/.


Or, if you only need it for users added via QmailAdmin, take a look  
at the README.hooks file in QmailAdmin for information on having it  
run a script after adding a user.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/




Re: [qmailadmin] New features

2007-09-08 Thread Tom Collins

On Sep 8, 2007, at 3:23 PM, Tren Blackburn wrote:
Also is there any progress on the skin able qmailadmin that was  
being talked about on the list about 4 or 6 months ago? I've been  
eagerly awaiting that.


Early this year, I started working on getting all of the HTML out of  
the .c files and at least into a .h file so a skin could include a  
replacement html.h with it's html templates, and all would be well.


I sent it back to the guys who worked on the original new skin, but  
the momentum has faded.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/




Re: [qmailadmin] qmailadmin-1.2.9 logger patch

2007-08-22 Thread Tom Collins

On Aug 21, 2007, at 4:49 PM, Rainer Duffner wrote:
I am too lazy to check - does the onchange-facility log the IP of  
the client?

Going through the apache logfile can be tedious, if it is large.


If you looked at John's message that I replied to, you'll see that  
although the script isn't passed the IP, it should have access to the  
same environment variables the web server passes to QmailAdmin, so  
checking REMOTE_ADDR should give you the IP of the person who made  
the change.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/




Re: [qmailadmin] qmailadmin-1.2.9 logger patch

2007-08-21 Thread Tom Collins

On Aug 21, 2007, at 12:45 PM, John Simpson wrote:
and before you do this: if your qmailadmin interface is available  
on a non-SSL web site, that needs to be changed. otherwise, anybody  
with a packet sniffer in the right place will be able to literally  
WATCH your users log into their domains, and read their passwords  
right off the wire.


this is dangerous, not only because it lets them go back in and  
change mailboxes around, but because if you allow people to relay  
using the AUTH command, this gives the attacker an email/password  
combination which can be used to relay spam through your server.


John,

I've always wondered whether this actually happens, at least in the  
US.  I'm a little more concerned when traveling overseas, but do  
hackers still get passwords this way?  Maybe sniffing an unencrypted  
Wifi network, but with most wired networks using switches, it'd be  
very hard to get a packet logger on a segment that could see all  
traffic.


-Tom




Re: [qmailadmin] XSS patch

2007-06-18 Thread Tom Collins

On Jun 18, 2007, at 10:40 AM, ed wrote:
In order to get PCI valid I had to patch qmailadmin so that  are  
gt;

lt; I have attached the diff for -stable. Everything should be sane,
but I admit that these changes were done in a bit of a rush just so we
can get the PCI badge.

I've no idea if attachments are stripped from list postings.


Where were the symbols not getting printed correctly?  When I added  
the printh and sprinth commands, it should have taken care of  
converting , ,  and .  I thought the 1.2.4 release took care of  
possible XSS attacks.


-Tom




Re: [qmailadmin] Qmail admin sessions

2007-05-15 Thread Tom Collins

On May 15, 2007, at 12:18 PM, [EMAIL PROTECTED] wrote:

I peeked at the source and figured it out.
C is hard =/
As a public service, a file containing data like:
ip_addr=1.1.1.1returntext=returnhttp=
is created in the users homedir when they login and removed when  
they logout.


If their IP is changing and causing them to get logged out, you can  
recompile qmailadmin with --disable-ipauth to skip the IP check.


Note that I had one customer who ran into this because his virus  
scanner/system security suite was triggering a remote server to  
download copies of the same pages he was requesting.  Definitely  
caused problems.


-Tom




Re: [qmailadmin] Switching a domain and its aliased domain

2007-05-02 Thread Tom Collins

On May 2, 2007, at 6:35 AM, Peter Skipworth wrote:
5. Edit /home/vpopmail/domains/myaliasdomain.com/vpasswd and change  
all directories to be under /home/vpopmail/domains/myaliasdomain.com


If you forgot to delete vpasswd.cdb, it's still using the old paths.

One trick is to delete the old domain directory entirely, and create  
an symbolic link (ln -s) from the old directory to the new directory.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/




Re: [qmailadmin] BUG: deleting user assigned as catchall results in invalid catchall

2007-04-18 Thread Tom Collins

On Apr 17, 2007, at 4:34 PM, Quinn Comendant wrote:
I noticed a bug with our installation of QmailAdmin 1.2.9 (as part  
of qmailtoaster.com install). If the user which was assigned as the  
catchall for a domain is deleted, the .qmail-default file is not  
updated to reflect a new catchall settings. This results in  
delivery errors indicated by this in our logs:


Here's the SourceForge tracker where we've discussed that bug, if you  
want to throw in your two cents:


http://sourceforge.net/tracker/index.php? 
func=detailaid=1511531group_id=6691atid=106691


A simple solution might be to error out with a message of bob.smith  
is the catchall account for this domain and can't be deleted.  You  
need to change the catchall to another address before you can delete  
this account. if they try to delete the catchall address.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/




Re: [qmailadmin] Blank Passwords

2006-12-31 Thread Tom Collins

On Dec 31, 2006, at 12:58 PM, [EMAIL PROTECTED] wrote:
 I was wondering if there was a way to, or any plans to add a  
way to disallow blank/empty passwords? Due to a lot of traveling I  
like to use my qmail/vpopmail server as a relay, closed to the   
world obviously, but open to anyone who can authenticate. A fair  
amount of people use the system, some of which are not tech savvy.


I've had a few problems caused by people scanning for accounts  
with blank passwords, finding one, and exploiting the account to  
relay spam. I understand that this is really an administration  
issue, but rather than have a cronjob that mails me a list of  
accounts without a password, it would be nice if there was a way to  
not accept a blank password. If anyone knows how to do this on a  
vpopmail level as well, that would rock.


Good point.  I had thought that QmailAdmin only allowed blank  
passwords if enable-learn-passwords had been enabled in vpopmail.   
I see now that it only does that when adding an account -- when  
modifying it's possible to set a blank password at any time.


I'll look into changing it for an upcoming release.

--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/




[qmailadmin] qmailadmin 1.2.11 released

2006-12-29 Thread Tom Collins

http://qmailadmin.sf.net/

Release Notes:

Minor fixes and translation updates before we switch to new HTML  
templates.


Strangecode Internet Consultancy has been working on an updated look- 
and-feel for QmailAdmin, using CSS, and we're going to start making  
code changes to support it.  For the immediate future, a default  
install will keep the current look-and-feel, but our goal is to have  
a skin-able QmailAdmin that won't require code changes to support  
multiple looks.


ChangeLog:

Brandon
- Add missing semi-colons to nbsp; tags in user.c. [1537587]

Andreas Tolfsen
- Added Norwegian translation for strings 316 and 317.

Juergen Kendzorra
- Add strings 316  317 to German translation, plus fix some
  grammatical errors.

Nicolas Croiset
- Add strings 316  317, fix string 267 in French translation.

Oden Eriksson
- Add string 316 to Swedish translation.

Dave Steinberg
- Add --enable-spamcmd-needs-email option to configure to have
  QmailAdmin include the user's email address as the last
  parameter to --enable-spam-command.

Tom Collins
- Create autoresponder message before creating its .qmail file.
- Deliver copy before autoresponding to ensure delivery.
- On Modify User page, add current domain to forwarding address
  if it doesn't already include a domain. [1508971]
- Don't try to add list owner as moderator of new unmoderated list.



Re: [qmailadmin] quote

2006-12-09 Thread Tom Collins

On Dec 9, 2006, at 9:28 PM, Qmail List wrote:
Is there a patch to allow administrators of domains to edit user  
quote? Will this function be featuring in the future releases?


./configure --enable-modify-quota

-Tom




Re: [qmailadmin] rebuilding templates as XHTML

2006-11-29 Thread Tom Collins

On Oct 24, 2006, at 4:52 PM, Quinn Comendant wrote:
I've spoken with Tom Collins who is going to help integrate our  
XHTML/CSS work back into the project. We'll be rebuilding the HTML  
in the templates and in the C code (although leaving the HTML in  
the C for now), and building a new interface and design using CSS.  
We're mostly done with the work now, and will be submitting it back  
to the project in the next two weeks. It will probably be released  
as a 1.2.12 devel version soon thereafter.


The design we provide will just be clean and minimalist that will  
be easy to extend. It will be built such that the whole system can  
be redesigned by just swapping a single CSS file. I suspect after  
conversion to XHTML/CSS others will be contributing additional CSS  
designs to the project.


Quinn,

How is this project going?  I ask because Mike Wright just asked  
about the redesign someone else did a few years back.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/




Re: [qmailadmin] Which Version Had EZMLM Pick Screen

2006-10-29 Thread Tom Collins
On Oct 28, 2006, at 10:42 PM, Michael Bagnall wrote:Thanks for the input and the info. I did find a 1.0.9 version.. but I'm not really wanting to go back that far for the reasons you outlined.What my customer wants to do is create a mailing list that is:1. Moderated.2. Only subscribers can post to - and subscriber posts have to be approved by moderators.3. Any post made by a non subscriber is ignored.The reason for this is that the list gets a lot of spam sent to it and the the moderators are inundated with moderation requests for a lot of spam. Being able to limit it to subscribers only would help.The last option down on the list would *seem* to do this, but it allows anyone to post to the list - but all posted messages are sent to the moderator.I've tried working with the m, u and o options... even created an "muO" option, but it doesn't seem to work.I'd be open to suggestions.Reading through the man page for ezmlm-make, I don't think there's a valid combination of options to get what your customer wants.  Here's what the man page says on your muO option:-There is no reason to combine of SENDER checks on posts with  message moderation.  Therefore, the combination of the -u switch with the -m switch is used for a configuration with SENDER restrictions (like with -u alone), with the difference  that  posts  from  non-subscribers will be sent for moderation instead of being rejected. This allows the list admin to let non-subscribers post occasionally, as well as to  catch  subscribers  posting  from non-subscriber addresses.-Trust me when I say it took some time to make sense of all of the options and convert them to what you see on the current QmailAdmin interface.  I'm fairly confident that the current options accurately describe each possible list configuration. --Tom Collins  -  [EMAIL PROTECTED]Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/ 

Re: [qmailadmin] Cannot create new mailing lists

2006-10-05 Thread Tom Collins

On Oct 4, 2006, at 4:27 PM, [EMAIL PROTECTED] wrote:
I recently upgraded everything on a production qmailadmin server  
and for
more than a month, everything looks fine, except today I have a  
customer
that said they cannot create new mailing lists.  Existing lists  
work fine,

new users can be created with no problem.  I confirmed the problem and
that the user was nowhere near their qmailadmin-limits for mailing  
lists.


What version of QmailAdmin?

--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/




Re: [qmailadmin] Cannot create new mailing lists

2006-10-05 Thread Tom Collins
I think I may have found it.  It's trying to add the list owner as a  
moderator, but I'm guessing that you aren't creating a moderated list.


Here's the patch -- I haven't tested it, but it should work.

diff -u -r1.5.2.8 mailinglist.c
--- mailinglist.c   23 Oct 2005 18:52:34 -  1.5.2.8
+++ mailinglist.c   5 Oct 2006 16:09:22 -
@@ -601,8 +601,10 @@
   /* if this is a new list, add owner as subscriber */
   if (newlist  (*list_owner != '\0')) {
 ezmlm_sub (, list_owner);
-/* add owner as moderator/remote admin as well */
-ezmlm_sub (mod, list_owner);
+if (listopt['M'-'A'] == 'm') { /* moderation on */
+  /* add owner as moderator/remote admin as well */
+  ezmlm_sub (mod, list_owner);
+}
   }
#endif
}

I'm adding this to CVS now, and it will be in the next release.

-Tom

On Oct 5, 2006, at 8:57 AM, [EMAIL PROTECTED] wrote:


On Thu, 5 Oct 2006, Tom Collins wrote:


On Oct 4, 2006, at 4:27 PM, [EMAIL PROTECTED] wrote:

I recently upgraded everything on a production qmailadmin server
and for
more than a month, everything looks fine, except today I have a
customer
that said they cannot create new mailing lists.  Existing lists
work fine,
new users can be created with no problem.  I confirmed the  
problem and

that the user was nowhere near their qmailadmin-limits for mailing
lists.


What version of QmailAdmin?


qmailadmin 1.2.9

vpopmail 5.4.13

TIA,

James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   
http://3.am
== 
===







Re: [qmailadmin] Cannot create new mailing lists

2006-10-05 Thread Tom Collins

On Oct 5, 2006, at 9:36 AM, [EMAIL PROTECTED] wrote:

I should expand on this a little, because it looks like perhaps you're
thinking the problem has something to do with moderation...the  
problem is

that NONE of the list directories are being created, not just /mod/:

[Wed Oct 04 19:12:09 2006] [error] [client 74.92.85.18] ezmlm-sub:  
fatal:
unable to switch to /home/vpopmail/domains/ifuw.org/test/: file  
does not

exist, referer:
https://ssl2.pil.net/cgi-bin/qmailadmin/com/addmailinglist? 
user=postmastertime=1160003508dom=ifuw.org
[Wed Oct 04 19:12:09 2006] [error] [client 74.92.85.18] ezmlm-sub:  
fatal:
unable to switch to /home/vpopmail/domains/ifuw.org/test/mod: file  
does

not exist, referer:
https://ssl2.pil.net/cgi-bin/qmailadmin/com/addmailinglist? 
user=postmastertime=1160003508dom=ifuw.org


Make sure you only have ezmlm-idx installed, and make sure that  
QmailAdmin has the correct path to ezmlm-make.


My guess is that QmailAdmin thinks it's calling an ezmlm-make from  
ezmlm-idx, but it's calling the non-idx version instead.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/




Re: [qmailadmin] all mail deleted feature not working

2006-08-28 Thread Tom Collins
On Aug 27, 2006, at 7:21 PM, Ceg Ryan wrote:I need the domain quotas so, As i know 5.4.11 still support it, so i will try 5.4.11. Even though domain quotas are in the code, they were broken from 5.4.0 until we disabled them. --Tom Collins  -  [EMAIL PROTECTED]Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/ 

Re: [qmailadmin] all mail deleted feature not working

2006-08-25 Thread Tom Collins
On Aug 25, 2006, at 6:41 PM, Ceg Ryan wrote:   My box was running vpopmail 5.4.10 and qmailadmin 1.2.9. I see the "all mail delete" actually not working. It only generate one .qamil file with "# delete".    When I look back to a old version of qmailadmin 1.0.x, actually the .qmail will be somehow different. You could see the mail is deleted in the qmail-send logs.    But the new one doesn't.    I searched this mailling list and found some user has the same problem, but the did'nt get a fix i think.    I just eager to know anybody here could make it work.#delete is correct.  vpopmail 5.4.14 fixed a problem where the "# delete" was ignored, but I thought that problem had been introduced by my vdelivermail rewrite in 5.4.11.  I could be wrong though.Give vpopmail 5.4.17 a try -- it fixes a lot of bugs from 5.4.11 forward, and is actually a stable release (it just hasn't been moved to stable on SourceForge). --Tom Collins  -  [EMAIL PROTECTED]Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/ 

Re: [qmailadmin] adding an alias for multiple recipents

2006-08-16 Thread Tom Collins

On Aug 14, 2006, at 7:22 AM, Doruk Fisek wrote:

 When I try to do that in Qmailadmin, it does not allow me to add more
than one entry for the same alias. So I cannot forward an e-mail
address to more than one e-mail address.


After you create the first entry, you can edit the alias to add as  
many other forwarding addresses as you'd like.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/




Re: [qmailadmin] valias/.qmail understanding

2006-08-07 Thread Tom Collins

On Aug 7, 2006, at 4:19 PM, aichains wrote:
so.:  why does qmailadmin write .qmail files when it can use the  
valias table ?  i suppose theres a fundamental thing i am missing  
here.  but im leaning towards not using the valias thing at all if  
i am stuck with .qmail files strewn everywhere anyway.  the valias  
table does not have much advantage if only 'most' of the  
configuration is stored there.


Because you enabled valias in vpopmail, but did not recompile  
qmailadmin (which statically links libvpopmail) after doing so.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/




Re: [qmailadmin] bug report

2006-08-02 Thread Tom Collins

On Aug 1, 2006, at 7:14 PM, [EMAIL PROTECTED] wrote:

3. after that u will got the address like this on the address bar on
your browser.
=
   http://sample.co.jp/cgi-bin/qmailadmin/com/delmailinglistnow? 
user=postmasterdom=sample.co.jptime=1154482055


4.k! now the main point. ENTER the URL.
=
10.10.10.30 - - [02/Aug/2006:10:29:45 +0900] GET /cgi-bin/ 
qmailadmin/com/delmailinglistnow? 
user=postmasterdom=sample.co.jptime=1154482055 HTTP/1.1 200  
8058 - Mozillla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;  
SV1; .NET CLR 1.1.4322)



5. and look under then domain directory.
ALL DIRECTORY HAS BEEN DELETED...vpasswd and etc,, everything gone...


Confirmed.  If you edit the URL to remove the modu parameter, it  
will delete the entire domain directory.


I'll add a patch to have qmailadmin ensure that modu is an actual  
mailing list before going through with the delete.  I imagine that  
there are other instances where modifying the URL would result in  
things you don't want.  I'm not sure I'd call this a bug, but it  
would certainly be a good idea to modify the code to validate the  
input better.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/




Re: [qmailadmin] Ambiguous (german) translation for Postbox-Routing-Deleted

2006-07-27 Thread Tom Collins

On Jul 27, 2006, at 5:12 AM, Erik Wasser wrote:
Here's the small patch for the german version. Maybe you can change  
the

english word too.


In a recent release, that error string was changed in English and  
German to the following:


lang/en:303 All mail deleted
lang/de:303 Alle eingehenden Mails l?schen

If you'd still prefer your text Eingehende Mails werden sofort(!)  
gelöscht, let me know and I'll make the change.  Do any other German- 
speakers want to offer an opinion?


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/




Re: [qmailadmin] moduser fails when trying to change PW

2006-07-19 Thread Tom Collins

On Jul 19, 2006, at 1:59 PM, Stephen Williams wrote:
I can't seem to get moduser to run and all my apache logs are  
producing is this:



[Wed Jul 19 13:42:55 2006] [error] [client 1.1.1.1] Premature end  
of script headers: qmailadmin, referer: http://192.168.110.101/cgi- 
bin/qmailadmin/com/moduser? 
user=postmasterdom=highwind.comtime=1153340207moduser=postmaster


What version of QmailAdmin?

-Tom



Re: [qmailadmin] moduser fails when trying to change PW

2006-07-19 Thread Tom Collins

On Jul 19, 2006, at 6:11 PM, Stephen Williams wrote:

Latest version installed: 1.2.1-r1


Can you try upgrading to 1.2.10?  1.2.1 is over 2 years old.

--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/




Re: [qmailadmin] moduser fails when trying to change PW

2006-07-19 Thread Tom Collins

On Jul 19, 2006, at 8:24 PM, Stephen Williams wrote:
That version isn't in the portage tree yet under Gentoo so it  
hasn't been tested as of yet. I am at the point now where I am just  
about to recompile it all on my own and do my own ebuilds.


I probably won't be the only one to advise against using Gentoo  
ebuilds -- just the first.


Take a look at Bill Shupp's toaster -- http://shupp.org/toaster/.   
Great instructions on setting up a full qmail/vpopmail/qmailadmin/ 
simscan/etc. system.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/




Re: [qmailadmin] autoadd new mailbox to a mailing list

2006-07-13 Thread Tom Collins

On Jul 13, 2006, at 4:54 AM, Dario -Cdj- wrote:
i want that when postmaster of domain1, of domain2, of domain3  
add a new mailbox automatically subscribe [EMAIL PROTECTED]  
([EMAIL PROTECTED])


Instead of trying to keep a mailing list like that, take a look at  
the vpopbull command.  It will send an email to all POP/IMAP  
mailboxes in a domain, or on the entire server.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/




Re: [qmailadmin] Email Forwarding -- Copy Local User

2006-07-13 Thread Tom Collins

On Jul 13, 2006, at 7:29 AM, Steve Smith wrote:
I am trying to setup email forwarding and keep a copy of the email  
for the local user.  In the domain.com/myuser/.qmail file, I have  
tried the following:


[EMAIL PROTECTED]
[EMAIL PROTECTED]

The mail is delivered to the Gmail account, but not delivered to  
the local user.   Any help would be greatly appreciated.


Set it up in QmailAdmin (this is the QmailAdmin list), and see how it  
creates the .qmail file.


Hint, you have to use myuser's Maildir path instead of his/her email  
address.  Otherwise, you end up with a mail loop.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/




Re: [qmailadmin] Strange behavior

2006-06-19 Thread Tom Collins

On Jun 19, 2006, at 8:33 AM, Evgeny Gene Krevets wrote:
I'm looking for some help debugging the following.  I've moved some 
mailing lists and accounts over from one physical server to another.  
Installed latest versions of vpopmail, qmail, qmailadmin, ezmlm-idx.  
The behavior I'm seeing is that qmailadmin doesn't allow me to edit 
mailing list features (moderatated status, etc.) but does allow me to 
see subscribers and add and remove them.  I can't even see an option 
to edit, and no obvious error messages appeating.  I've never seen 
this before.  Can anyone shed some light on it?


Thank you in advance.


QmailAdmin thinks you only have ezmlm installed, and not ezmlm-idx.

Are you sure ezmlm-idx is installed?  Is ezmlm-moderate in the same 
directory as ezmlm-make?  Is that directory listed in the final output 
of ./configure for ezmlm dir?


What did ./configure say for ezmlm idx?

--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/



Re: [qmailadmin] adding multiple e-mail addresses to ezmlm

2006-05-27 Thread Tom Collins

On May 27, 2006, at 10:04 AM, Doruk Fisek wrote:

 Is there a way to add a list of e-mail addresses to an ezmlm mailing
list using qmailadmin? I can only enter one e-mail address with the
standart add subscribe form.


No way to do bulk adds through QmailAdmin.  It's been a feature request 
for a long time now, and I think Ken Jones was going to look into it a 
few months ago.


If you look on SourceForge, you can probably find the feature request 
with a bunch of my implementation notes/thoughts.  If someone wants to 
sponsor the feature, I'd be willing to make time to implement it.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/



Re: [qmailadmin] feature added: append user's email to spam command

2006-05-07 Thread Tom Collins

On Feb 3, 2005, at 9:13 AM, Dave Steinberg wrote:

On Oct 26, 2004, at 1:00 PM, Tom Collins wrote:


On Oct 26, 2004, at 7:16 AM, Dave Steinberg wrote:
Hi all, I had the need to pass an individual user's email to my spam 
command, so I added the feature to QmailAdmin.


Thanks Dave, I'll make sure it gets into the next QmailAdmin release.


Just to prod a little bit, here's an updated patch against 1.2.7:

http://www.redterror.net/patches/spam_needs_email-1.2.7.patch

I'd love to see this incorporated into the trunk, so I wouldn't need 
to patch every time that I upgrade.  :-)


Finally got it in there...  It's in CVS (stable-1_2) and will be in the 
1.2.11 release.


Tom Collins
Tom Logic LLC
PO Box 5717
Napa, CA 94581
(707) 265-6622
(707) 265-6646 fax
[EMAIL PROTECTED]



Re: [qmailadmin] Changing mailing-list header

2006-05-03 Thread Tom Collins

On May 3, 2006, at 3:49 AM, Andrew Hodgson wrote:
I have a simple Qmail setup with an EZMLM which is for internal users 
only.  I have an autoresponder set up for some users who are on 
holiday, however, they do not get messages to the mailing lists, 
because the autoresponder (the one that comes with Qmailadmin) 
inspects the header for the mailing-list: header, and subsequently 
stops the message from getting into the mailbox.


Recent versions of qmailadmin set up the user's .qmail file so email is 
delivered to their mailbox BEFORE autorespond kicks in.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/



Re: [qmailadmin] Qmail admin and allow

2006-03-28 Thread Tom Collins

On Mar 28, 2006, at 1:19 AM, Christian Lerrahn wrote:

is there a reason why qmailadmin does not support ezmlms allow
directories where you can put addresses that are valid as senders but
will not receive the mailing list? Or am I mistaken and just don't know
how you add somebody to that list using qmailadmin?


It isn't something that's been requested...  Add it as a tracker on 
http://qmailadmin.sf.net/ and maybe it will be added at some point.  
The hardest part would be modifying the HTML to have extra columns.  We 
already use the same code for subscriber/digest-subscriber/moderator.  
Adding allow to that list shouldn't be difficult.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/



Re: [qmailadmin] Qmailadmin 1.2.10 + Vpopmail 5.4.15 = forward breakage

2006-03-22 Thread Tom Collins

On Mar 21, 2006, at 11:27 PM, Allie Daneman wrote:

I recently upgraded vpopmail to 5.4.15 and found the following:

After recompiling and installing Qmailadmin the forwards page is 
blank, the only thing
showing is the header with the domain, forward accounts, and just 
Used:


There were various problems in the vpalias.c code in vpopmail 5.4.15 
(and 5.4.14) that have been fixed in CVS.  I had some other pending 
patches to apply before releasing 5.4.16, which should be out by the 
end of the week.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/



Re: [qmailadmin] problems with .vpasswd.lock

2006-03-07 Thread Tom Collins

On Mar 7, 2006, at 4:10 AM, Florian Munz wrote:

I've recently upgraded to vpopmail 5.4.14 and qmailadmin 1.2.9 (from
5.4.3 and qmailadmin 1.2.0) and everything seemed to work fine. However
for newly created domains I get a error 500 when I create a new account
or modify an account. Everything works fine for domains created before
the upgrade.


Note that vpopmail 5.4.14 has bugs and was pulled from SourceForge for 
that reason.  5.4.15 fixed some of those bugs, but there are still a 
few more (related to using the CDB backend).


I'd advise that you use 5.4.13 but apply a patch that was posted to the 
list that fixes a bug where # delete in a .qmail file was being 
ignored.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/



Re: [qmailadmin] qmailadmin 1.2.10 vpopmail 5.4.15 segfaults on forwards page

2006-03-03 Thread Tom Collins

On Mar 3, 2006, at 7:23 AM, Michael Krieger wrote:
 I'm getting qmailadmin segfaulting when handling forwards, most 
obviously is viewing the forward list even.  My debugging has taken me 
to the final call to 'alias_line = 
valias_select_all_next(alias_name);' when alias_name is the final 
alias in the set, or when the set is empty (no aliases at all).


Is this in forward.c or autorespond.c?  If you're seeing a call to 
valias_select_all_next() in alias.c, then you've got a problem.  The 
calls to valias_select_all_next() are only in code that's compiled if 
VALIAS is defined.


Can you zip up a directory that causes the problem and email it to me 
off-list?  I'll put it on my server and see if I can reproduce the 
problem.


Can you run ~vpopmail/bin/valias to dump a list of aliases without 
having it segfault?


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




[qmailadmin] QmailAdmin 1.2.10 released

2006-02-20 Thread Tom Collins

http://qmailadmin.sf.net/

1.2.10 - released 20-Feb-06

Not many changes in the past 4+ months.  The most significant change is
the addition of an index and search box on the aliases page.  Thanks to
Marko Lerota for sponsoring development of that feature.

There were a few more minor changes related to the vpopmail 5.4.14
release, and an updated Bulgarian translation from Peter Pentchev.

Released in -devel instead of -stable because it hasn't had much 
testing.

I'll move it to -stable in a month if no one finds any bugs.

ChangeLog:

Peter Pentchev
- Update Bulgarian translation. [1421770]
- qmailadmin.c: Fix potential buffer overflow.
- alias.c: missing semicolon when using VALIAS, eliminate unused
  variable warnings when using VALIAS.

Tom Collins
- mailinglist.c: Fix problem with enable/disable ezmlm-cgi access
  to archives.
- alias.c: Add index and user search to the aliases page.  When
  deleting an alias, return to the page that alias would have been
  on.  This feature was sponsored by Marko Lerota. [894823, 877895]
- qmailadmin.h: undef MAX_BUFF if previously defined (too small) by
  vpopmail.h.  Include vpopmail.h before qmailadmin.h so we can
  always redefine MAX_BUFF.



Re: [qmailadmin] valias disabled and qmailadmin

2006-02-19 Thread Tom Collins

On Feb 19, 2006, at 9:17 PM, Michael Krieger wrote:
 Is this a depreciated feature?  Is valias REQUIRED?  It is _NOT_ 
configured in vpopmail at present.


valias is not required.  Be sure to reconfigure/compile/install 
qmailadmin after making any changes to your vpopmail installation.  It 
statically links to libvpopmail, so it's probably using the OLD 
libvpopmail that was configured to use the valias table.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] Qmailadmin + maildirsize

2006-02-15 Thread Tom Collins

On Feb 14, 2006, at 11:08 PM, GajendranA wrote:
I have vpopmail 5.4.13 + netqmail 1.05 all installed from bill's 
toaster except i use qmailadmin version 1.0.10

 
If I create a user through the qmailadmin interface the 'maildirsize' 
for that user gets updated but the quota shows 'unlimited' in the 
qmailadmin interface.
But if I create the user using 'vadduser' command then the quota size 
is shown correctly through the qmailadmin interface for that user.


QmailAdmin 1.0.10 is almost 3 years old now.  Please upgrade to 
QmailAdmin 1.2.9 and let me know if you still have that problem.  
You'll want to configure it with --enable-modify-quota in order to set 
quotas.  My guess is that the problem will go away with the update.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] alphabetized forwards

2006-02-03 Thread Tom Collins

On Feb 3, 2006, at 6:33 AM, Rob Genovesi wrote:
I upgraded vpopmail not too long ago and now it seems that the domain 
forwards are no longer listed in alphabetical order.  A few of my 
domain customers who have lots of forwards (100+) to manage are none 
to happy about this - is there any way to fix?


qmailadmin 1.2.9
vpopmail 5.4.10


Need some more info on that...

Are you using CDB, MySQL or some other backend?

Are you storing aliases in the MySQL valias table?

And are we talking about the display of aliases/forwards in QmailAdmin? 
 With a CDB backend, they're sorted.  With the upcoming 1.2.10 release 
(I know, I know -- I'll get it out today!) you'll even have an index to 
the addresses.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] mailing list admin access for mailing list owners

2006-02-01 Thread Tom Collins

On Feb 1, 2006, at 8:17 AM, Ken Jones wrote:

Is there any code around (or interst) in allowing
mailing list owners to have access to the mailing
list administration features for their lists?

I'm moving a email server to qmail and their old
system allows for this. It seems like a useful feature
to have in qmailadmin.

Any comments?


It would be very useful, and something I'd like to see added.  The list  
owner would have to be an account in the same domain, as that's the  
only easy way to authenticate the user and allow access to the list.   
I'll try to get QmailAdmin 1.2.10 released so you can base your work on  
that.


Here's the SourceForge tracker item for this feature request (from  
August 2003):
http://sourceforge.net/tracker/index.php? 
func=detailaid=791585group_id=6691atid=356691


And some of my notes from that item:

If we add this, it should be optional.  Some ISPs might not want to  
allow list owners to modify list settings.  Maybe it could be tiered --  
list owner:


1) has no admin access
2) can modify the list of subscribers and/or moderators, but not change  
the list options.

3) has full access to modify list settings

Additionally, moderators should have access to the add/show/delete  
subscriber options on the mailing list page.


Tom Collins
Tom Logic LLC
PO Box 5717
Napa, CA 94581
(707) 265-6622
(707) 265-6646 fax
[EMAIL PROTECTED]



Re: [qmailadmin] Forwards

2006-01-30 Thread Tom Collins

On Jan 30, 2006, at 12:00 PM, Matt Ford wrote:
For some reason my forwards are not showing up after upgrading from 
1.0.6 to 1.2.9. I've tried all the builds in the 1.2.X line and each 
has the same issue. The httpd-error log lists:


qmailadmin in free(): warning: junk pointer, too high to make sense


What version of vpopmail, and what compile options for qmailadmin and 
vpopmail?


We need to figure out if the problem is in the qmailadmin code, or in 
the vpopmail library code that it calls.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] periods in dot-qmail files

2006-01-09 Thread Tom Collins

On Jan 6, 2006, at 12:33 PM, Darek Milewski wrote:
To cut to the chase.  qmailadmin adds aliases like first.lastname@ 
with .qmail-first.lastname.


It shouldn't.  I just did a test with my 1.2.9 and it uses 
.qmail-first:lastname.  It's been that way for a long time.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/



[qmailadmin] New feature for testing

2005-11-15 Thread Tom Collins
Thanks to a sponsorship by Marko Lerota, I was able to add an index and  
search box to the aliases list (just like on the user list).  I've  
tested it briefly with and without the valias feature (aliases stored  
in MySQL) and it seems to work well.  Also, when deleting an alias, it  
will show aliases that were close to that alias instead of going back  
to the first screen.


Tracker item for comments:
http://sourceforge.net/tracker/index.php? 
func=detailaid=894823group_id=6691atid=356691


Link to patch:
http://sourceforge.net/tracker/download.php? 
group_id=6691atid=356691file_id=156368aid=894823


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet:  
sniffter.com




Re: [qmailadmin] setting encoding in mail robot / autoresponder

2005-10-26 Thread Tom Collins

On Oct 26, 2005, at 10:59 AM, David Sperling wrote:
1.  Is it safe to run make, make install in the autorespond2.0.2 
directory?
Will compiling and installing autorespond cause any problems with my 
current qmail,
qmail-admin install? The make file looks pretty harmless, but I've got 
100 domains on this machine.

Better be safe and ask than be sorry.


Autorespond is a separate program from vpopmail and qmailadmin.  
Recompiling and reinstalling will have no effect on your existing 
users.  Future autoresponses will be sent with the new binary you 
install, so you should test an autoresponder after installing the new 
binary.


2.  The changes to the ja language file didn't show up in the qmail 
admin web pages.
Do I have to compile something to get the changes in the language 
files to show up?


I don't think you'll see any change on the QmailAdmin pages.  It looks 
like the nkf program just changes from euc-jp charset to 
iso-2022-jp.  If that charset is more common, it would make sense for 
us to update the QmailAdmin distribution to use the updated ja file.


To confirm the change, you'd have to make a manual connection to your 
web server and check the HTTP headers for the Content-Type header.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] QmailAdmin Languages

2005-10-10 Thread Tom Collins

On Oct 8, 2005, at 12:49 PM, G. Dandrades wrote:

Now I do have to wonder, is there way to set a default language?
I'm already thinking no.. but hey. worth a shot


Setting a default language won't work with the current setup, because 
almost every browser out there sends the preferred language settings 
when connecting.  There'd be no way to tell the difference between a 
browser that hasn't had its language preferences set, from one where 
the preferred language was English.


It might not be too difficult to hard-code a language in the source, so 
it would ignore the browser's preferences and always send the same 
language.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] mail not deleted

2005-10-10 Thread Tom Collins

On Oct 10, 2005, at 2:00 PM, Alex Dean wrote:
Via the qmailadmin control panel, I edited an account and selected 
'Routing' = 'All Incoming Deleted'.  But new/incoming mail isn't being 
removed, it's just sitting in the inbox.


I have vpopmail installed in /var/vpopmail, and in 
/var/vpopmail/domains/domain.com/user/ there is a .qmail file with the 
contents '# delete'.  I think that's correct, so why is the mail not 
being removed?


Do you have an alias or catchall set that points directly to the 
Maildir?  If so, delivery will bypass the .qmail file.  Some older 
versions of QmailAdmin would save aliases and catchall as Maildir 
instead of [EMAIL PROTECTED]


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




[qmailadmin] Cross-site scripting (XSS) vulnerability in QmailAdmin/vpopmail

2005-09-23 Thread Tom Collins
A user recently brought to my attention that a cross-site scripting 
vulnerability still existed in QmailAdmin for sites using QmailAdmin 
version 1.2.3 or earlier, or vpopmail 5.4.9 or earlier.  I realized 
that I was still running vpopmail 5.4.8 on one of my own servers, and 
thought that others might still be running older versions.


So, I'm sending this out as a reminder to everyone.  If you're running 
old versions, you should upgrade to either vpopmail 5.4.10 or 5.4.13 
(which includes a rewritten vdelivermail) and QmailAdmin 1.2.4 (at 
least) or 1.2.9 (preferable, has better handling of .qmail files).


I haven't had any reports of the vulnerability being exploited, but it 
is theoretically possible when running the old software.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/



Re: [qmailadmin] qmailadmin not shows Email Accounts Option

2005-09-19 Thread Tom Collins

On Sep 18, 2005, at 11:10 PM, Meshbah Uddin Ahmed wrote:

i m using qmailadmin-1.2.9. my qmailadmin not shows
Email Accounts option. so that i cant
add/delete/modify user by using qmailadmin. also cant
use catch all feature using qmailadmin.


Run `~vpopmail/bin/vmoddomlimits -S domain.com` and make sure Max Pop 
Accounts isn't set to 0.


If it is, change it to -1 for unlimited, or to some positive number:

~vpopmail/bin/vmoddomlimits -P -1 domain.com

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] autorespond forward on same message?

2005-09-14 Thread Tom Collins

You don't need to manually edit the .qmail file.

In the current version of QmailAdmin (1.2.9), you can forward messages 
to others and have a vacation response.  The Vacation option was moved 
to a checkbox, and is independent of the other settings.


-Tom

On Sep 14, 2005, at 11:21 AM, Alex Dean wrote:
Thank you.  I think I can do this.  Just to confirm, though : there's 
no way to do this via the qmailadmin web interface?


thanks,
alex

Ruben Cardenal wrote:


Hi,



I would like a single message to generate an autoresponse, and be
fowarded to more than a single person.  How can I do this?



 Edit manually its .qmail file:




[qmailadmin] Bug in 1.2.8/1.2.9 with indexing archives for ezmlm-cgi

2005-09-07 Thread Tom Collins
I think this came up on the list recently, and I was able to reproduce 
the problem and find the simple cause.


If you're running 1.2.8 or 1.2.9, apply the following patch:

--- mailinglist.c   16 Feb 2005 16:10:37 -  1.5.2.7
+++ mailinglist.c   7 Sep 2005 16:10:31 -
@@ -1307,7 +1307,7 @@
   printf (BR\n);
   /* note that if user doesn't have ezmlm-cgi installed, it might be
  a good idea to default to having option i off. */
-  build_option_str (CHECKBOX, opt15, i, html_text[291]);
+  build_option_str (CHECKBOX, opt16, i, html_text[291]);
   printf (/P\n);

You can manually do it by editing mailinglist.c, searching for opt15 
and changing it to opt16 on the line that says CHECKBOX.


This is going into 1.2.10, along with any other bugs that might crop up 
in the next week or so.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




[qmailadmin] QmailAdmin 1.2.9 released

2005-09-01 Thread Tom Collins

http://qmailadmin.sf.net/

Release Notes:

A few changes to v1.2.8, making it a stable release.

Significant changes since the last stable release (1.2.6):

Fixed problem in 1.2.8 with non-English pages.
Added a single page for changing passwords:
 http://hostname/cgi-bin/qmailadmin/passwd/
New Lithuanian language file.
Quick Links on Main Menu to jump immediately to the Modify or
 Delete page for any email address (mailbox, alias, mailinglist
 or autoresponder).

ChangeLog:

Luis Gonzalo Constantini Von Rickel
- util.c: free sort_list in sort_cleanup(). [1182347]

HA van Tilborg
- Added Dutch translations for strings 316 and 317. [1255845]

Kimmo Hedman [by way of Bill Shupp]
- Update Finnish translations of strings 114  137, add 316.

Tom Collins
- qmailadmin.c: fix problem parsing language files that could
  result in SIGSEGV. [1242317]
- qmailadmin.c: disable ability to delete postmaster account
  from Quick Links on main menu. [1255845]




Re: [qmailadmin] charset with (null) makes Premature end of script headers in Apache

2005-08-31 Thread Tom Collins

On Aug 31, 2005, at 11:58 AM, Andrej wrote:
After installing qmailadmin-1.2.8 on a debian stable with apache 1.3 I 
ended up having

Premature end of script headers: /usr/lib/cgi-bin/qmailadmin
in my apache error logfile. I could run qmailadmin from the shell just 
fine, so I spent hours looking for Apache config error before I 
started to add fprintf stderr to the source trying to locate the 
error. Finally I found the source within the first printf that writes 
the html header. For unknown reason charset was 0L and therefore  
*charset == '\0' crashed the cgi. Below you can find a patch of my 
workaround. Of course it does not answer the main question but maybe 
somebody of the qmailadmin wizards can bring light into this.


Here's the proper patch, it's already in 1.2.9, I just need to get 
around to releasing it.


--- /tmp/qmailadmin.c   2005-08-08 13:49:24.589751473 -0700
+++ qmailadmin.c2005-08-08 13:49:11.176807056 -0700
@@ -304,6 +304,7 @@
   size_t bytes_read;
   char *lang_entries;
   char *id;
+  char *p;

   open_lang (lang);
   fseek (lang_fs, 0, SEEK_END);
@@ -318,7 +319,9 @@

   id = strtok (lang_entries,  \t);
   while (id) {
-html_text[atoi(id)] = strtok (NULL, \n);
+p = strtok (NULL, \n);
+if (p == NULL) break;
+html_text[atoi(id)] = p;
 id = strtok (NULL,  \t);
   }


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] Restricting Archive Retrieval For Mailing LIsts

2005-08-30 Thread Tom Collins

On Aug 30, 2005, at 1:31 PM, Josh Stutts wrote:
Yes, I am checking Archive list messages.  I can view the aarchives 
just fine.  I just can't restrict access.  I have the versions from 
qmailrocks.org.  They are as follows: ezmlm-0.53-idx-0.41 and 
qmailadmin-1.2.3.  These are pretty much straight source installs 
though.  I am not aware of any changes that were made to either of 
these packages by the qmailrocks.org people.


Can you email me (off list) the config file from the list's directory?  
I'll use it to replicate your list's settings on my server and see if I 
can get it to fail.  On the first line of that file, is there a 
lowercase g, or an uppercase G?  If it's lowercase, the list thinks 
it's set up properly, and there's a chance that QmailAdmin isn't 
reading it properly.


There are some bugs and quirks in ezmlm-make's operation, and there's a 
chance that you have a configuration option that prevents the archive 
limits from working.


You could also try manually making the change by logging into your 
server as the vpopmail user (or su'ing to it) and running ezmlm-make.  
The command:


ezmlm-make -eg ~vpopmail/domains/domain.com/listname

Should turn on the 'guard archive' feature of the list.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] Restricting Archive Retrieval For Mailing LIsts

2005-08-30 Thread Tom Collins

On Aug 30, 2005, at 2:17 PM, Josh Stutts wrote:
Wouldn't that overwrite my other settings?  Shouldn't I use the -+ 
option to preserve all other settings except for the g, which, is in 
my config file as a lower case g.  I have tried this already anyways.  
I ran ezmlm-make -+ -eg ~vpopmail/domains/[domain]/[list dir]


You're right -- I forgot about the -+.  After running emlm-make, did 
the list appear correctly in QmailAdmin?  Did the 
.qmail-listname-default file start with ezmlm-get -s?


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] Re: Vacation and loss of mails...

2005-08-12 Thread Tom Collins

On Aug 12, 2005, at 1:41 AM, Stephane Bouvard [ML] wrote:

That's not a problem with qmailadmin.  The autoresponder you're using
is an older version.  Upgrade it.


Upgrade to QmailAdmin 1.2.7 or later and it will write out the .qmail 
file for the user so that mail is delivered BEFORE the vacation 
response is sent.  This way, regardless of how autorespond or 
vdelivermail are configured, the user won't lose their mail.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] Spam filtering and forward revisited

2005-07-21 Thread Tom Collins

On Jul 19, 2005, at 10:34 PM, Kurt Bigler wrote:

I'm guessing you mean that QmailAdmin might make use of maildrop (or
whatever), perhaps as an alternate mode of operation in which it would 
add a

maildrop reference to the .qmail file and then implement additional
QmailAdmin interface functionality through maildrop itself?


Yes.  .qmail file calls to maildrop, and we add an interface to 
QmailAdmin for editing the maildrop configuration.  Maybe.


Ah, ok.  That took a bit of detective work.  Apparently the INSTALL 
file
does not mention this feature, although the CHANGELOG does.  So I 
modified

mod_user.html by hand and re-ran make install-strip.  Is that the
recommended way?  Not enough interest in the feature to justify a
configuration flag?  (Or maybe just no time to do it yet.  ;)


Limited interest, limited time.

Or maybe this makes sense because admins will want to customize the 
html to

make the flags meaningful anyway?


That too.

The flags are indented under the Spam Detection checkbox.  But 
apparently
there is no restriction that the flags should only be used if spam 
detection

is enabled, right?


Correct -- it's just bad html formatting.  If you fix it, please send 
me a copy so I can update it in the next release.


Also it would be good if you could confirm that these flags have no 
existing
meaning in a standard installation, so that I don't do something silly 
in
turning one of them on.  I saw something about a flag that enables 
admin

privileges.


That is correct.  The V_USER flags are for sys-admin use only.  
Vpopmail/QmailAdmin only have code to set or clear them.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] Spam filtering and forward revisited

2005-07-19 Thread Tom Collins

On Jul 18, 2005, at 11:30 PM, Kurt Bigler wrote:
Maybe I shouldn't try to get to specific at this point, but one thing 
that
comes to mind as a possible ingredient in generalizing vpopmail's 
.qmail
file functionality in a helpful way might be the ability for a .qmail 
line,

perhaps one ending in the | symbol to be a filter line whose presence
would alter the input received by all subsequent lines in the .qmail 
file.
I'm not sure if this is a good idea, especially taken alone.  In 
general I
tend to envision that somehow the .qmail file capabilities might 
somehow
support a more general control-flow and pipelining model.  This then 
might
permit QmailAdmin enhancements on the modify user page to flow more 
freely
and for separate features to interact with each other in more 
well-behaved

ways.


We could definitely start to stray from the .qmail model, but I'd want 
to make sure there isn't already another program out there (say 
maildrop) that could accomplish those goals.


Note that QmailAdmin does allow for editing of the V_USER0 through 
V_USER3 flags on user accounts.  An external delivery program could use 
vuserinfo to see which flags are set, and act accordingly.  We could 
even modify vdelivermail to set environment variables with those names, 
in addition to setting all of the typical environment variables 
typically set by qmail-local.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] [bug?] different values of user quota

2005-07-13 Thread Tom Collins

On Jul 13, 2005, at 9:09 AM, Matt Brookings wrote:

This occurs because the variables used during quota calculations
are not large enough to handle the values involved.  I *believe*
this has been addressed in CVS.


I think you're right about it being variable size, but I'm not so sure 
about it being fixed in CVS.


Quotas over 2GB are problematic because (IIRC) we're using signed long 
ints to store the size.


I know that someone has worked on this in the past, but if I haven't 
included their updates in the vpopmail code, hopefully they'll send 
them on to me again.


For now, I'd advise limiting quotas to 2GB or less.  If you need a 
quota over 2GB, just set the user to NOQUOTA.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] modify user minor bug and feature request

2005-07-13 Thread Tom Collins

On Jul 8, 2005, at 5:18 PM, Kurt Bigler wrote:
I noticed the following problem in 1.2.3 and it is unchanged in 1.2.8. 
 In

the case of a user with Standard (No Forwarding) selected and Spam
Detection? checked, if I modify the user/.qmail file by hand as 
follows:


change  |/usr/bin/kdelivermail

to  |/usr/bin/kdelivermail2

then qmailadmin shows the same state after the change.  Any change 
besides
adding characters at the end is recognized as not the standard 
no-forward

spam-filtering state.  But characters added at the end are apparently
ignored in the comparison.

Unfortunately I rather liked (better) how version 1.2.3 displayed a
hand-modified .qmail file in the case where a change other than 
additional
characters at the end of the line is made.  It displayed the entire 
line as
the forward-to text.  This at least let me know the state of the file 
in a
way that I could recognize from within qmailadmin.  On the other hand 
I can

see that that was not a great solution either.


Good point.  I can tighten up the string matching to be an exact line 
match.



So I have the following suggestions.

(1) Tighten up the logic for detecting a match against one of the 
standard

qmail-admin states so that trailing characters are not ignored.

(2) When a case is detected that does not match one of the standard 
states,
display the .qmail lines under a Custom editing mode that permits 
editing.


I think it would be OK to show the extra lines, but not to allow 
editing.  Heck, if the postmaster is logged in, maybe it should just 
show the entire .qmail file in gray text below the radio buttons.


Letting a user for a domain edit their .qmail file opens up a huge 
security hole -- one we had to fix in the 1.0 series when it was 
possible to put anything in the forward line.


The problem is that anything I put in my .qmail file runs as user 
vpopmail.  That means I can craft a program delivery line that emails 
the contents of your vpopmail.mysql file to me.  Or any vpasswd file.  
Or just deletes ~vpopmail/domains/domain.com/someguyihate.


I'm very resistant to adding support in QmailAdmin for editing .qmail 
files directly.  I understand it could be helpful if it was limited to 
postmsaters and all postmasters were trustworthy.  I worry about 
uninformed sysadmins who might enable such a feature without realizing 
the holes it opens.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] qmailadmin and mysql enabled mail lists

2005-07-10 Thread Tom Collins

On Jul 10, 2005, at 4:55 PM, Scott Andrews wrote:

Sorry for a lame question - I'm new to this all, so please be gentle!

 Before I can add a mail list through QmailAdmin and store it in MySQL
 I have to either use mktab with ezmlm or create the table
 automatically.

 Is it possible to have the request for the new mailing list create the
 database, and or table?  Have I missed something in the ezmlm or
 QmailAdmin install process which takes care of this?

 If not, has anyone created a scripts and called it from the cgi?


QmailAdmin doesn't create the table.

This should be a feature request though, to have a checkbox for create  
table if it doesn't already exist, or something like that.


Or, I guess we could call ezmlm-mktab after ezmlm-make if the user has  
chosen to store the data in MySQL.  We'd probably have to link into  
libmysql so we could verify that the user/pass/db settings were valid,  
and check if the table already exists.


If the user has access to that database, and the table doesn't exist,  
we can read the output of ezmlm-mktab and push it into MySQL using the  
MySQL API.


This is currently in a Bug Tracker on SourceForge:

   
http://sourceforge.net/tracker/index.php? 
func=detailaid=1188370group_id=6691atid=106691


It would be great to have, but someone will have to volunteer to write  
it...


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet:  
sniffter.com




Re: [qmailadmin] mailing list no longer archiving??? (BUG)

2005-07-09 Thread Tom Collins

On Jul 9, 2005, at 8:43 AM, Kyle Wheeler wrote:
This looks like a bug to me, unless someone knows that this was done 
on purpose. (???)


Not to shirk any blame, but if it is a bug, it's in ezmlm.  QmailAdmin 
uses ezmlm-make to keep all of the list-related aliases up to date.


That said, we already have some special code in QmailAdmin to clean up 
some alias files that ezmlm-make leaves around during certain 
configuration changes.  If necessary, we can special-case this as well.


Perhaps ezmlm-gate and ezmlm-clean are supposed to call ezmlm-archive 
at some point?  Maybe you should view the man pages for ezmlm-archive 
and some of the other tools to learn more about how it's supposed to 
work.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] vlimits.default

2005-07-06 Thread Tom Collins

On Jul 6, 2005, at 10:09 AM, [EMAIL PROTECTED] wrote:
Are these settings effecive yet in the qmailadmin? I tried this 
before, but
had no effect. Any non-postmaster admin could do anything? Please 
advise.


They haven't been implemented in QmailAdmin.  From the README.vlimits 
file:


The following QmailAdmin specific items are mentioned in the
vlimits.default file, but are NOT YET IMPLEMENTED in QmailAdmin:

perm_account
perm_alias
perm_forward
perm_autoresponder
perm_maillist
perm_quota
perm_defaultquota

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] Problems compiling qmailadmin 1.2.7

2005-07-05 Thread Tom Collins

On Jul 4, 2005, at 6:02 PM, Carl Knoos wrote:
I hope I included all the information needed, if not, I'd be happy to 
send along any answers.


If you look up the manpages for 'isupper', 'tolower' and 'isalnum', do 
they show any includes other than ctype.h?  Do we need to link to a 
library other than the standard C library?


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] QmailAdmin 1.2.8 released

2005-07-05 Thread Tom Collins

On Jul 5, 2005, at 12:54 AM, Charles M. Gerungan wrote:

Op 5-jul-2005, om 0:40 heeft Tom Collins het volgende geschreven:

One nice feature is a single change password page that can be 
linked to

directly.


Very nice indeed. Shall be put in the Your account is ready e-mail. 
Thanks a lot.


If anyone would like to submit a nicer html layout for the change 
password page, I'd be willing to add it to the next release.  That 
said, it would not be difficult for people to customize this page for 
their own sites.


Note that if you pass returntext and returnhttp variables to 
qmailadmin, it will use that information to generate the links after a 
password is changed.  I don't have time to write up real documentation 
for that feature, but perhaps someone could play with 1.2.8 and post 
some examples of how to use it.


In particular, I imagined having a link in SquirrelMail to open up 
QmailAdmin for a password change and then return to the SquirrelMail 
login page to re-login.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




[qmailadmin] QmailAdmin 1.2.8 released

2005-07-04 Thread Tom Collins

http://qmailadmin.sf.net/

1.2.8 - released 4-Jul-05

Minor fixes and some new features, including a Czech translation.

One nice feature is a single change password page that can be linked 
to
directly.  Use the URL http://servername/cgi-bin/qmailadmin/passwd/ 
for

an easy change password interface.

ChangeLog:

Tom Collins
- Added single page for changing password. [775208]
- Switch to improved method of handling strings in language files,
  resulting in reduced disk access and faster rendering of pages.
- mailinglists: Update settings screen to show that archive
  retrieval limitations don't apply to ezmlm-cgi.
- mailinglist.c: Fix compile error with non-idx ezmlm installs.
- lang/en: More descriptive entry for Standard email delivery on
  Modify User page.

L4nce1ot/honeymak
- mailinglist.c: Fix Tom's fix for non-idx ezmlm installs. [1123809]

sunezapa
- Fix entry 303 (Delete Mail instead of None) and 205
  (Standard (ingen videresendelse) instead of Standard)
  in Danish translation. [1152997]

Martin Dimov
- Added Czech translation.



Re: [qmailadmin] Administrator accounts

2005-06-23 Thread Tom Collins

On Jun 23, 2005, at 8:00 AM, Oscar Retana wrote:
I wonder if is there a way to have several administrators accounts for 
a

domain, not only the postmaster account?


Use the '-a' option to vmoduser (from vpopmail) to set the QmailAdmin 
administrator flag on any account.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] Need advice with qmailadmin.cgi

2005-06-13 Thread Tom Collins

On Jun 13, 2005, at 3:43 AM, Rick van Vliet wrote:

Teodor Lupan said the following on 6/13/2005 7:56 AM:

Hello all!
I have the following situation...  I need to install qmailadmin with 
name qmailadmin.cgi instead of simple qmailadmin - wich is default. 
This is because I want to run it from webmin webserver, wich only 
runs cgi programs with .cgi extensions. A simple rename won`t do 
because qmailadmin has set internally the name ( in a variable called 
##C), so maybe it is an compile time option, or maybe I need to 
change something in Makefile, but I need your help.

Thanks in advance!


This is a guess, but take a look into ./configure --help.
There is a switch to append SUFFIX to installed program names
which you use during ./configure

I've never used this, and one of the experts on the list may correct 
mebut it looks as though this /might/ solve your question.


Try --enable-cgipath=/cgi-bin/qmailadmin.cgi

After installing, you'll have to manually rename it (I think) because 
it is still installed as qmailadmin.cgi.  But, the ##C in templates 
will be expanded to /cgi-bin/qmailadmin.cgi.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] Login....

2005-06-13 Thread Tom Collins

On Jun 13, 2005, at 8:12 AM, dopry wrote:

One thing I've always wanted with qmailadmin... IS there a convenient
way to drop the domain option and just use a full email address for the
username/domain? my users use [EMAIL PROTECTED] for every other login on my
network, but explaining why qmail admin is different is always a  
hassle.


Yep.  Here's the patch:

http://sourceforge.net/tracker/index.php? 
func=detailaid=1018476group_id=6691atid=306691


I guess I should be trying to work this into qmailadmin, perhaps as a  
compile option.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet:  
sniffter.com




Re: [qmailadmin] Login....

2005-06-13 Thread Tom Collins
I've reviewed it, and it looks like a good patch.  I haven't integrated 
it yet because it doesn't include a ./configure option for turning it 
on or off.


On Jun 13, 2005, at 8:37 AM, dopry wrote:

that would be ideal. :) I don't like using code that is not fully
accepted into the distribution you guys maintain. Mainly because I have
a couple thousand people using this system, and I somehow feel more
secure when project maintainers merge patches like this into the
project. ;)

On Mon, 2005-06-13 at 08:19 -0700, Tom Collins wrote:

On Jun 13, 2005, at 8:12 AM, dopry wrote:

One thing I've always wanted with qmailadmin... IS there a convenient
way to drop the domain option and just use a full email address for 
the

username/domain? my users use [EMAIL PROTECTED] for every other login on my
network, but explaining why qmail admin is different is always a
hassle.


Yep.  Here's the patch:

http://sourceforge.net/tracker/index.php?
func=detailaid=1018476group_id=6691atid=306691

I guess I should be trying to work this into qmailadmin, perhaps as a
compile option.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] Re: Need advice with qmailadmin.cgi

2005-06-13 Thread Tom Collins

On Jun 13, 2005, at 3:50 PM, Teodor Lupan wrote:
It does not work :((  if I use 
--enable-cgipath=/cgi-bin/qmailadmin.cgi all it does is to create a 
directory named qmailadmin.cgi in the cgi-bin dir., but when I fill 
in the login infos and click login, the browser still goes to 
http://mysite/cgi-bin/qmailadmin , not qmailadmin.cgi.
I thought that it could work with --porgram-suffix=.cgi, but it simpy 
renames the executable to qmailadmin.cgi, (lol) but the variable 
inside (##C) is stil searching for qmailadmin without cgi extension.


That's funny, it worked for me.

make clean
./configure --enable-cgipath=/cgi-bin/qmailadmin.cgi
make
make install
mv /var/www/cgi-bin/qmailadmin /var/www/cgi-bin/qmailadmin.cgi

If you add --program-suffix=.cgi, you might not even need the final 
`mv` command.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] Is Forward what I expected to be Alias?

2005-06-07 Thread Tom Collins

On Jun 7, 2005, at 3:58 AM, Paulo Pires wrote:

I've used qmailadmin a couple years ago and I used a lot aliases for
client purposes. I installed a new server at my new employment and I'm
trying qmailadmin, but there are no aliases!


Forwards and aliases were combined into a single interface.


I've seen that Forwards only can redirect to ONE account!


That's not true.  If you create a forward, you can click the modify 
button to add as many accounts as you'd like.  The interface will 
conveniently drop the @mydomain.com from local forwards for increased 
readability.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] SMTPD run service not working

2005-06-05 Thread Tom Collins

On Jun 5, 2005, at 5:49 AM, Grant wrote:

[EMAIL PROTECTED] grant]# cat /var/qmail/supervise/qmail-smtpd/run
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`


For debugging, you could add:

echo QMAILDUID is $QMAILDUID
echo NOFILESGID is $NOFILESGID
echo MAXSMTPD is $MAXSMTPD
echo LOCAL is $LOCAL

To see which part is failing.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [qmailadmin] reg smtp error

2005-05-28 Thread Tom Collins

On May 28, 2005, at 11:31 AM, Balaji R R wrote:

Hi,

 i installed qmail is working fine.then i installed clamav 0.85.1  
stable version. after installing clamav i can`t send mail but i can 
able to receive the mails.while sending the mails iam getting the 
following Error


ERROR:
Requested action aborted: error in processing
Server replied: 451 qq temporary problem (#4.3.0)

please any one guid me how solve this problem.


I'm not sure what the solution is, but I can guarantee that it doesn't 
have anything to do with qmailadmin.


Are you running simscan or qmail-scanner?  If so, ask on those lists...

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




  1   2   3   4   5   >