This solution doesn't appear to work within the realm of qmailadmin -

(mydomain.com is the local domain handled by vpopmail)

o Create a pop account called 'catchall'
o In the 'Pop Accounts' page, set user catchall as the 'Catchall account'.
o In the 'Forwards' page, add a forward from 'catchall' to the
user@someotherdomain 'pop account'.

.qmail-catchall contains the remote address to forward to.
.qmail-default contains:
| /mail/bin/vdelivermail '' /mail/domains/mydomain.com/catchall

All local pop box mail for mydomain.com is delivered to
/mail/domains/mydomain.com/catchall.

All other non-specific mail for mydomain.com is delivered to the local
/mail/domains/mydomain.com/catchall account rather than being forwarded.

Not solved.

So I did it manually:

.qmail-catchall still contains the remote address to forward to.
.qmail-default contains '&[EMAIL PROTECTED]'

Still Not Solved.

Setting .qmail-default appears to override any pop boxes that exist. This
doesn't occur with any one of my several other qmail installs.

Can anyone describe how this is accomplished within qmailadmin? Or perhaps
offer a tested and confirmed solution?

-john

On Thu, 15 Mar 2001, Tim Hunter wrote:

> Make it deliver to a localaddress and have a .qmail-localaddress file that
> redirects to the remote account.
> Solved.
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> [EMAIL PROTECTED]
> Sent: Thursday, March 15, 2001 10:31 AM
> To: [EMAIL PROTECTED]
> Subject: Setting default forward to external address w/ local pop boxes
>
>
>
> All -
>
> I'm running into some issues using qmailadmin - my aim is to forward all
> e-mail that isn't delivered to a local box to be forwarded to an external
> mail address.
>
> In qmailadmin, under forwards, we add a forward and  set the 'local' to
> the string "default" and the remote address to the external address we'd
> like it to forward to. We then check the damage:
>
> # pwd
> /mail/domains/something.com
> # cat .qmail-default
> | /mail/bin/vdelivermail '' bounce-no-mailbox
> &[EMAIL PROTECTED]
>
> Qmailadmin doesn't appear to be replacing the .qmail-default, only
> appending to it.
>
> If I proceed to edit the .qmail-default and remove the 'bounce-no-mailbox'
> line, the pop accounts all stop working. All mail is forwarded to the
> external default box.
>
> Is this a known bug, is there a workaround, or am I perhaps commiting some
> horrible crime against vpopmail?
>
> Thanks very much for your assistance,
>
> -john
>
>





Reply via email to