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

SMTP Auth - SMTP Relay

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
10 posts • Page 1 of 1
nunim
Posts: 2
Joined: Wed Dec 18, 2013 7:46 am

SMTP Auth - SMTP Relay
  • Quote

Post by nunim » Tue Mar 25, 2014 10:08 am

Hello,

I'm running VestaCP on Debian 7, I'm having an issue with receiving mail. I'm attempting to have CSF/LFD on another server send reports to an email hosted on my VestaCP server. The messages are being sent, however they're bouncing due to the following:

--- The following addresses had permanent fatal errors -----
[email protected]
(reason: 550 smtp auth requried)

I've tried a few things yet none of them had any effect. I read on this forum that I could allow relay by adding the address to the exim configuration file, I have done so:

/etc/exim4/exim4.conf.template
hostlist relay_from_hosts = 127.0.0.:204.145.yy.xx

I restarted exim and I still receive the smtp auth error. I'm attempting to allow smtp relay from one IP only, allowing all traffic without sender verification etc is the idea but just disabling SMTP auth would be great. Any advice would be most appreciated.
Top

Sanity
Posts: 167
Joined: Tue Apr 08, 2014 9:10 am
Contact:
Contact Sanity
Website

Os: Ubuntu 15x
Web: apache + nginx
Re: SMTP Auth - SMTP Relay
  • Quote

Post by Sanity » Thu Apr 17, 2014 1:20 pm

Did you get it working?. I have the same problem and can not get it to work
Top

kDas
Posts: 15
Joined: Sun Dec 02, 2012 11:01 am

Re: SMTP Auth - SMTP Relay
  • Quote

Post by kDas » Thu Apr 17, 2014 2:05 pm

Same problem.

I got it after restoring user from backup.
Top

elninja
Posts: 3
Joined: Mon Sep 29, 2014 6:26 pm

Re: SMTP Auth - SMTP Relay
  • Quote

Post by elninja » Mon Sep 29, 2014 6:32 pm

I fixed it, for me it was a misconfiguration in ownership of the /home/admin/conf/mail/example.com/aliases

All of the files where owned by root:root so dovecot could not read the domain and email aliases when receiving mail.

You can fix it with:

chmod -R Debian-exim:mail /home/admin/conf/mail/*

Followed by:

chmod -R dovecot:mail /home/admin/conf/mail/*/passwd
Top

canoodle
Posts: 48
Joined: Thu Nov 27, 2014 9:34 am

Re: SMTP Auth - SMTP Relay
  • Quote

Post by canoodle » Thu Nov 27, 2014 9:50 am

you probably meant:

Code: Select all

chown -R Debian-exim:mail /home/admin/conf/mail/*
Followed by:

Code: Select all

chown -R dovecot:mail /home/admin/conf/mail/*/passwd
...

i added a lot of "forward to this mail adresses" list... but they get not delivered. (sort of mailing list replacement)

does anyone know any good software for this that could run along Vesta CP?

still having the same error:

Code: Select all

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  [email protected]
    SMTP error from remote mail server after RCPT TO:<[email protected]>:
    host mail.somedomain.de [78.47.157.226]:
    550 smtp auth requried

------ This is a copy of the message, including all the headers. ------

Return-path: <[email protected]>
Received: from [88.198.220.132] (helo=sslproxy03.your-server.de)
	by www314.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256)
	(Exim 4.80.1)
	(envelope-from <[email protected]>)
	id 1XtvUP-0005ff-7l
	for [email protected]; Thu, 27 Nov 2014 10:35:53 +0100
Received: from [94.218.44.24] (helo=mactower.zeuch.intern)
	by sslproxy03.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-SHA:256)
	(Exim 4.80)
	(envelope-from <[email protected]>)
	id 1XtvUL-0002B7-RK
	for [email protected]; Thu, 27 Nov 2014 10:35:50 +0100
Message-ID: <[email protected]>
Date: Thu, 27 Nov 2014 10:30:01 +0100
From: canoodle  <[email protected]>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: [email protected]
Subject: test
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Authenticated-Sender: [email protected]
X-Virus-Scanned: Clear (ClamAV 0.98.4/19687/Thu Nov 27 06:40:30 2014)
Top

jonn
Posts: 72
Joined: Sun Jun 08, 2014 12:18 pm

Re: SMTP Auth - SMTP Relay
  • Quote

Post by jonn » Fri Oct 30, 2015 7:20 pm

Sorry, but that is not a fix, the bug is still present on Debian 7 install of vestacp.
Its a bug that will need to be looked at by vestacp team.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: SMTP Auth - SMTP Relay
  • Quote

Post by skurudo » Thu Nov 05, 2015 8:10 am

Let's continue in this topic:
viewtopic.php?f=12&t=9591&p=33536#p33536
Top

Bohatyaor
Posts: 1
Joined: Wed Apr 27, 2016 10:29 am

Re: SMTP Auth - SMTP Relay
  • Quote

Post by Bohatyaor » Wed Apr 27, 2016 10:42 am

he messages are being sent, however they're bouncing due to the following:???




logo creator
Last edited by Bohatyaor on Thu Jun 14, 2018 9:43 am, edited 2 times in total.
Top

ShaunWHD
Posts: 18
Joined: Tue May 03, 2016 5:30 pm

Re: SMTP Auth - SMTP Relay
  • Quote

Post by ShaunWHD » Tue May 03, 2016 5:45 pm

I had similar 550 errors. Adding "auth_advertise_hosts = *" to my exim.conf just below "host_lookup = *" fixed it for me.
Top

misak35
Posts: 60
Joined: Thu Jan 16, 2014 10:48 am

Re: SMTP Auth - SMTP Relay
  • Quote

Post by misak35 » Mon Sep 19, 2016 12:27 am

ShaunWHD wrote:I had similar 550 errors. Adding "auth_advertise_hosts = *" to my exim.conf just below "host_lookup = *" fixed it for me.
Not working for me
Top


Post Reply
  • Print view

10 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
 

 

cron

Login  •  Register

I forgot my password