We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Split Mailserver Configuration, VestaCP and Office365, SMTP 550
-
- Posts: 14
- Joined: Mon Jan 25, 2016 2:25 pm
Split Mailserver Configuration, VestaCP and Office365, SMTP 550
Hi!
some of our Customers want to use a "split" Mail-Server configuration, some Mailboxes at VestaCP, few Mailboxes at Office 365.
example.com ist registered at VestaCP with Web/DNS and Mail.
MX Record Points to VestaCP. Mail in/out from VestaCP runs perfect!
Some Users from example.com use an Office 365 Account.
So for this Mailboxes we forward the Mails to the "internal" Office 395 E-Mail Adresses.
VestaCP Account [email protected] -> Forward to [email protected]
If the User send from his Office 365 Account with [email protected] as sender to [email protected] (VestaCP Mailbox without Forward)
we get an "550 5.0.350 Remote server returned an error -> 550 smtp auth required"
Because of exim config:
Which is ok, but i should recieve this Mails without be an open relay :)
The Customer _old_ Provider had the same setup, he accepted "external" Mails with the same Domain.
Similar, old Cases are:
viewtopic.php?t=11171
viewtopic.php?t=15151
My thoughts:
Domains with "Split" Setup could relay without Auth, perhaps additional with O365 Server IP Whitelist.
O365 Mails should Relay to VestaCP (i think this is not possible on o365)
Best Regards!
some of our Customers want to use a "split" Mail-Server configuration, some Mailboxes at VestaCP, few Mailboxes at Office 365.
example.com ist registered at VestaCP with Web/DNS and Mail.
MX Record Points to VestaCP. Mail in/out from VestaCP runs perfect!
Some Users from example.com use an Office 365 Account.
So for this Mailboxes we forward the Mails to the "internal" Office 395 E-Mail Adresses.
VestaCP Account [email protected] -> Forward to [email protected]
If the User send from his Office 365 Account with [email protected] as sender to [email protected] (VestaCP Mailbox without Forward)
we get an "550 5.0.350 Remote server returned an error -> 550 smtp auth required"
Because of exim config:
Code: Select all
deny message = smtp auth required
sender_domains = +local_domains
!authenticated = *
The Customer _old_ Provider had the same setup, he accepted "external" Mails with the same Domain.
Similar, old Cases are:
viewtopic.php?t=11171
viewtopic.php?t=15151
My thoughts:
Domains with "Split" Setup could relay without Auth, perhaps additional with O365 Server IP Whitelist.
O365 Mails should Relay to VestaCP (i think this is not possible on o365)
Best Regards!
-
- Posts: 14
- Joined: Mon Jan 25, 2016 2:25 pm
Re: Split Mailserver Configuration, VestaCP and Office365, SMTP 550
Hi!
O365 couldn't Relay with Auth to "own" Mailservers.
So i modified my exim config with following ACL Settings:
Office 365 SMTP Server IP's: https://docs.microsoft.com/de-de/office ... nge-online
Best Regards!
O365 couldn't Relay with Auth to "own" Mailservers.
So i modified my exim config with following ACL Settings:
Code: Select all
accept senders = [email protected] : [email protected] #all users at office365 or use *@example.com
hosts = 40.92.0.0/15 : 40.107.0.0/16 : 52.100.0.0/14 : 104.47.0.0/17 #all office365 SMTP Servers
Best Regards!
-
- Posts: 1
- Joined: Fri Oct 30, 2020 10:53 am
- Os: Debian 9x
- Web: apache + nginx
Re: Split Mailserver Configuration, VestaCP and Office365, SMTP 550
If you're an active Office 365 user, then this onedrive for business backup solution is something that you'd be interested in. Protecting your data should be your highest priority, trust me.
Re: Split Mailserver Configuration, VestaCP and Office365, SMTP 550
Hi @ThA-LaN-LaWThA-LaN-LaW wrote: ↑Mon Jul 06, 2020 5:28 pmHi!
O365 couldn't Relay with Auth to "own" Mailservers.
So i modified my exim config with following ACL Settings:
Office 365 SMTP Server IP's: https://docs.microsoft.com/de-de/office ... nge-onlineCode: Select all
accept senders = [email protected] : [email protected] #all users at office365 or use *@example.com hosts = 40.92.0.0/15 : 40.107.0.0/16 : 52.100.0.0/14 : 104.47.0.0/17 #all office365 SMTP Servers
Best Regards!
I copied your configuration to my conf file and still failing.
I don't know why, because i think it's correct... even I add a large list of Microsoft IP's...
Code: Select all
hosts = 13.107.6.152/31 : 13.107.18.10/31 : 13.107.128.0/22 : 23.103.160.0/20 : 40.96.0.0/13 : 40.104.0.0/15 : 52.96.0.0/14 : 131.253.33.215/32 : 132.245.0.0/16 : 150.171.32.0/22 : 204.79.197.215/32 : 13.107.6.152/31 : 13.107.18.10/31 : 13.107.128.0/22 : 23.103.160.0/20 : 40.96.0.0/13 : 40.104.0.0/15 : 52.96.0.0/14 : 131.253.33.215/32 : 132.245.0.0/16 : 150.171.32.0/22 : 204.79.197.215/32 : 13.107.6.152/31 : 13.107.18.10/31 : 13.107.128.0/22 : 23.103.160.0/20 : 40.96.0.0/13 : 40.104.0.0/15 : 52.96.0.0/14 : 131.253.33.215/32 : 132.245.0.0/16 : 150.171.32.0/22 : 204.79.197.215/32 : 13.107.6.152/31 : 13.107.18.10/31 : 13.107.128.0/22 : 23.103.160.0/20 : 40.96.0.0/13 : 40.104.0.0/15 : 52.96.0.0/14 : 131.253.33.215/32 : 132.245.0.0/16 : 150.171.32.0/22 : 204.79.197.215/32 : 40.92.0.0/15 : 40.107.0.0/16 : 52.100.0.0/14 : 52.238.78.88/32 : 104.47.0.0/17 : 40.92.0.0/15 : 40.107.0.0/16 : 52.100.0.0/14 : 104.47.0.0/17 #all office365 SMTP Servers = 40.92.0.0/15 : 40.107.0.0/16 : 52.100.0.0/14 : 104.47.0.0/17 #all office365 SMTP Servers
I think I tried all the possibles configurations, and nothing...
Thanks you
Regards