[vchkpw] Vpopmail and Global Aliases

2006-07-10 Thread Ken Schweigert

I have a qmail+vpopmail installation installed with Shupp Toaster
instructions.  Everything is working great except for one thing.
Before using vpopmail I used qmail and whenever I wanted to set up a
global alias, say for abuse@, I would just create a  dot qmail file
in /var/qmail/alias with my email address and I would get all abuse
complaints for all domains on the server.  Now since I've switched to
a vpopmail setup I get 511 sorry, no mailbox here by that name even
though there is a dot qmail file (.qmail-abuse).  It is my assumption
that this is due to the .qmail-default file that is in each domain's
directory when it is created.

How can I add this functionality back in?  I'd really hate to have to
add symlinks to the .qmail files every time I add a domain, or worse,
need to add them to every domain for any new global aliases.

Thank you.

-ken schweigert


Re: [vchkpw] Vpopmail and Global Aliases

2006-07-10 Thread Remo Mattei
did u try valias?

Remo

Ken Schweigert wrote:
 I have a qmail+vpopmail installation installed with Shupp Toaster
 instructions.  Everything is working great except for one thing.
 Before using vpopmail I used qmail and whenever I wanted to set up a
 global alias, say for abuse@, I would just create a  dot qmail file
 in /var/qmail/alias with my email address and I would get all abuse
 complaints for all domains on the server.  Now since I've switched to
 a vpopmail setup I get 511 sorry, no mailbox here by that name even
 though there is a dot qmail file (.qmail-abuse).  It is my assumption
 that this is due to the .qmail-default file that is in each domain's
 directory when it is created.

 How can I add this functionality back in?  I'd really hate to have to
 add symlinks to the .qmail files every time I add a domain, or worse,
 need to add them to every domain for any new global aliases.

 Thank you.

 -ken schweigert


Re: [vchkpw] Vpopmail and Global Aliases

2006-07-10 Thread Tom Collins

On Jul 10, 2006, at 7:25 AM, Ken Schweigert wrote:

How can I add this functionality back in?  I'd really hate to have to
add symlinks to the .qmail files every time I add a domain, or worse,
need to add them to every domain for any new global aliases.


I haven't tested it, but see if adding the following to  
virtualdomains would work:


abuse@:abuse

Trying to read djb's code is next to impossible (comments would have  
been helpful), and the docs for qmail-send don't say whether abuse@  
will match or not.  It's worth a shot though.


If it doesn't work, I think you're out of luck.  The domain isn't in  
locals, so .qmail files in ~alias are ignored.  It jumps to  
virtualdomains, which takes it to users/assign, which takes it to the  
domain's directory.  At that point, you'll need a .qmail-abuse in the  
domain's directory.


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