Mailing List Archive

Sending _to_ a specific IP
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi folks,

I have a strange problem. I want to send a mail to eclipsim.com but they
have a complete broken DNS setup.

However, I know, that the mail is handled by google (from a cached
query on another host).
eclipsim.com mail is handled by 30 aspmx5.googlemail.com.
eclipsim.com mail is handled by 20 alt2.aspmx.l.google.com.
eclipsim.com mail is handled by 30 aspmx4.googlemail.com.
eclipsim.com mail is handled by 30 aspmx2.googlemail.com.
eclipsim.com mail is handled by 20 alt1.aspmx.l.google.com.
eclipsim.com mail is handled by 30 aspmx3.googlemail.com.
eclipsim.com mail is handled by 10 aspmx.l.google.com.

My problem is, that the mail stucks in my queue as exim is not able to
resolve the recipient address.

Is there a way to overwrite (like `exim -Mar`) the IP where to send the
mail?

Regards
Klaus
- --
Klaus Ethgen http://www.ethgen.ch/
pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAltfbDAACgkQpnwKsYAZ
9qydAQv/dvUDtv61Tw1O+alRyN2yoUbrfkLXn3TGmFR806y5Pq7+B8gXrLcL3539
bGD3HrT3H/lbJpaET8W/j9FrVkY9M6sdFSuqN5WoOUeGFeuhhUjGlN+Pgu7laYVP
5xjhHMRqBLAvFzuMqg8Y4eyubNsO1yKagjnV1GjKykyXbxUWfhs8WqAYphkWuBuA
HZa6hDoDShcnLA0qbPDPlN4wBrH6JWbmEa48kz7YhwkjjystvxCLDwG6ysYtcTnX
WHiV5YL1e6q7NrlEGAtNYy+5jtltfXt5yqDFUXAHhMOsNBysAlyQ4t38HdsTBLVs
0VCt/SxuMLAviigJHptPQiP/z/Azj/yT87MH03Lb4DbArHc8qacFg9Y+epNKIHvw
pONMBV6EPDeHoXLHo1NddMjSdeG4EOoXBjHiCSSMtldjyRk0ecel9MxhrqADInpv
oSr21NsroMUX7i8WC9q01NUU2zOkjBuzc37xiOV2cHSi3T45flATqcxaxLgtyLjm
VE1/sVqd
=rWTM
-----END PGP SIGNATURE-----

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Sending _to_ a specific IP [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi folks,

I have a strange problem. I want to send a mail to eclipsim.com but they
have a complete broken DNS setup.

However, I know, that the mail is handled by google (from a cached
query on another host).
eclipsim.com mail is handled by 30 aspmx5.googlemail.com.
eclipsim.com mail is handled by 20 alt2.aspmx.l.google.com.
eclipsim.com mail is handled by 30 aspmx4.googlemail.com.
eclipsim.com mail is handled by 30 aspmx2.googlemail.com.
eclipsim.com mail is handled by 20 alt1.aspmx.l.google.com.
eclipsim.com mail is handled by 30 aspmx3.googlemail.com.
eclipsim.com mail is handled by 10 aspmx.l.google.com.

My problem is, that the mail stucks in my queue as exim is not able to
resolve the recipient address.

Is there a way to overwrite (like `exim -Mar`) the IP where to send the
mail?

Regards
Klaus
- --
Klaus Ethgen http://www.ethgen.ch/
pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAltfSt4ACgkQpnwKsYAZ
9qwwSAv+LWdQlUjz8QAc0boWLZrZJ/qt2lypO8qAfkDdBaTN9j0pW306u1J4gkZJ
eYl9EXx2EPq3MSGnNLll6qvTldkIo5EE4HNH+STOpb75KiWYWsfhK/3S1tSfded/
e8QQ8himhEp465zj0KxFnpT8JubMtQMnrlllielo20MSjtyKea4vm+5zDctObXQs
OvKP0BfOGBvF2282qJegfrKVEnnctFMQ4jtZLrAjkY4awkJTxGp/jUL9eI2hdd/s
ZsznrENUEkPKFDkSd22BBYzcQAdqhEfOR6JCzX/inx+TMRLlhAMkwsNc/5wCEY6D
mu7ZFK84L+1gS2T9OYoZKDsqTJVnvD5D3tlvH1US97v/tj7zDcFTFqqHPJSZis7G
tvhkLt9nIWptqOFQNwIzrlvbkpBLd/I/apMlnwZH8GEO+MKw3VGAGu3cSEbuLFB5
9+Q2FAfcNo6/NtmEqKPb4Dr+pkjBNIrNYiEa+QtSLqb5CnkTqfCbVHbuqU5sfVbF
mh24pgeX
=slWv
-----END PGP SIGNATURE-----

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Sending _to_ a specific IP [ In reply to ]
On 31/07/18 05:51, Klaus Ethgen via Exim-users wrote:
> Hi folks,
>
> I have a strange problem. I want to send a mail to eclipsim.com but they
> have a complete broken DNS setup.
>
> [nip]
>
> Is there a way to overwrite (like `exim -Mar`) the IP where to send the
> mail?

You can route specific emails to any servers you would like; you're
essentially creating a smarthost for a single domain instead of
requiring it to use dns for routing.

https://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_manualroute_router.html

So before your dns routing router, add a new manualroute router which
picks up the broken domain and sends it to the know IP addresses of
working servers.

Probably not something to leave permanently the config though as the
recipient is likely to make changes down the track.


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Sending _to_ a specific IP [ In reply to ]
On 07/30/2018 08:51 PM, Klaus Ethgen via Exim-users wrote:> I have a
strange problem. I want to send a mail to eclipsim.com but they
> have a complete broken DNS setup.

> Is there a way to overwrite (like `exim -Mar`) the IP where to send the
> mail?


Use a manualroute router, specifically limited to that domain.
--
Cheers,
Jeremy



--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Sending _to_ a specific IP [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Thanks Ted and Jeremy,

I toughed that there is a command line option I do not seen like -MC.

However, as I use debian config (somehow modified but still ...) it
turned out that they had this use case already in mind.

Just creating a /etc/exim4/hubbed_hosts was enough.

Regards
Klaus
- --
Klaus Ethgen http://www.ethgen.ch/
pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAltgnSsACgkQpnwKsYAZ
9qwWmgv9ELQk1C9a3h/lvtGN6O3IQk2rRCqWil275k2OwX8JiNDhzg1ozRHsCPfL
0SymFJl4RPZw178z+b01gq6tDXrOpZbYuEwe/5+E+E/ALOU92FEV2/LDdRMjZHKy
a2R6BVlLE/thQOVlLQSk/z5PEE1FRwp6ALAGzoy25VOelOydZz/xIHRYe5RGB/9f
rtIIoJMFSqagR00PmuU0lN+tTS1lrihL9lN9f1Ww9Eo9pRlrjbB9Up4mGJsx3rX+
7Ca8VvqvLddSagNTi/ii1TUj4fqmdQIuOiKdTezFNRNvc9PJYRCy7qRnTEiZZT1+
53WE5MLhLOvFqPgKz2So+7cbwKkyXAE8wSyaf/4B96oAv28REXppCz5OVJF1jVWR
pngWAGA5MT+JEnCVEMzvC7+Lb2ANVBl1DaBsYj/ZC24YmnnXQXAR5izX6eZdsH/K
48kDCPTI/96UIOeoWy/nfwiH4IQ0BYXDNahQawzfMf6U1fHXpGlQT1wAkmOAIlko
hjpv739s
=0rX0
-----END PGP SIGNATURE-----

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/