Koozali.org: home of the SME Server

Sendmail Header xxxx.com / mail.xxx.com

Offline windowsxp

  • **
  • 25
  • +0/-0
Sendmail Header xxxx.com / mail.xxx.com
« on: February 19, 2016, 11:07:43 AM »
Hello everybody,

i have a problem with the sme server 9.  :-o .We send the emails with domain.com but i need for my provider mail.domain.com.
Can me someone explain to change this?

Best regards,

XP

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Sendmail Header xxxx.com / mail.xxx.com
« Reply #1 on: February 19, 2016, 11:19:23 AM »
moving to SME Server 9.X

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Sendmail Header xxxx.com / mail.xxx.com
« Reply #2 on: February 19, 2016, 05:15:02 PM »
can you give us more details on your setup and your need?

Offline windowsxp

  • **
  • 25
  • +0/-0
Re: Sendmail Header xxxx.com / mail.xxx.com
« Reply #3 on: February 24, 2016, 02:01:54 PM »
can you give us more details on your setup and your need?

We sendmails with mail.abc.com this is right.
We received the mails with mailserver.mail.abc.com but we need for the provider mail.abc.com.
You know what i mean?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Sendmail Header xxxx.com / mail.xxx.com
« Reply #4 on: February 24, 2016, 03:06:33 PM »
so, IIUC, your server hostname is mailserver.mail.abc.com?

why did you setup it so?

if your domain is abc.com, setup your server as (example) server.abc.com.. then you'll have an hostname mail.abc.com.. that's all

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Sendmail Header xxxx.com / mail.xxx.com
« Reply #5 on: February 24, 2016, 05:04:08 PM »
You could have a look at changing the smtp variable...

[root@server1 ~]# config show smtpd |grep Greeting
    Greeting=mail.domain.com
[root@server1 ~]#

https://wiki.contribs.org/DB_Variables_Configuration#smtpd
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Sendmail Header xxxx.com / mail.xxx.com
« Reply #6 on: February 24, 2016, 05:23:30 PM »
Doh!
Nice shot, thank you

Offline windowsxp

  • **
  • 25
  • +0/-0
Re: Sendmail Header xxxx.com / mail.xxx.com
« Reply #7 on: March 04, 2016, 12:01:25 PM »
Thanks!
This was the first solution of my problem   :-)
But we have the next problem.
With Smtp Provider comes the following error.

*************************************************
Hi. This is the qmail-send program at ahlborn.com.
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.

<xxxxxxcom>:
xxxxxxxx does not like recipient.
Remote host said: 550 relay not permitted
Giving up on xxxxxxxxxxx

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

Return-Path: <xxxxxxxxx>
Received: (qmail 22931 invoked by uid 453); 3 Mar 2016 12:24:56 -0000
Received: from localhost (HELO localhost) (127.0.0.1)
    by ahlborn.com (qpsmtpd/0.84) with ESMTP; Thu, 03 Mar 2016 13:24:56 +0100
User-Agent: SOGoMail 2.2.9a
X-Forward: xxxxxxxxx
MIME-Version: 1.0
from: "xxxxxxxxxxx>
subject: xxxxxxxxxxx
message-id: <5849-56d82d00-1-13bd5920@119756131>
to: xxxxx.com
content-type: text/plain; charset="utf-8"
date: Thu, 03 Mar 2016 13:24:56 +0100
content-length: 11
content-transfer-encoding: 7bit
X-Virus-Checked: Checked by ClamAV on xxx.com

xxxxxxxxx

????

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Sendmail Header xxxx.com / mail.xxx.com
« Reply #8 on: March 04, 2016, 12:24:56 PM »
You really need to leave all information included as we are not able to know what "xxxx" means and have no way of helping you trouble shoot this issue.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!