On Wed, 27 Aug 2014 12:32:14 AM Chris Russell wrote:
> Hi Matt,
>
> >hostlist relay_hosts = net-lsearch;/etc/virtual/pophosts :
> > /etc/virtual/trusted_ips : 127.0.0.1 : ::1
>
> From exim.conf:
>
> # The third setting specifies hosts that can use your host as an outgoing
> relay # to any other host on the Internet. Such a setting commonly refers
> to a # complete local network as well as the localhost. For example:
> #
> # hostlist relay_from_hosts = <; 127.0.0.1 ; ::1 ; 192.168.0.0/16
>
> So, yes but you`ll need to change the delimiter from colon : to something
> else, the above sets it to semi-colon.
Or from the same section
If the pattern is an IP address, it is matched against the IP address of the
subject host. IPv4 addresses are given in the normal “dotted-quad” notation.
IPv6 addresses can be given in colon-separated format, but the colons have to
be doubled so as not to be taken as item separators when the default list
separator is used. IPv6 addresses are recognized even when Exim is compiled
without IPv6 support. This means that if they appear in a host list on an
IPv4-only host, Exim will not treat them as host names. They are just
addresses that can never match a client host.
>
> Manual section is here:
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch-domain_host_add
> ress_and_local_part_lists.html (Section 8, domain lists)
>
> Also, you may wish to set the following - gmail has a tendancy to treat a
> lot of ipv6 email as spam so its easier to push out via ipv4:
>
> dns_ipv4_lookup = gmail-smtp-in.l.google.com : aspmx.l.google.com
>
> Cheers
>
> Chris
>
>
>
>
> website: www.knowledgeit.co.uk | blog: www.knowledgeit.co.uk/blog | twitter:
> @KnowledgeITUK
>
> Knowledge Limited, Company Registration: 1554385
> Registered Office: New Century House, Crowther Road, Washington, Tyne &
> Wear. NE38 0AQ Leeds Office: Viscount Court, Leeds Road, Rothwell, Leeds.
> LS26 0GR
>
> Tel: 0845 142 0020. Fax: 0845 142 0021
>
> E-Mail Disclaimer: This e-mail message is intended to be received only by
> persons entitled to receive the confidential information it may contain.
> E-mail messages to clients of Knowledge IT may contain information that is
> confidential and legally privileged. Please do not read, copy, forward, or
> store this message unless you are an intended recipient of it. If you have
> received this message in error, please forward it to the sender and delete
> it completely from your computer system.
>
> Please consider the environment before printing this email.