Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Relay problem with sendmail localhost user
  •  
JohnnyG

Messages: 12
Karma: 0
Send a private message to this user
We have an Oracle database server running on Solaris. It generates reports and uses sendmail on the local machine to relay the messages through SMTP to my Kerio server, which then sends them out to customers. Here is the problem that's we're seeing though.

In the From field of the message that sendmail is sending, it lists the address as psgreports@localhost. It appears that Kerio is taking the 'localhost' part and substituting in the the localhost name of the Kerio Windows server itself. So the From address then looks like psgreports<_at_>scotty.ekwebint.com. @

The problem is that ekwebint.com is an internal domain, so when many mail servers attempt to do a reverse DNS lookup, it fails, so they bounce the message.

Is there anything I can do in Kerio to get it to stop substituting the local machines name for localhost? Or is there a way for me to mask all messages coming from @localhost to give them a different domain? Any help would be appreciated.

[Updated on: Fri, 27 May 2011 19:11]

  •  
JohnnyG

Messages: 12
Karma: 0
Send a private message to this user
That second address in the second paragraph should have a normal @ symbol, but the forums keep messing it up Everytime I try to fix it.
  •  
TorW

Messages: 769
Karma: 9
Send a private message to this user
Every single computer on the local network, on the internet (and in the entire universe for that matter) is called "localhost" if it has a TCP/IP stack. There's no way to kludge this on Kerio (it's called "localhost" too), so change the sendmail config on the Oracle server: http://www.sendmail.org/m4/tweaking_config.html#confDOMAIN_N AME
  •  
JohnnyG

Messages: 12
Karma: 0
Send a private message to this user
I am aware of the localhost naming and how it works, it's the fact that Kerio just doesn't leave the domain as <_at_>localhost that confuses me.

As for your recommendation, I will pass it on to my Unix admin and see if he can make the change. Thanks.
  •  
TorW

Messages: 769
Karma: 9
Send a private message to this user
JohnnyG wrote on Fri, 27 May 2011 19:47
[...] it's the fact that Kerio just doesn't leave the domain as <_at_>localhost that confuses me.

Kerio does the right thing by resolving localhost to its own FQDN, else it would have to accept mail from whoever represents themselves as user<_at_>localhost. That would make email a pretty useless thing in short order ...
  •  
JohnnyG

Messages: 12
Karma: 0
Send a private message to this user
TorW wrote on Fri, 27 May 2011 20:35
Kerio does the right thing by resolving localhost to its own FQDN, else it would have to accept mail from whoever represents themselves as user<_at_>localhost. That would make email a pretty useless thing in short order ...


Yeah, I see your point. Though I wish there was a way to substitute the default mail domain that I have setup in Kerio. Ah well.
Previous Topic: CardDav problems galore
Next Topic: Outlook 2003 forward email with picture error
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Sun Oct 22 04:52:09 CEST 2017

Total time taken to generate the page: 0.00447 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.