1

Topic: Accepting incoming email from another SMTP server

==== Required information ====
- iRedMail version: iRedAdmin-Pro v1.5.1 (MySQL)
- Store mail accounts in which backend: MySQL
- Linux/BSD distribution name and version: CentOS 6.3
- Related log if you're reporting an issue:
====

Hello,

I've run into a bit of a challenge. The "owner" of one of the domains I host on our iRedMail installation has made a deal with a local mobile telco for a private APN for their smartphones. This telco *requires* that these smartphones deliver their email at the telco's own SMTP server (authenticated).

So these users send out email, with a from address in a domain hosted on our iRedMail installation, via the telco's mail server. If they try to send an email to themselfs, it will arrive at iRedMail, and it will reject it with "not logged in", as it detects it's a local user, and there was no SMTP authentication.

Obviously I don't want to disable this for the entire server (that would effectively make it an open relay), but I would like to allow users for this particular domain (and this domain only) to use the telco's SMTP server for outgoing email, and have iRedMail accept these emails.

Any idea how this can be configured?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Accepting incoming email from another SMTP server

You can try Postfix setting "sender_dependent_relayhost_maps": http://www.postfix.org./postconf.5.html#sender_dependent_relayhost_maps

3

Re: Accepting incoming email from another SMTP server

Thanks for the fast reply, I'll have a look.

4

Re: Accepting incoming email from another SMTP server

Hello,

Did you get this situation fixed ? I'm trying to accomplish the same thing and can't find how to get this done.

Thank you !

5

Re: Accepting incoming email from another SMTP server

No, still on my todo list.

Currently the fact that SPAM filtering doesn't work (amavisd doesn't want to connect to the database) has a higher prio...

6

Re: Accepting incoming email from another SMTP server

Ok, I created an another topic : http://www.iredmail.org/forum/post21921.html#p21921

Let see !