Re: Complicated problem with fastforward and aliases

1999-02-03 Thread D. J. Bernstein

Cristiano Lincoln Mattos writes:
>   alias2: alias1

This is an alias2 wildcard, forwarding to alias1@defaulthost, as you can
see with printforward.

fastforward doesn't know whether it's in charge of defaulthost, so it
goes ahead and forwards the message, ignoring your alias1 wildcard. The
message will come back later if fastforward is actually in charge of
defaulthost.

Apparently you meant [EMAIL PROTECTED]

---Dan



RE: Complicated problem with fastforward and aliases

1999-01-28 Thread Vince Vielhaber


On 28-Jan-99 Cristiano Lincoln Mattos wrote:
> 
> Hi,
> 
>   I am migrating a Solaris 2.5.1 box from Sendmail to
> qmail 1.03.. i have had no problems, with delivery to normal
> accounts, up until now.  We have a large /etc/aliases file,
> which we want to keep.. so i installed fastforward, to handle
> it.  All works fine, except for one problem: if there is an
> account, say, john, and an alias in /etc/aliases called john-hl,
> qmail will deliver it to john, before looking in  
> ~alias/.qmail-default.  Having a .qmail-hl at ~john is not an
> option, neither is giving up on this style (-l) of aliases we
> have here.
>   So, i searched here in the list, and this had been posted
> before.  Solution: put mydomain.com:alias-local in virtualdomains,
> and handle it from ~alias/.qmail-local-default.  I done this, and
> this is my .qmail-local-default:
>   | fastforward -p -d /etc/aliases.cdb
>   | forward $EXT2   
>   This works fine, but for one problem... if i have this sort
> of entry in /etc/aliases:
>   alias2: account1,account2,account3
>   And i send email to alias2, the fastforward called above 
> will work fine, and send email to all 3 accounts. But if i have:
>   alias1: account1,account2,account3
>   alias2: alias1
>   It will give me an error message saying that the mailbox
> alias1 doesn't exist... so, from what i understood, an alias will
> work ok if the destination are normal accounts/logins, but if it
> is another alias, it wont.
> 
>   Anyone have any help here?  I know it's not exactly great
> to have this type of thing (alias2 -> alias1), etc, but we have
> to live with it here, at least for the time being.
> 
> Cristiano Lincoln Mattos Recife / Brazil
> 
> 
> 

You're overcomplicating things.  Look in the source dir at conf-break.

Vince.
-- 
==
Vince Vielhaber -- KA8CSH   email: [EMAIL PROTECTED]   flame-mail: /dev/null
   # includeTEAM-OS2
   Online Searchable Campground Listingshttp://www.camping-usa.com
   "There is no outfit less entitled to lecture me about bloat
   than the federal government"  -- Tony Snow
==




Complicated problem with fastforward and aliases

1999-01-28 Thread Cristiano Lincoln Mattos


Hi,

I am migrating a Solaris 2.5.1 box from Sendmail to
qmail 1.03.. i have had no problems, with delivery to normal
accounts, up until now.  We have a large /etc/aliases file,
which we want to keep.. so i installed fastforward, to handle
it.  All works fine, except for one problem: if there is an
account, say, john, and an alias in /etc/aliases called john-hl,
qmail will deliver it to john, before looking in  
~alias/.qmail-default.  Having a .qmail-hl at ~john is not an
option, neither is giving up on this style (-l) of aliases we
have here.
So, i searched here in the list, and this had been posted
before.  Solution: put mydomain.com:alias-local in virtualdomains,
and handle it from ~alias/.qmail-local-default.  I done this, and
this is my .qmail-local-default:
| fastforward -p -d /etc/aliases.cdb
| forward $EXT2   
This works fine, but for one problem... if i have this sort
of entry in /etc/aliases:
alias2: account1,account2,account3
And i send email to alias2, the fastforward called above 
will work fine, and send email to all 3 accounts. But if i have:
alias1: account1,account2,account3
alias2: alias1
It will give me an error message saying that the mailbox
alias1 doesn't exist... so, from what i understood, an alias will
work ok if the destination are normal accounts/logins, but if it
is another alias, it wont.

Anyone have any help here?  I know it's not exactly great
to have this type of thing (alias2 -> alias1), etc, but we have
to live with it here, at least for the time being.

Cristiano Lincoln Mattos   Recife / Brazil