[milters] Archive

Lists Index Date Thread Search

Article: 3953
From: Pfeiffer, Sebastian (BREKOM)
Date: 2015-09-10 03:39:55 -0400
Subject: RE: Milter-Ahead for Sendmail Gateway and Exchange 2013

------=_NextPart_000_0000_01D0EBAC.A60BAE30
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

> I can do recipient verification on port 2525 of the Exchange 2013 server
> but no on port 25 for which seems to be no other workaround with Exchange.
> Is it possible to do recipient verification over port 2525
> to exchange.mydomain.com yet deliver over port 25 to exchange.mydomain.com
?

Yes, its possible and we do exactly that in conjunction with Exchange 2013.
We're using a call-ahead db which is configured in milter-ahead.cf:
cache-type=bdb
call-ahead-db=/usr/local/milter/milter-ahead/call-ahead-table.db

The source of the call-ahead db is a call-ahead table:

exchange2013.our.domain  [10.1.2.3,2525]

The delimiter between ip and port looks a little bit odd,
but for IPv6 compatibility, the comma is better than a colon.

make db from table:
makemap hash call-ahead-table.db < call-ahead-table

The entry for the domain in mailertable is as usual, so for the recipient
check,
port 2525 ist used, but the transport goes over port 25.


Cheers,
Sebastian

------=_NextPart_000_0000_01D0EBAC.A60BAE30
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCCwMw
ggPZMIICwaADAgECAhBNBdhzWSH8nECGVPUKzqq5MA0GCSqGSIb3DQEBCwUAMHMxCzAJBgNVBAYT
AkRFMQ8wDQYDVQQIEwZCcmVtZW4xDzANBgNVBAcTBkJyZW1lbjEqMCgGA1UEChMhQnJlbWVyIEtv
bW11bmlrYXRpb25zdGVjaG5payBHbWJIMRYwFAYDVQQDEw1CUkVLT00tUm9vdENBMB4XDTA5MDIy
NzA3NDM1MFoXDTI5MDIyNzA3NTM0OFowczELMAkGA1UEBhMCREUxDzANBgNVBAgTBkJyZW1lbjEP
MA0GA1UEBxM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