Re: [vchkpw] Deleting primary domain; keeping alias domains

2009-03-18 Thread Charlie Garrison

Good morning,

On 18/03/09 at 9:31 AM -0500, Matt Brookings m...@inter7.com wrote:


Charlie Garrison wrote:

Is there a proper way to delete a domain which is currently configured
as the primary domain for an account? And I want one of the current
domain aliases to become the primary domain.
  I can't find any comprehensive documentation for 
vdeldomain. Maybe it

will do what I want; I don't have a test system to try it on though.


An alias is just that, an alias.  It is not an actual domain.  If you delete
the primary, the alias will not function because there is no primary domain
data for it to alias.


I guessed that, which is why I was asking how to delete the 
primary domain. I want one of the domain aliases to become the 
primary domain. Is there any way to do that short of completely 
recreating the setup for that domain/directory? The primary 
domain is no longer in use (has expired) and I would like to 
completely remove all references to it.


My thought was to 'mv' the domain directory to the name of the 
domain alias, and manually edit the qmail/users/assign file 
accordingly. But I don't know if there are other locations where 
the primary domain name is stored that would also need to be 
updated. (I'm ignoring rcpthosts, etc for now since they seem to 
be easy changes.)


Thanks,
Charlie

--
   Charlie Garrison  garri...@zeta.org.au
   PO Box 141, Windsor, NSW 2756, Australia

O ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt

!DSPAM:49c1189632686147620501!



Re: [vchkpw] ANNOUNCE: IndiMail authmodule for courier-imap

2008-08-27 Thread Charlie Garrison

Good evening,

On 27/8/08 at 10:42 AM +0300, Boris Pavlov [EMAIL PROTECTED] wrote:

offtopic: Quey, or whatever your boss calls you, there is troll 
around here but it is not Tom Collins. Go fuck yourself - but 
somewhere else, PLEASE? We are trying to do get some useful 
info reading this list, not some dick size contest features.


I read a few lists with some really bad-tempered and 
bad-mannered people, but I'd have to say Quey is about the worst 
I've seen. Has anyone added him to one of those RBL lists yet 
that he's so fond of? (I'm not familiar with any RBLs for email 
addresses that work with mailing lists.)



Charlie

--
   Charlie Garrison  [EMAIL PROTECTED]
   PO Box 141, Windsor, NSW 2756, Australia

O ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt

!DSPAM:48b518df32316675238429!



Re: [vchkpw] local delivery failure when forwarding messages [solved]

2008-03-05 Thread Charlie Garrison

Good afternoon,

I'm replying to my own message for the sake of the archives.


On 5/1/08 at 8:18 PM +1100, Charlie Garrison 
[EMAIL PROTECTED] wrote:


I had a disk failure on my local server recently and had to 
rebuild from scratch (only data backups, not full system). I 
used Shupp's toaster to install qmail/vpopmail. I think my 
problem may be with qmail, but I'm trying here first.


Messages arrive (via smtp) fine and get inserted into the 
queue. If the address is a mailbox then all is fine and message 
is delivered locally. But if the address is a forward 
([EMAIL PROTECTED] line in .qmail file) then I get errors like the following:


2008-01-05 19:30:03.317667500 starting delivery 19: msg 635441 
to local [EMAIL PROTECTED]

