Content Filtering / Intances / Maps / Amavis

From: Daniel Khan (no email)
Date: Sun Jun 02 2002 - 17:40:36 EDT


Hello List,

I am a Postfix Rookie and implementing a rather complicated setup.

Cause I am getting weird trying different setups since days I have to ask
you.

The mailserver I'm configuring is intended to do filtering trough amavis,
but should restrict this filtering to certain domains.

I am using amavis-ng which offers it's own small SMTP server.
The transport,alias,virtual maps are stored in LDAP.

E-Mail comming in which shouldn't be scanned is considered to be local and
will be transfered to the right mailbox.
That's no problem. This setup works.
Now I want to implement the optional virus scanning.

To do this I have set values in LDAP which make the virtual_maps LDAP not
match.
So the email doesn't went into the mailbox because it isn't considered to
have a local mailbox. Now the transport map comes in action.
This map redirects the mail to the amavis SMTPD running on 10025. The
scanned Mail is returned on
Port 10026 via SMTP.
Port 10026 is set in master.cf. No Problem.
Now I have the problem that I have to make this mail match against the
virtual_maps to get it into the users mailbox.
So I think I would need a new virtual map, which ignores the values used for
the scanning.

So the point would be to set a new ldap map inside the master.cf for port
10026 with
-o virtual_maps=ldap:ldapvirtualNoscan

But maybe there is a mistake in my setup, or the virtual_maps settings
inside main.cf are simply not visible inside
master.cf. So I end up with a mail loop.

So is there a way to specify a new ldapvirtual map within master.cf for a
specified Filter/Port?
I also have a secondary MX running which is crosscowired with the Primary.
So I could pass the messages to the second one to scan it.

I think having the whole thing in LDAP makes the whole thing easier because
I am able to process the informations with filters, but I think my postfix
knowledge is simply to little.

I'm really thinking and trying since days to fullfill my requirements -
please help me out!

Regards

Daniel Khan

-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD