Clayton Weaver <[EMAIL PROTECTED]> wrote:
>
>qmail-1.0.1
>linux-2.0.36
>libc-5.4.33
>gcc-2.7.2.1
>binutils-2.8.1.0.18
And fastforward, too?
>The odd thing is that mail to postmaster@local_domain is redirected
>to the real_user mentioned in ~alias/.qmail-postmaster, but mail
>to news@local_domain, operator@local_domain, webmaster@local_domain,
>and apparently all of the rest of them bounce, despite having the
>same redirect in those other .qmail-aliasname files.
What does the bounce say? What do the logs say?
>My only guess is that it isn't looking there first for the redirect,
>it's looking in /etc/aliases.cdb. The qmail-start line that starts
>the daemon is
>
>/path/to/qmail/bin/qmail-start '|fastforward -d /etc/aliases.cdb' \
> /path/to/cyclog /var/log/mail &
>
>(that's exactly how it reads, in /etc/rc.inet2).
That means that if qmail-local can't find a matching .qmail file, to
deliver to fastforward. So it tries alias.cdb *last*, not first.
>/etc/aliases has lines like
>
>mailer-daemon: real_user
>MAILER-DAEMON: real_user
>Mailer-Daemon: real_user
>postmaster: real_user
>operator: real_user
>webmaster: real_user
But you have ~alias/.qmail-postmaster, ~alias/.qmail-operator,
~alias/.qmail-webmaster, etc? What's the point of specifying both? If
the ~alias files exist, the alias.cdb entries will never be used.
>... These aren't real accounts, ie there is no user account on the
>machine called webmaster for example, although that doesn't seem to
>make a difference.
It certainly does!
>(I noticed the problem when I started getting bounce messages
>from root cron jobs, meaning it was failing to redirect root@local_domain
>from cron to real_user@local_domain.
WTF is local_domain? Is it a secret or something?
-Dave