on 6/14/01 3:10 PM, Lu Vo at [EMAIL PROTECTED] spake:
> But vdelivermail is for delivering mails to a virtual user.
> What I am doing here is delivering mails to an external e-mail address.
>
> Once you change your mind and want to deliver mail back to a virtual user,
> just click on the catchall for that user in the POP accounts window and the
> line
>
> | /home/vpopmail/bin/vdelivermail ''
>
> will be added back to prepend whatever POP account you have selected.
>
> Lu.
Maybe we're talking about 2 different situations. I'm trying to set it up
so that only *unmatching* addresses go to the external "catch-all" address.
Since there are some local users for that domain, then you need
.qmail-default to have | /home/vpopmail/bin/vdelivermail '' in it, or
qmail-local will never know about the domain's local users.
I've been playing around with the catch-all code, and have a working version
that creates the remote catch-all like:
| /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]
I'm going to try and move this into the user.c file, and make the
"show_users" section allow you to set no default, define a local account, or
define a remote account for catch-all mail. Since the catch-all code is
already there, I think it would make more sense there than in the forwards
section.
The obvious benefit of not piping through vdelivermail first means that the
postmaster mail will get forwarded too. But this can be done (manually,
currently) by .qmail-postmaster. I may try to address that later.
Has anyone (other than Lu) already worked on defining remote catch-all
accounts via qmailadmin? I'd hate to duplicate efforts. Any thoughts on
doing this are welcome as well.
Regards,
Bill Shupp