Page 1 of 1

SMTP Auth - SMTP Relay

Posted: Tue Mar 25, 2014 10:08 am
by nunim
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.

Re: SMTP Auth - SMTP Relay

Posted: Thu Apr 17, 2014 1:20 pm
by Sanity
Did you get it working?. I have the same problem and can not get it to work

Re: SMTP Auth - SMTP Relay

Posted: Thu Apr 17, 2014 2:05 pm
by kDas
Same problem.

I got it after restoring user from backup.

Re: SMTP Auth - SMTP Relay

Posted: Mon Sep 29, 2014 6:32 pm
by elninja
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

Re: SMTP Auth - SMTP Relay

Posted: Thu Nov 27, 2014 9:50 am
by canoodle
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)

Re: SMTP Auth - SMTP Relay

Posted: Fri Oct 30, 2015 7:20 pm
by jonn
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.

Re: SMTP Auth - SMTP Relay

Posted: Thu Nov 05, 2015 8:10 am
by skurudo
Let's continue in this topic:
viewtopic.php?f=12&t=9591&p=33536#p33536

Re: SMTP Auth - SMTP Relay

Posted: Wed Apr 27, 2016 10:42 am
by Bohatyaor
he messages are being sent, however they're bouncing due to the following:???




logo creator

Re: SMTP Auth - SMTP Relay

Posted: Tue May 03, 2016 5:45 pm
by ShaunWHD
I had similar 550 errors. Adding "auth_advertise_hosts = *" to my exim.conf just below "host_lookup = *" fixed it for me.

Re: SMTP Auth - SMTP Relay

Posted: Mon Sep 19, 2016 12:27 am
by misak35
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