Welcome, Guest
Please Login or Register.
Lost Password?
Re: Re: sendmail: change mail from (1 viewing)
Post Reply

TOPIC: Re: Re: sendmail: change mail from

#3094
HDCTest (User)
Posts: 3
graphgraph
sendmail: change mail from 2006/11/09 12:20  
sendmail's using MAIL From:daemon@localhost.localdomain to send mail right now instead of the hostname that I have set on the server with hostname -v. I need the mail from to be daemon@hostname.com

Is there anyway to change that?

Also, I have a red X next 'start mail server' in virtual min even though service sendmail start works fine. Any idea why?
  The administrator has disabled public write access.
#3095
Joe (Admin)
Posts: 4082
graph
Re: sendmail: change mail from 2006/11/09 14:28  
Howdy HDC,

On the domain name issue, you need to make sure your hostname reverse resolves, I believe. (e.g. "host 192.168.1.1" should return whatever your hostname is)

There may also be an option in Sendmail to set it explicitly, though I'm not sure what it is--I haven't worked with sendmail in a long time.

On the red X issue, you need to make sure the Webmin Sendmail module knows where all of your Sendmail files live. Browse to the Module Config and confirm that all configuration files are where Webmin thinks they are. If you've installed from source rather than from your OS-provided package, you'll definitely have the wrong paths and will need to correct them. If you did install from OS-provided packages, then it might be a buglet in Webmin's default configuration for Sendmail on your OS.
  The administrator has disabled public write access.
#3096
MischkoRadeka (User)
Posts: 9
graphgraph
Re: sendmail: change mail from 2006/11/09 17:34  
Also, I have a red X next 'start mail server' in virtual min even though service sendmail start works fine. Any idea why?

I got the same for ProFTPd and tried all to get rid off it, even what you suggested, to no avail still.
  The administrator has disabled public write access.
#3097
Joe (Admin)
Posts: 4082
graph
Re: Re: sendmail: change mail from 2006/11/09 17:46  
Hi Mischko,

That's all that it can possibly be. The only way to fix it is to make Webmin aware of where you services are located (and make sure it is correct).

Really, there's almost nothing else that can possibly go wrong with those status checks. Double check the configuration to make sure the appropriate Webmin module can actually manage, start, stop, etc. the process, and the Virtualmin buttons will work and report the status of the server accurately.
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.