[Avcheck] Re: postfix+cyrus+avcheck = virtual users problem
Wietse Venema
wietse@porcupine.org
Sat, 27 Apr 2002 09:29:08 -0400 (EDT)
If a virtual mapping translates foo@virtual.com to bar@real.domain,
then bar@real.domain must be a valid mail address.
Wietse
Stefano Tabacchiera:
[ Charset ISO-8859-1 unsupported, converting... ]
> Hi there,
> RedHat7.2 Linux box running postfix-1.1.7+pgsql patch, cyrus 2.0.16,
> avcheck-0.8.
>
> I have virtual users on a pgsql table.
> Postfix does alias expansion, then delivers to cyrus over lmtp.
> Note: I'm using postfix-style virtual-domains, so foo@virtual.com is an alias
> for the cyrus-style-mailbox user 'bar', but foo@`hostname` is NOT.
>
> from main.cf:
> mailbox_transport=lmtp:127.0.0.1
> fallback_transport=lmtp:127.0.0.1
>
> The problem has begun since I installed avcheck as content_filter over smtpd.
> That's what - I think - happens:
>
> 1) someone sends mail to foo@virtual.com
> 2) postfix does alias expansion over pgsql. The local user 'bar' is selected.
> 3) then the message passes through the content filter.
> 4) After filter processing, the message is reinjected into smtpd over
> localhost:1025 (no content filter here).
> 5) A ***NEW*** alias expansion (bar@`hostname`) is tried. But that's not
> anymore an alias.
> 6) The query fails and the result is 550:user unknown.
> 7) The user bar never receive mail.
>
> Any clue?
> Thanks all.
>
> --
> -----------------------------------------------------
> Stefano Tabacchiera
> CSF Sistemi S.r.l.
> 03012 - Anagni (FR) - Italy
> phone: +39 775 7771
> fax: +39 775 727112
> email: s.tabacchiera@gruppocsf.com
> -----------------------------------------------------
>
> -
> To unsubscribe, send mail to majordomo@postfix.org with content
> (not subject): unsubscribe postfix-users
>
>