SMTP routing for specific senders

Hi,

We have a customer that has a domain which points to our server, and emails are being generated using this domain - e.g. *@customer.com

They would like all e-mails that are from a member of @customer.com to be routed to their own mail filter / relay via SMTP.

However, all of our other customers (and our own mail) should not route to this relay - rather just keep on routing through our own mail server.

I had thought I could set this up using foreign SMTP records, but normally we would use these when messages need to be routed to particular users rather than detecting who they are from.

At the moment it is working, but this is because a . foreign SMTP record has been introduced - of course this means everything is being routed to their relay rather than just @customer.com e-mails. Could we leave this in place, but enforce some other rule before it to catch messages from other domains?

Is there any way of doing this or will we have to think of another alternative?!

Any input would be appreciated - thanks!

Subject: Possible if customer is using their own mailserver(s) alone

If your customer.com users have dedicated Domino servers for all their mailfiles and no one else is using the same server(s) there is a simple solution.

In the configuration document for that/those server(s) you can put up company.com’s relay server.
Router/SMTP | Basics | Relay hosts for messages leaving the local internet domain

Regards,

Hans

Subject: SMTP

Thanks for the response, Hans!

Sadly this is not how it is set up - the main issue is that customer.com’s e-mail system is nothing to do with us - but we will be generating e-mails (agents etc) which they want to go via their mail relay (i.e. we host their application, they host their e-mail but to anyone else it looks as if everything is operating in the same domain so that reverse DNS lookups work correctly).

I think we are just going to have to alter the agents to call their relay via SMTP directly.

Thanks again!

Subject: Use mail rule and agent in mail.box?

Create a Foregin domain called CUSTOMERCreate a SMTP connection document from one your Domino servers to the CUSTOMER domain and put customer.com’s relay host in the SMTP MTA relay host field.

Create a server rule in the configuration document for the Domino server that will mark as held every mail with sender containing customer.com as held.

Create an agent in mail.box that adds @CUSTOMER to the to-address and releases the email.

Might work?

Or change your agents to directly add @CUSTOMER when creating emails.

Hans