Thanks everyone,

What are the external exim commands to relay outbound email messages to a designated server (i.e., outbound.mailhop.org) over port no. 2525?

Hal


On 2012-10-05 04:00, [email protected] wrote:
Send Exim-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.exim.org/mailman/listinfo/exim-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Exim-users digest..."

Today's Topics:

   1. remote smtp server ([email protected])
   2. Re: changing mailstores ([email protected])
   3. Re: changing mailstores (Matthew Newton)
4. Exim problem with non-TLS supporting senders (Emmanuel Noobadmin)
   5. Re: Exim problem with non-TLS supporting senders
      (Roger Burton West)

List-Post: <mailto:[email protected]>
Content-Transfer-Encoding: 7bit
From: [email protected]
Precedence: list
MIME-Version: 1.0
To: <[email protected]>
Date: Fri, 05 Oct 2012 00:49:21 -0700
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8;
 format=flowed
Subject: [exim] remote smtp server
Message: 1

Hi all,

How do we set up Exim (Exim 4) to use a remote smtp server (i.e,
AUTH,ROUTERSTART,TRANSPORTSTART)?


Section: AUTH
login:
driver = plaintext
public_name = LOGIN
client_send = ": username : password"


Section: ROUTERSTART
send_to_smart_host:
driver = manualroute
route_list = !+local_domains hostname
transport = remote_smtp


Section: TRANSPORTSTART
remote_smtp_over_ssh:
driver = smtp
port = 2525
hosts_require_auth = hostname


Regards,
Hal




List-Post: <mailto:[email protected]>
Content-Transfer-Encoding: base64
From: <[email protected]>
Precedence: list
MIME-Version: 1.0
To: "W B Hacker" <[email protected]>,
        "exim users" <[email protected]>
References:

<[email protected]><[email protected]>
        <[email protected]>
In-Reply-To: <[email protected]>
Date: Fri, 5 Oct 2012 10:58:47 +0100
Message-ID: <[email protected]>
Content-Type: text/plain;
        charset="utf-8"
Subject: Re: [exim] changing mailstores
Message: 2


DQpJIGRvIG5vdCBoYXZlIGFjY2VzcyB0byBNYWlsc3RvcmVBI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NvdXJjZSB0aGF0IGFnYWluIEkgZG8gbm90IG1hbmFnZS4gDQoNClNp

bXBseSBob2xkaW5nIEFMTCBlbWFpbCBnb2luZyB0byBtYWlsc3RvcmVBIGlzIG5vdCBhbiBvcHRp

b24gYXMgd2UgYXJlIG5vdCBtaWdyYXRpbmcgYWxsIHVzZXJzIGF0IG9uY2UgLSB0aGVyZSBhcmUg

cm91Z2hseSA0NSwwMDAgb2YgdGhlbSBhbmQgcmF0aGVyIGEgbG90IG9mIGRhdGEgLSBzbyBJIGFt

IHZlcnkgZGVwZW5kZW50IG9uIGVpdGhlciB0aGUgcm91dGluZyBkYXRhIGJlaW5nIHVwZGF0ZWQg

aW4gYWR2YW5jZSBmb3IgYmF0Y2hlcyBvZiB1c2Vycywgb3IgaGF2ZSB0byBob3BlIHRoYXQgZXhp

bSB3aWxsIHF1ZXVlIG1haWwgaWYgSSBnZXQgdGhlIFNNVFAgZW5kIHNodXRkb3duIG9uIE1haWxz

dG9yZUEgLSBhbmQgdGhlbiByZWRlbGl2ZXIgYXBwcm9wcmlhdGVseS4NCg0KUGF1bA0KDQoNCg0K




List-Post: <mailto:[email protected]>
From: Matthew Newton <[email protected]>
Precedence: list
MIME-Version: 1.0
Cc: exim users <[email protected]>
To: [email protected]
References: <[email protected]>
        <[email protected]>
        <[email protected]>
        <[email protected]>
In-Reply-To: <[email protected]>
Date: Fri, 5 Oct 2012 11:35:52 +0100
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Subject: Re: [exim] changing mailstores
Message: 3

Hi Paul,

