Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Showing results for 
Search instead for 
Did you mean: 

Sendmail adds "relay" to the recipient address.

Sendmail adds "relay" to the recipient address.

I have recently changed our database server.
The previous server its configured to relay to another smtp server, and it works fine.

But with the new server we have a problem.. All mails appears to be delivered at the mail.log, but running sendmail in verbose mode, shows that the program is adding the word "relay" to the recipient address:

# /usr/sbin/sendmail -v
. Connecting to relay via relay...
220 Trend Micro InterScan Messaging Security Suite, Version: 5.5 ready at Mon, 09 Apr 2007 10:05:59 -030
>>> EHLO supports the following ESMTP extensions:
250-SIZE 10362880
250 OK
>>> MAIL From: SIZE=7
250 : Sender Ok
>>> RCPT To:
250 : Recipient Ok
>>> DATA
354 Send data now. Terminate with "."
>>> .
250 Message accepted for delivery Sent ( Message accepted for delivery)
Closing connection to relay

Could anyone help?

Thanks in advance.

Re: Sendmail adds "relay" to the recipient address.


Added hostname. (hostname dot) to hosts, and removed from solved our problem!