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.
Exim: cannot receive email with same hostname
Exim: cannot receive email with same hostname
When I host the following e-mailaddress: [email protected] on my VestaCP server, it rejects emails sent from different hosts with [email protected] as its sender:
In /etc/exim4/exim4.conf.template you can find the relevant section:
I can of course hack around a bit in the configuration, but should this not work out of the box? What is the recommended way to solve this? In my case, our web server (different machine) sends a mail as [email protected] to one of our users, and BCCs it to [email protected] as well.
PS: many thanks for a great control panel, very happy with it so far! :)
Code: Select all
Diagnostic-Code: smtp; 550 smtp auth requried
Code: Select all
deny message = smtp auth requried
sender_domains = +local_domains
!authenticated = *
PS: many thanks for a great control panel, very happy with it so far! :)
Re: Exim: cannot receive email with same hostname
PS: sorry, I think it would be helpful to have mentioned that I'm using a stock Ubuntu 14.04.1 LTS distribution. No customisations, except for installing Vesta and the packages it suggests :)
Re: Exim: cannot receive email with same hostname
I had the same issue, as per: viewtopic.php?f=12&t=6183
It's specifically that it requires mail between (ie from and to) its own hosted domains to be submitted via authenticated SMTP, and will bounce them if received otherwise. Ie assuming that anyone using your domain as a sender will send mail via an auth connection your server. Granted it's a bit of an unusual setup; I guess it stops a spammer eg using your own email address or domain as the sender to spam to you.
I disabled that section with no problems. (Also on 14.04.)
It's specifically that it requires mail between (ie from and to) its own hosted domains to be submitted via authenticated SMTP, and will bounce them if received otherwise. Ie assuming that anyone using your domain as a sender will send mail via an auth connection your server. Granted it's a bit of an unusual setup; I guess it stops a spammer eg using your own email address or domain as the sender to spam to you.
I disabled that section with no problems. (Also on 14.04.)
Re: Exim: cannot receive email with same hostname
That looks quite good, thanks a lot! This doesn't make your server as an open relay, I hope? :) I'll double check and report back later tonight...
Re: Exim: cannot receive email with same hostname
Great, works fine! And yes, to be sure I checked if it turns your SMTP server into an open relay. It doesn't.
Thanks GuzziGuy!
Code: Select all
RCPT TO: [email protected]
550 relay not permitted
Re: Exim: cannot receive email with same hostname
I checked that too :) But glad to be of help! Vesta is my first time using Exim so I'm still figuring stuff out - having used Postfix before. But I'm gradually picking it up. If you check in the forum, I also have a guide to getting Sieve working - definitely a useful addition to Vesta...jstsch wrote:Great, works fine! And yes, to be sure I checked if it turns your SMTP server into an open relay. It doesn't.Thanks GuzziGuy!Code: Select all
RCPT TO: [email protected] 550 relay not permitted