On Fri, Oct 05, 2012 at 10:58:47AM +0100, [email protected] wrote:
Hence my very specific questions related to what happens if I
queue the email on the router and the routing data is updated.

We have been doing this over the summer, and it works fine.
Remember that the ACLs are processed once at message receive time,
but the routers are run each time that the message is processed
from the queue.

We route everything internally using redirects (for example,
'real' address [email protected] is redirected internally to
[email protected], so there are a couple of routers
something like

internal_routing:
  driver = dnslookup
  domains = +all_local_domains
  transport = smtp_inbound
  no_more

find_mailbox:
  driver = redirect
  domains = le.ac.uk:leicester.ac.uk
  data = ${lookup ...


I changed this to:

internal_routing:
  driver = dnslookup
  domains = +all_local_domains
  transport = smtp_inbound
  no_more

new_mailbox:
  driver = redirect
  domains = le.ac.uk:leicester.ac.uk
  data = ${lookup ... in new directory...

pause_mail:
  driver = redirect
  domains = le.ac.uk:leicester.ac.uk
  condition = PAUSE_RCPT
  data = :defer:
  allow_defer
  no_verify
  no_more

find_mailbox:
  driver = redirect
  domains = le.ac.uk:leicester.ac.uk
  data = ${lookup ...


The pause router just keeps mail on the queue (it's no_verify, so
doesn't affect receipt) if a DNS entry is set based on the
username. It's a nice simple way I've got for another team to
immediately control lists of users that are being migrated, and it
stops mail being delivered to the old mailbox while the account is
being moved over. (Yes, it's a bit odd, but nsupdate on private
DNS zones is working really well for mail control here... it's
fast to update, distributed over multiple servers, resililent
in case of failures, and exim can query it directly).

So their migration procedure is something like

 - pause the user
 - create the new mailbox
 - export any mail or other settings
 - add the user to the new directory
 - move mail or files over
 - unpause the user

as soon as the user is added to the new directory, the new_mailbox
router will see it and route mail to the new mailbox (whether or
not any old mail has yet been moved - in actual fact someone made
the decision not to migrate old mail - don't ask - but that was
the procedure I gave them).

It's been working really well for all the migrations over the
summer.

Hope that helps,

Cheers

Matthew


List-Post: <mailto:[email protected]>
From: Emmanuel Noobadmin <[email protected]>
Precedence: list
MIME-Version: 1.0
To: exim-users <[email protected]>
Date: Fri, 5 Oct 2012 18:42:33 +0800
Message-ID: <caayorblwgu+rqhuefsksvk7-3g977oepd1aqmpbrdcf9dnh...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Subject: [exim] Exim problem with non-TLS supporting senders
Message: 4

I've some users that cannot receive emails from a particular domain.
On checking the logs, I see massive ton of incomplete transaction like
this

incomplete transaction (connection lost) from <xxx@xxxx> for yyy@yyy
unexpected disconnection while reading SMTP command from ()

Running a mxtoolbox.com check on the other server seems to point to
the fact the sender's server does not support TLS.

I'm reluctant to disable TLS on exim just because of one sender so
wondering what is the best way to handle such senders?




List-Post: <mailto:[email protected]>
From: Roger Burton West <[email protected]>
Precedence: list
MIME-Version: 1.0
To: [email protected]
References: <caayorblwgu+rqhuefsksvk7-3g977oepd1aqmpbrdcf9dnh...@mail.gmail.com>
In-Reply-To:
<caayorblwgu+rqhuefsksvk7-3g977oepd1aqmpbrdcf9dnh...@mail.gmail.com>
Date: Fri, 5 Oct 2012 11:45:51 +0100
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Subject: Re: [exim] Exim problem with non-TLS supporting senders
Message: 5

On Fri, Oct 05, 2012 at 06:42:33PM +0800, Emmanuel Noobadmin wrote:
I'm reluctant to disable TLS on exim just because of one sender so
wondering what is the best way to handle such senders?

Exim as a recipient isn't going to start TLS without being asked to by
the sender.

I think you'll need to capture the SMTP transaction to see what's
going on.




--

## List details at https://lists.exim.org/mailman/listinfo/exim-users
Exim details at http://www.exim.org/ ##


--
## 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/

Reply via email to