From: mouss (no email)
Date: Thu Dec 01 2005 - 07:10:42 EST
Bissio a écrit :
> I solved the problem...
> when i installed clamav i set the following in main.cf that blocked
> every virtual user in virtual table:
>
> receive_override_options = no_address_mappings
so you did this in main.cf? I say so because spaces aroun '=' aren't
valid in master.cf.
you should only do that once: either before the filter or after the
filter. The idea is to avoid having virtual aliases expanded twice. but
you should not do this globally. otherwise, your virtual aliases aren't
used (thus the error at delivery time).
Typically, you use a different receive_override_options before and after
the filter:
(1) use -o receive_override_options=no_address_mappings
in the before-the-filter smtpd (the one listening on port 25)
(2) use -o receive_override_options=no_unknown_recipient_checks
in the after-the-filter smtpd (the one listening on port 10025)
you can set one of the options in main.cf, then override it in one of
the listeners, but this is risky.
you can set the options safely in main.cf when you use different
instances of postfix.
|
|
|