|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: before queue filter question
From: Andrzej Kwiatkowski (andrzej.kwiatkowski
gmail.com)
Date: Fri Jun 02 2006 - 15:45:57 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2006/5/31, mouss <usebsd
free.fr>:
> Andrzej Kwiatkowski wrote:
> > Hi.
> >
> > I would like to use before queue filter to virus scanning.
> >
> > In front i would like to have 2 MTA with postfix
> > As AV Clamav with clamsmtp on other 3 servers.
> > On backend 2 or three backend with Cyrus.
> >
> > When i setup filter with master.cf
> > smtp inet n - n - - smtpd
> > -o relay_recipient_maps=proxy:pgsql:pgsql_virtual
> > -o smtpd_proxy_filter=127.0.0.1:10025
> > -o smtpd_client_connection_count_limit=10
> > -o cleanup_service_name=pre-cleanup
> >
> > 127.0.0.1:10026 inet n - n - - smtpd
> > -o smtpd_authorized_xforward_hosts=127.0.0.0/8
> > -o smtpd_client_restrictions=
> > -o smtpd_helo_restrictions=
> > -o smtpd_sender_restrictions=
> > -o smtpd_recipient_restrictions=permit_mynetworks,reject
> > -o smtpd_data_restrictions=
> > -o mynetworks=127.0.0.0/8
> > -o receive_override_options=no_unknown_recipient_checks
> > -o cleanup_service_name=pre-cleanup
> >
> > as proxy i would like to setup dns.name to load balancing.
> > On AV serves in clamsmto i would like to use dns name too.
> >
> > Is it possible to do this?
> yes. I use this just for the logs (to have
> relay=foo.filter.example[127.0.0.1] instead of relay=localhost[127.0.0.1]).
> >
> > What will be when server A will do proxy to clamsmtp
> > and clamsmtp will return message to server B ?
> there should be no problem. start by using multiple instances to get
> experienced (or are you experienced, Jimmy?)
>
So my next silly question.
Connection commes to server A,
in logs:
postfix/smtpd[17248]: connect from unknown[external_ip]
postfix/smtpd[17248]: NOQUEUE: client=unknown[external_ip]
postfix/smtpd[17248]: disconnect from unknown[external_ip]
proxies to clamsmtp on other machine and comes back to server B
postfix/smtpd[22387]: connect from unknown[internal_ip]
postfix/smtpd[22387]: 77CF22B7FA: client=unknown[internal_ip]
and so on...
How can i connect this logs in one message?
F.e i''ve got from addres on server B and i want to know IP for connection..
Thanks
AK
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]