2008-01-05 19:30:03.331851500 delivery 19: deferral: 
Unable_to_forward_message:_unable_to_exec_qq_(#4.3.0)./

I've done lots of googling and can't find a cause for that 
error with solutions (that apply in my case). I've checked 
permissions, done a 'queue-fix' and everything else I can think of.


Google finally showed me threads from other users with the same 
problem. As suspected the problem was a result of upgrading to 
OS X Leopard (10.5). From what I can tell from the threads 
(below) is that doing a vfork/execve combined with relative path 
( chdir) and SUID binaries doesn't work as expected in Leopard. 
That combination prevented qmail-queue from being found 
(relative path) in some circumstances. (It's the some 
circumstances that has me baffled.)


Anyway, the solution is to either switch from vfork to fork, or 
make sure qmail-queue is called with absolute path. I chose to 
specify absolute path since the man pages for vfork/fork 
indicate a shared memory benefit with vfork.


I had to update qmail.c from netqmail and idx.h from ezmlm.

I read the following threads to reach these conclusions:

http://www.gossamer-threads.com/lists/qmail/users/134375
http://www.gossamer-threads.com/lists/qmail/users/134356#134356
http://www.nabble.com/Can't-get-ezmlm-idx-to-work,-unable-to-exec-qq.-Need-help-td15082423.html


Hopefully this will save others from fighting with this for 
weeks (months) the way I did.



Charlie

--
   Charlie Garrison  [EMAIL PROTECTED]
   PO Box 141, Windsor, NSW 2756, Australia

O ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt

!DSPAM:47cf7282120502940978586!



Re: [vchkpw] local delivery failure when forwarding messages

2008-01-10 Thread Charlie Garrison
 tcp-env
-rwxr-xr-x   1 rootqmail 831 Jan  5 11:33 update_tmprsadh
-rwxr-xr-x   1 rootqmail2613 Jan  4 02:37 vpopmailctl



If you haven't looked at the qmail Big Picture, it might be helpful...

http://www.nrg4u.com/


Thanks, had been looking for something like that and best I 
found were the PIC docs.



Charlie

--
   Charlie Garrison  [EMAIL PROTECTED]
   PO Box 141, Windsor, NSW 2756, Australia

O ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt



!DSPAM:478618bf310543737731242!



[vchkpw] local delivery failure when forwarding messages

2008-01-05 Thread Charlie Garrison

Good evening,

I had a disk failure on my local server recently and had to 
rebuild from scratch (only data backups, not full system). I 
used Shupp's toaster to install qmail/vpopmail. I think my 
problem may be with qmail, but I'm trying here first.


Messages arrive (via smtp) fine and get inserted into the queue. 
If the address is a mailbox then all is fine and message is 
delivered locally. But if the address is a forward ([EMAIL PROTECTED] 
line in .qmail file) then I get errors like the following:


2008-01-05 19:30:03.317667500 starting delivery 19: msg 635441 
to local [EMAIL PROTECTED]

2008-01-05 19:30:03.331851500 delivery 19: deferral: 
Unable_to_forward_message:_unable_to_exec_qq_(#4.3.0)./

I've done lots of googling and can't find a cause for that error 
with solutions (that apply in my case). I've checked 
permissions, done a 'queue-fix' and everything else I can think of.


I'm not sure where to look next. Advice and suggestions would be appreciated.

Thanks,
Charlie

--
   Charlie Garrison  [EMAIL PROTECTED]
   PO Box 141, Windsor, NSW 2756, Australia

O ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt

!DSPAM:477f4b66310541331714317!



Re: [vchkpw] local delivery failure when forwarding messages

2008-01-05 Thread Charlie Garrison
Good evening,

On 5/1/08 at 6:33 PM +0900, Shane Chrisp [EMAIL PROTECTED] wrote:

Check the ownership and permissions on the .qmail files. From memory
this can cause the problem you describe. 

EG:
ls -la .qmail-joe
-rw-r--r--  1 vpopmail vchkpw   24 2006-12-09 14:56 .qmail-joe

Thanks for the suggestion, but the permissions look good:

# ls -l 
total 40
-rw---  1 vpopmail  vchkpw34 Jan  5 18:47 .dir-control
-rw---  1 vpopmail  vchkpw31 Jan  5 19:20 .qmail-admin
-rw---  1 vpopmail  vchkpw97 Jan  5 19:23 .qmail-default
-rw---  1 vpopmail  vchkpw 0 Jan  5 18:44 .qmailadmin-limits
-rw---  1 vpopmail  vchkpw 0 Jan  5 18:44 .vpasswd.lock
drwx--  3 vpopmail  vchkpw   136 Jan  5 20:27 charlie
drwx--  3 vpopmail  vchkpw   136 Jan  5 18:44 postmaster
-rw---  1 vpopmail  vchkpw   332 Jan  5 18:47 vpasswd
-rw---  1 vpopmail  vchkpw  2446 Jan  5 18:47 vpasswd.cdb


I also tried loosening the permissions, but still get the error:

# ls -la
total 40
drwxr-xr-x  5 vpopmail  vchkpw   408 Jan  5 19:29 .
drwxr-xr-x  5 vpopmail  vchkpw   204 Jan  5 18:44 ..
-rw---  1 vpopmail  vchkpw34 Jan  5 18:47 .dir-control
-rw-r--r--  1 vpopmail  vchkpw31 Jan  5 19:20 .qmail-admin
-rw-r--r--  1 vpopmail  vchkpw97 Jan  5 19:23 .qmail-default
-rw-r--r--  1 vpopmail  vchkpw 0 Jan  5 18:44 .qmailadmin-limits
-rw---  1 vpopmail  vchkpw 0 Jan  5 18:44 .vpasswd.lock
drwxr-xr-x  3 vpopmail  vchkpw   136 Jan  5 20:27 charlie
drwx--  3 vpopmail  vchkpw   136 Jan  5 18:44 postmaster
-rw---  1 vpopmail  vchkpw   332 Jan  5 18:47 vpasswd
-rw---  1 vpopmail  vchkpw  2446 Jan  5 18:47 vpasswd.cdb



Charlie

-- 
   Charlie Garrison  [EMAIL PROTECTED]
   PO Box 141, Windsor, NSW 2756, Australia

O ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt

!DSPAM:477f557c310545377220710!



Re: [vchkpw] local delivery failure when forwarding messages

2008-01-05 Thread Charlie Garrison

Good evening,

On 5/1/08 at 8:55 PM +0900, Shane Chrisp [EMAIL PROTECTED] wrote:


It still sounds like a permissions error to me. Did you follow the
toaster exactly or did you deviate from it at all? Maybe you could add
recordio to the logging and see more details in the logs as to where it
is failing or run a strace?


I installed on OS X (Leopard) so I had to deviate a bit to get 
things to compile. And vpopmail couldn't go in /home due to 
something about that being a network automount path (I didn't 
explore that; just changed to /usr/local instead). And I didn't 
install everything, eg. no imap. Otherwise I followed the 
toaster as closely as I could.


Where do you suggest I add recordio? I've confirmed it's not an 
issue with smtp; the following command generates an error (admin 
is a forwarding address):


$ echo to: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject

$ more .qmail-admin
[EMAIL PROTECTED]

From /var/log/qmail/send/current:
2008-01-05 21:58:01.211526500 delivery 32: deferral: 
Unable_to_forward_message:_unable_to_exec_qq_(#4.3.0)./


While this command works fine (charlie is a mailbox):

$ echo to: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject

Also, I don't have strace available. I do have dtrace but I'm 
not sure how to use it (rather never used it before) and don't 
know how to find which process to watch. From the testing I've 
done, I believe qmail-local is generating the error, and I'm not 
sure how to find and watch that process since it's so transient.


I'd be very happy for it to be a permissions problem, but after 
*many* hours of comparing to other working vpopmail installs, I 
can't see what is different.



Thanks,
Charlie

--
   Charlie Garrison  [EMAIL PROTECTED]
   PO Box 141, Windsor, NSW 2756, Australia

O ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt

!DSPAM:477f7c26310544572353896!



Re: [vchkpw] local delivery failure when forwarding messages

2008-01-05 Thread Charlie Garrison
 for something like that and best I 
found were the PIC docs.



Charlie

--
   Charlie Garrison  [EMAIL PROTECTED]
   PO Box 141, Windsor, NSW 2756, Australia

O ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt

!DSPAM:4780231b310541317816461!



Re: [vchkpw] Shared libvpopmail thoughts

2007-09-25 Thread Charlie Garrison
Good afternoon,

On 25/9/07 at 12:41 PM -0400, John Simpson [EMAIL PROTECTED] wrote:

i'm not sure exactly how far underlying you don't understand, but here's a 
fairly simple overview 
of the seedy underside of program linking and the difference between static 
(i.e. compile-time) and 
dynamic (i.e. run-time) linking.

That was a GREAT overview; thanks for the info.


Charlie

-- 
   Charlie Garrison  [EMAIL PROTECTED]
   PO Box 141, Windsor, NSW 2756, Australia

O ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt


Re: [vchkpw] Building vqAdmin for OS X (darwin)

2007-03-19 Thread Charlie Garrison

Good evening,

On 16/3/07 at 12:36 PM -0500, Ken Jones [EMAIL PROTECTED] wrote:


Charlie Garrison wrote:

Should it be possible to build vqAdmin on OS X? I can't get past the
./configure step; I get errors like the following:


It might be the config.guess and config.sub files.

If vpopmail configures you can copy those files from
the vpopmail source into the vqadmin source. We
had the same issue with 64bit machines.

We have a new release of vqadmin for next week that
has those files updated plus a Post message feature.


OK, vpopmail has now configured/compiled/installed without 
problems. And if you want me to test vqAdmin with the 
config.guess and config.sub files from vpopmail then I'm happy 
to do that. But I found the following configure command worked 
for me (before I saw your reply). I found a recommendation to 
try powerpc-apple-bsd instead of powerpc-apple-darwin after 
extensive googling.


./configure --build=powerpc-apple-bsd \
--enable-cgibindir=/Library/WebServer/CGI-Executables \
--enable-htmldir=/Library/WebServer/Documents

I have vqAdmin installed and working fine now.

If you need someone to test/compile future versions of 
vpopmail/qmailadmin/vqadmin on an OS X box, please let me know. 
I will be happy to help.


Thanks,
Charlie

--
   Charlie Garrison  [EMAIL PROTECTED]
   PO Box 141, Windsor, NSW 2756, Australia


Re: [vchkpw] Building vqAdmin for OS X (darwin)

2007-03-15 Thread Charlie Garrison

Good afternoon,

On 15/3/07 at 7:18 PM -0600, Rick Widmer 
[EMAIL PROTECTED] wrote:



Charlie Garrison wrote:
Should it be possible to build vqAdmin on OS X? I can't get 
past the ./configure step; I get errors like the following:


wild guess


Sometimes a wild guess can be exactly what is needed.  :-)


Maybe you should try...

make distclean


Failed with no target, but not surprising since I don't have a 
Makefile yet.



automake

aclocal

autoconf


Those all ran without errors and created/updated these files:

-rwxr-xr-x1 charlie  admin  181401 Mar 16 15:09 configure*
drwxr-xr-x5 charlie  admin 170 Mar 16 15:09 autom4te.cache/
-rw-r--r--1 charlie  admin   30855 Mar 16 15:08 aclocal.m4
-rw-r--r--1 charlie  admin   17859 Mar 16 15:08 Makefile.in


then try to configure again.


I'm still getting the same errors; I tried './configure' as well 
as specifying some different build types.


At worst you will want to wipe the working directory and untar 
the files again if it doesn't work.  Re-creating the configure 
script with the autoconf tools on your machine might make a 
difference.  I don't have access to OS-X, and don't run vqadmin 
but no one else has posted any suggestions yet, so I thought I 
would try.


I started with a fresh working directory before trying your 
suggestions. Your advice sounded promising, but no progress so far.


I've been compiling stuff for many years and know how to 
troubleshoot common stuff like missing libs, but I'm out of my 
depth here. I'm open to any other suggestions.



Good luck!


Thanks again.

Charlie

--
   Charlie Garrison  [EMAIL PROTECTED]
   PO Box 141, Windsor, NSW 2756, Australia


[vchkpw] Building vqAdmin for OS X (darwin)

2007-03-14 Thread Charlie Garrison

Good afternoon,

Should it be possible to build vqAdmin on OS X? I can't get past 
the ./configure step; I get errors like the following:


$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/usr/local/src/vqadmin-2.3.7/missing: Unknown `--run' option
Try `/usr/local/src/vqadmin-2.3.7/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... configure: error: cannot guess 
build type; you must specify one



I have tried specifying various build types ('darwin', 
'powerpc-apple-darwin', etc) but I continue getting errors:


$ ./configure --build=darwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/usr/local/src/vqadmin-2.3.7/missing: Unknown `--run' option
Try `/usr/local/src/vqadmin-2.3.7/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... Invalid configuration `darwin': 
machine `darwin' not recognized

configure: error: /bin/sh ./config.sub darwin failed


I'm not familiar with the 'missing' script, so not sure how to 
debug that error. This is the output from missing --help:


$ /usr/local/src/vqadmin-2.3.7/missing --help
/usr/local/src/vqadmin-2.3.7/missing [OPTION]... PROGRAM [ARGUMENT]...

Handle `PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or 
return an

error status if there is no known handling for PROGRAM.

Options:
  -h, --help  display this help and exit
  -v, --version   output version information and exit

Supported PROGRAM values:
  aclocal  touch file `aclocal.m4'
  autoconf touch file `configure'
  autoheader   touch file `config.h.in'
  automake touch all `Makefile.in' files
  bisoncreate `y.tab.[ch]', if possible, from existing .[ch]
  flex create `lex.yy.c', if possible, from existing .c
  lex  create `lex.yy.c', if possible, from existing .c
  makeinfo touch the output file
  yacc create `y.tab.[ch]', if possible, from existing .[ch]


I also googled for any howto's on building vqAdmin on OS X and 
couldn't find anything useful. If OS X is simply not a supported 
platform (yet) but you would like to add support, I'm happy to 
help but I will need assistance to know to get it working.


Thanks,
Charlie

PS. I have qmailadmin ( all other components) working just fine.
--
   Charlie Garrison  [EMAIL PROTECTED]
   PO Box 141, Windsor, NSW 2756, Australia


Re: [vchkpw] dot-qmail ordering

2006-05-15 Thread Charlie Garrison
Good morning,

On 15/5/06 at 3:03 PM -0400, John Simpson [EMAIL PROTECTED] wrote:

makes sense to me. i don't know if there's a dedicated list for  
qmailadmin developers, i *think* the vpopmail-devel list is used for  
that as well (since the list of developers on both products is almost  
identical.)

mailto:[EMAIL PROTECTED]


Charlie

-- 
   Charlie Garrison  [EMAIL PROTECTED]
   PO Box 141, Windsor, NSW 2756, Australia


Re: [vchkpw] domain quota not working

2005-05-02 Thread Charlie Garrison
Good evening,

On 2/5/05 at 11:36 AM +0200, Rainer Duffner [EMAIL PROTECTED] wrote:

Use OS-quotas or just bill-by-volume and employ any of the homegrown 
report-usage-scripts... ;-)

I'd love some pointers on implementing 'homegrown report-usage-scripts'. Can
you suggest some appropriate documentation?

Thanks,
Charlie

-- 
   Charlie Garrison  [EMAIL PROTECTED]
   PO Box 141, Windsor, NSW 2756, Australia


[vchkpw] APOP connections not working

2005-04-11 Thread Charlie Garrison
Good afternoon,

Connections that use APOP for authentication have not been working on our
server. I assumed that was because I was using an older version of vpopmail.

I recently installed qmail/vpopmail (5.4.10) on another server and found that
APOP was working. So I decided to upgrade our main server to 5.4.10 to enable
APOP functionality. But it's still not working.

What do I need to do to enable APOP authentication for POP connections?

I am using the following configure options:

  ./configure --disable-clear-passwd --prefix=/mail/local

I haven't tested with the following options since the defaults seemed
suitable.

  --enable-apop-file=/etc/apop-secrets directory where apop secrerts 
are stored.
  --enable-apop=y|n Enable or disable apop authentication.  
  


Thanks,
Charlie
-- 
   Charlie Garrison  [EMAIL PROTECTED]
   PO Box 141, Windsor, NSW 2756, Australia


Re: [vchkpw] how to do simple vpopmail delivery with filtering

2005-04-07 Thread Charlie Garrison
Good morning,

On 7/4/05 at 2:03 PM -0500, Kyle Wheeler [EMAIL PROTECTED] wrote:

I feel like someone arriving late at the party. I can't find any spam
detection options in qmailadmin. I am using the latest stable
release; should I be using a development release? Is there any online
documentation you can refer me to?

When you run ./configure for QmailAdmin, you can use the 
--enable-spam-command=blah blah blah, and that will enable the Spam 
Detection feature of QmailAdmin. It's in the documentation... check out 
the INSTALL file 
(http://cvs.sourceforge.net/viewcvs.py/qmailadmin/qmailadmin/INSTALL?rev=1.7)

I don't know how I missed that. I would have sworn that I already read that
file thoroughly looking for it.

And now I want to learn more about '|preline'. Could someone point me to the
documentation for that?

Thanks,
Charlie

-- 
   Charlie Garrison  [EMAIL PROTECTED]
   PO Box 141, Windsor, NSW 2756, Australia


Re: [vchkpw] Password errors in /var/log/maillog with Mac Mail with samples

2005-02-24 Thread Charlie Garrison
Good morning,

On 24/2/05 at 2:35 PM -0600, Rick van Vliet [EMAIL PROTECTED] wrote:

I saw this frequently when I had a few users on _AppleMail_ for Mac 
(OS-X). (Is that what you mean by MacMail?)
When they used Eudora, Thunderbird, Entourage, or any other Mac clients, 
there were no errors. It doesn't seem to bother the user, mail 
works...but I never really got any answers, never pushed the question 
very hard here, either.

This bothered me for a long time, so I began a long search for answers. I was
not able to get a definitive answer, but I'm confident this is accurate.

Apple Mail does not have a setting for choosing APOP or plain-text
authentication, so it simply tries APOP first and if that fails then falls
back to plain-text. I don't remember where I found this answer; I think it was
one of Apple's discussion forums.

Which then leads to my next question which I haven't found an answer for. How
can I easily change vpopmail accounts to use APOP instead? I only want to do
that for the users that are using Apple Mail (or unless users request APOP).
And the only way I have found for setting APOP is when creating new accounts.
Is there a way to change *existing* accounts to use APOP?

BTW, I'd love to have an option for setting APOP in qmailadmin when creating
(or updating) accounts. And adding that feature is beyond my skill level. Any
offers of assistance?


Charlie

-- 
   Charlie Garrison  [EMAIL PROTECTED]
   PO Box 141, Windsor, NSW 2756, Australia