Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

Exim: cannot receive email with same hostname

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
jstsch
Posts: 6
Joined: Fri Sep 05, 2014 9:28 am

Exim: cannot receive email with same hostname
  • Quote

Post by jstsch » Wed Nov 19, 2014 9:29 pm

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:

Code: Select all

Diagnostic-Code: smtp; 550 smtp auth requried
In /etc/exim4/exim4.conf.template you can find the relevant section:

Code: Select all

  deny    message       = smtp auth requried
         sender_domains = +local_domains
         !authenticated = *
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! :)
Top

jstsch
Posts: 6
Joined: Fri Sep 05, 2014 9:28 am

Re: Exim: cannot receive email with same hostname
  • Quote

Post by jstsch » Thu Nov 20, 2014 10:45 am

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 :)
Top

GuzziGuy
Posts: 14
Joined: Thu Oct 30, 2014 6:27 pm

Re: Exim: cannot receive email with same hostname
  • Quote

Post by GuzziGuy » Thu Nov 20, 2014 2:00 pm

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.)
Top

jstsch
Posts: 6
Joined: Fri Sep 05, 2014 9:28 am

Re: Exim: cannot receive email with same hostname
  • Quote

Post by jstsch » Thu Nov 20, 2014 3:35 pm

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...
Top

jstsch
Posts: 6
Joined: Fri Sep 05, 2014 9:28 am

Re: Exim: cannot receive email with same hostname
  • Quote

Post by jstsch » Thu Nov 20, 2014 11:43 pm

Great, works fine! And yes, to be sure I checked if it turns your SMTP server into an open relay. It doesn't.

Code: Select all

RCPT TO: [email protected]
550 relay not permitted
Thanks GuzziGuy!
Top

GuzziGuy
Posts: 14
Joined: Thu Oct 30, 2014 6:27 pm

Re: Exim: cannot receive email with same hostname
  • Quote

Post by GuzziGuy » Sun Nov 23, 2014 11:27 am

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.

Code: Select all

RCPT TO: [email protected]
550 relay not permitted
Thanks GuzziGuy!
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...
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password