List Info

Thread: virtual file




virtual file
user name
2007-01-23 13:32:05
Hi one small question.. I have a line: virtual_alias_maps = hash:/etc/postfix/virtual were I have my redirections by email to whatever inside(inside our lan) email server it supposed to go.. this is handle by the transport later.. my question is: does maia does the filtering before postfix reads the virtual file or before? or better.. do anyone have a url with a graphics with the whole email procedure including amavisd? Thanks. Chris
  Approximate file size 593 bytes
Re: virtual file
user name
2007-01-23 14:40:57
Hi in reference with the email I wrote (see below) I saw this: TO DO 'VIRTUAL ALIAS' MAPPING AND OTHER POSTFIX CLEANUP PROCESSING BEFORE OR AFTER CONTENT FILTERING? In a post-queue content filtering setup (a normal amavisd-new setup with Postfix), a mail message passes through smtpd and cleanup Postfix services twice, once before the content filter, and the second time when approved message is passed from the content filter back to MTA. Any transformations and checks done by a cleanup service are thus performed twice. In simpler setups this does not matter much, but in more demanding situations one needs to consider which cleanup instance should perform which task. See cleanup(8) man page. does maia still follow this? Christian Fernandez wrote: > Hi one small question.. I have a line: > virtual_alias_maps = hash:/etc/postfix/virtual > > were I have my redirections by email to whatever inside(inside our > lan) email server > it supposed to go.. this is handle by the transport later.. > > my question is: does maia does the filtering before postfix reads the > virtual file or before? > or better.. do anyone have a url with a graphics with the whole email > procedure including amavisd? > > Thanks. > Chris > _______________________________________________ > Maia-users mailing list > Maia-usersrenaissoft.com > http://www.renaissoft.com/mailman/listinfo/maia-users >
  Approximate file size 593 bytes
Re: virtual file
user name
2007-01-23 15:14:57
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Christian Fernandez wrote: > Hi in reference with the email I wrote (see below) > I saw this: > > TO DO 'VIRTUAL ALIAS' MAPPING AND OTHER POSTFIX CLEANUP PROCESSING > BEFORE OR AFTER CONTENT FILTERING? > > In a post-queue content filtering setup (a normal amavisd-new setup with > Postfix), a mail message passes through smtpd and cleanup Postfix services > twice, once before the content filter, and the second time when approved > message is passed from the content filter back to MTA. Any transformations > and checks done by a cleanup service are thus performed twice. In simpler > setups this does not matter much, but in more demanding situations one > needs to consider which cleanup instance should perform which task. > See cleanup(8) man page. > > > does maia still follow this? Yes. What you want to do, typically, is configure Postfix to do its virtual aliasing in the downstream instance, but not the upstream instance. That way the upstream instance passes mail to amavisd-maia in its unaltered/unaliased form, and any address-rewriting takes place after amavisd-maia but before final delivery. See for a more detailed explanation, including instructions on how to set this sort of thing up with Postfix. - -- Robert LeBlanc renaissoft.com> Renaissoft, Inc. Maia Mailguard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFtnrRGmqOER2NHewRAqIHAJ9jEf2XzUf33t/8IKXoYAfjzmOkRACcDEH6 67A8t7iQ6BhiR0K+2DVt+FQ= =2PqN -----END PGP SIGNATURE----- _______________________________________________ Maia-users mailing list Maia-usersrenaissoft.com http://www.renaissoft.com/mailman/listinfo/maia-users
Re: virtual file
user name
2007-01-23 15:17:55
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Christian Fernandez wrote: > Hi one small question.. I have a line: > virtual_alias_maps = hash:/etc/postfix/virtual > > were I have my redirections by email to whatever inside(inside our lan) > email server > it supposed to go.. this is handle by the transport later.. > > my question is: does maia does the filtering before postfix reads the > virtual file or before? > or better.. do anyone have a url with a graphics with the whole email > procedure including amavisd? The mail flow typically goes like this: -> Postfix:25 -> amavisd-maia:10024 -> Postfix:10025 -> You can choose to have the virtual aliasing take place in the upstream Postfix instance (on port 25) or in the downstream instance (on port 10025). Usually it's easier to do it in the downstream instance because this means that amavisd-maia sees the original email addresses. If you do the aliasing in the upstream instance, then amavisd-maia sees the addresses in their rewritten form, which can be confusing to users. - -- Robert LeBlanc renaissoft.com> Renaissoft, Inc. Maia Mailguard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFtnuDGmqOER2NHewRAuQhAJ4/0CVocS3KhGsNyO/K/zXh/FgVeACfV9rn UTxYSe4wn6lV2fEUPmaZLpc= =/dLc -----END PGP SIGNATURE----- _______________________________________________ Maia-users mailing list Maia-usersrenaissoft.com http://www.renaissoft.com/mailman/listinfo/maia-users
Re: virtual file
user name
2007-01-23 15:30:35
Robert LeBlanc wrote: > The mail flow typically goes like this: > > -> Postfix:25 -> amavisd-maia:10024 -> Postfix:10025 -> > > You can choose to have the virtual aliasing take place in the upstream > Postfix instance (on port 25) or in the downstream instance (on port > 10025). Usually it's easier to do it in the downstream instance because > this means that amavisd-maia sees the original email addresses. If you > do the aliasing in the upstream instance, then amavisd-maia sees the > addresses in their rewritten form, which can be confusing to users. That is how I have it setup, but what I would like to do with this is reject unknown users BEFORE amavis gets to it. Amavis dutifully scans messages that will end up being rejected which puts a big strain on the (semi-old) server. Am I just missing something simple to configure it so that I can reject addresses that are not in my virtual table? (There are a couple dozen domains, only a couple use catch alls.) Thanks! Chris -- Chris D. Halverson http://www.chrishalverson.com/ _______________________________________________ Maia-users mailing list Maia-usersrenaissoft.com http://www.renaissoft.com/mailman/listinfo/maia-users
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )