Page 1 of 1

Filtering Outgoing mail from Exchange Server 2003

Posted: 01 Jun 2017 02:28
by Bardo
Hi

We have installed EFA to perform filtering tests. Incoming mail filtering works successfully, but we have problems configuring outgoing mail from the Exchange 2003 server.
Outgoing mail does not appear in the filtered EFA mailing list and messages are not sent, they are stored in a message queue on the Exchange 2003 server.

On the Exchange 2003 server, a connection to the EFA server was configured.

Image

Image

Image

Image

Image

Image

There were no changes and outgoing mail is not filtered by the EFA server.
For this reason, the SMTP protocol settings were also modified from the Exchange 2003 server.

Image

Image

Again without success.
Then, the forward lookup zone and the reverse lookup zone for the EFA server were added to the DNS server.


All tests have not solved our problem. Outgoing mail is not filtered and messages are not sent, remaining in the EFA message queue.

Image


Our questions are:
How to configure the EFA server to filter the outgoing mail, to know if any clients are compromised (spammer, malware, etc.)?
What configuration is required for outgoing emails to appear in the filtered mail list?
What options or settings should be made on the Exchange 2003 server or on the EFA server to scan and filter outgoing mail?

We know that Exchange 2003 is not supported by Microsoft and that we should migrate to a new version, but at the moment it is not possible.

I hope you can help us

Thank you and have a nice day

Re: Filtering Outgoing mail from Exchange Server 2003

Posted: 01 Jun 2017 04:03
by pdwalker
Hi,

These images are not visible to me as they are not downloading from the url you gave us as we don't have authorization to view it.

Filtering mail from exchange server should be very simple, or at least it was for me, so when I can see your screen shots I may be able to help you better.

Re: Filtering Outgoing mail from Exchange Server 2003

Posted: 01 Jun 2017 07:08
by Bardo
Thanks

These are the images, I hope you can see them and help us



On the Exchange 2003 server, a connection to the EFA server was configured.

Image

Image

Image

Image

Image

Image

There were no changes and outgoing mail is not filtered by the EFA server.
For this reason, the SMTP protocol settings were also modified from the Exchange 2003 server.

Image

Image

Re: Filtering Outgoing mail from Exchange Server 2003

Posted: 01 Jun 2017 08:51
by shawniverson
Did you configure eFa as an outbound smarthost?

EFA-Configure option 8) Mail Settings --> 2) Outbound Smarthost

Re: Filtering Outgoing mail from Exchange Server 2003

Posted: 01 Jun 2017 14:12
by pdwalker
that's almost certainly the problem.

the exchange config looks correct.

Re: Filtering Outgoing mail from Exchange Server 2003

Posted: 01 Jun 2017 20:18
by Bardo
Yes, we have tested configuring Outbound Smarthost with the ip address of the Exchange 2003 server, without success.

Messages are not sent and do not appear in the filtered mailing list.

Re: Filtering Outgoing mail from Exchange Server 2003

Posted: 02 Jun 2017 01:51
by pdwalker
can you be more specific about what your test was and what the result was?

it is really hard to debug a problem remotely when we are not given enough information and don't have access to the systems in question.

Re: Filtering Outgoing mail from Exchange Server 2003

Posted: 02 Jun 2017 11:04
by Zwabber
Sounds again like a problem with the "reject_unknown_reverse_client_hostname" in /etc/postfix/main.cf

Check:
viewtopic.php?t=2385

Re: Filtering Outgoing mail from Exchange Server 2003

Posted: 02 Jun 2017 11:40
by janw.zc
I fixed this issue by putting an entry into the /etc/hosts file on the EFA-Server saying

Code: Select all

IP-OF-THE-SENDING-EXCHANGE        Hostname.local.domain       hostname
Solved this for me, he just needs to resolve it

Re: Filtering Outgoing mail from Exchange Server 2003

Posted: 08 Jun 2017 00:28
by Bardo
janw.zc wrote: 02 Jun 2017 11:40 I fixed this issue by putting an entry into the /etc/hosts file on the EFA-Server saying

Code: Select all

IP-OF-THE-SENDING-EXCHANGE        Hostname.local.domain       hostname
Solved this for me, he just needs to resolve it
Problem solved successfully. :D :D :D :lol: :lol: :lol:

We add the IP address of the Exchange server in the hosts file and restart the EFA server.

The EFA server already filters incoming and outgoing mail.

Thanks everyone for your help.