Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: fpausp on January 24, 2017, 05:36:19 PM

Title: use foreign domain mailaddress - 550-Invalid authentication error
Post by: fpausp on January 24, 2017, 05:36:19 PM
I like to use a foreign (not my own domain) mailaddress on my server. When I try to send a mail with this address I get an error:


Code: [Select]
Hi. This is the qmail-send program at mydomain.at.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<target@targetdomain.at>:
127.0.0.1 does not like recipient.
Remote host said: 550-Invalid authentication (you can only send from @mydomain.at or its
550 aliases)
Giving up on 127.0.0.1.

--- Below this line is a copy of the message.

Return-Path: <user@my2nd-domain.at>
Received: (qmail 3166 invoked by uid 453); 24 Jan 2017 09:09:27 -0000
Received: from ap001.mydomain.at (HELO [192.168.xx.x]) (192.168.xx.x)
  (smtp-auth username office, mechanism plain)
  by mydomain.at (qpsmtpd/0.84) with (AES128-SHA encrypted) ESMTPSA; Tue, 24 Jan 2017 10:09:26 +0100
Reply-To: user@my2nd-domain.at
To: target@targetdomain.at
From: Name <user@my2nd-domain.at>
Subject: asdfasdfasdf
Organization: MyOrg
Message-ID: <6388d551-3282-4020-d57c-d86ee39ff285@my2nd-domain.at>
Date: Tue, 24 Jan 2017 10:05:41 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101
 Thunderbird/45.6.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Checked: Checked by ClamAV on mydomain.at
Title: Re: use foreign domain mailaddress - 550-Invalid authentication error
Post by: guest22 on January 24, 2017, 06:18:53 PM
That's exactly how it should work. If not, I could use your domain to send email messages.
Title: Re: use foreign domain mailaddress - 550-Invalid authentication error
Post by: fpausp on January 24, 2017, 06:21:40 PM
Yes... but I like to use more than one domain on one sme9 server to send and receive mails, how should I do it ?
Title: Re: use foreign domain mailaddress - 550-Invalid authentication error
Post by: guest22 on January 24, 2017, 06:23:55 PM
Simply add domain in server-manager and make sure you OWN the (DNS) domain.

This may help: https://wiki.contribs.org/Email (https://wiki.contribs.org/Email)