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