Page 1 of 1

How can I add a domain to a whitelist?

Posted: Thu Aug 13, 2015 7:44 pm
by isaac
How can I add a domain to a whitelist (ubuntu 14)?

Right now my domain is blocking any email that comes from Mailgun (which doesn't have a dedicated IP).

example:
2015-08-13 07:58:23 TLS error on connection from so254-44.mailgun.net [198.61.254.44] (gnutls_handshake): A TLS fatal alert has been received.
2015-08-13 07:58:28 H=so254-44.mailgun.net [198.61.254.44] sender verify fail for <bounce+656901.081fb-sean=[email protected]>: Unrouteable address
2015-08-13 07:58:28 H=so254-44.mailgun.net [198.61.254.44] F=<bounce+656901.081fb-sean=[email protected]> rejected RCPT <[email protected]>: Sender verify failed

*I've changed the domain name for privacy.

Thank you,
Isaac

Re: How can I add a domain to a whitelist?

Posted: Sun Aug 16, 2015 8:01 am
by skurudo
Try to use accept hosts = host1 : host2 and etc

http://www.exim.org/exim-html-current/d ... lists.html

Re: How can I add a domain to a whitelist?

Posted: Wed Mar 23, 2016 10:02 am
by Yukinarija
Rising from the ashes is this old thread!

We just begun using MailGun and - randomly - a few days ago it stopped sending e-mails, to the same domain, which is registered in the server.

So basically, using external SMTP, we send e-mails with 'from' the same - as mailboxes existing in the VestaCP server.

->> tail -n 50 /var/log/exim4/mainlog

Code: Select all

2016-03-22 11:57:37 Start queue run: pid=3862
2016-03-22 11:57:37 End queue run: pid=3862
2016-03-22 11:58:23 TLS error on connection from mail10.static.mgsend.net [104.130.122.10] (gnutls_handshake): A TLS fatal alert has been received.
2016-03-22 11:58:28 H=mail10.static.mgsend.net [104.130.122.10] sender verify fail for <bounce+139837.3068f-yukinarija=DOMAIN.CHANGED.FOR.FORUM@DOMAIN.CHANGED.FOR.FORUM>: Unrouteable address
2016-03-22 11:58:28 H=mail10.static.mgsend.net [104.130.122.10] F=<bounce+139837.3068f-yukinarija=DOMAIN.CHANGED.FOR.FORUM@pole.zone> rejected RCPT <[email protected]: Sender verify failed
(the example has the box identifier changed to yukinarija and domain changed to DOMAIN.CHANGED.FOR.FORUM)

1)
Tried various methods, accepting hosts..etc.etc.. - nothing so far has worked and it's been really time consuming - this was done yesterday.
2)
Today the work continued - I really thought that adding * to dc_relay_domains='*' would work as a test ( ran update afterwards and restarted..) but no changes at all.

Does anybody have some ideas for exim4 to try out?
Thanks.