Welcome to WebmasterWorld Guest from 34.225.194.144

Forum Moderators: bakedjake

Message Too Old, No Replies

Sendmail problem

Linux Sendmail

     
11:06 am on Oct 6, 2005 (gmt 0)

Moderator from GB 

WebmasterWorld Administrator mack is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:June 15, 2001
posts:7848
votes: 99


I was setting up a linux email server and have a config issue. When I send mail it is received fine by the recipient, but the email cant be returned. I took a closer look and the from address is name@www.example.com Obviousl the www part should not be there.

Does anyone knwo what config file contains this adress?

Mack.

4:04 pm on Oct 6, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:Aug 28, 2003
posts:366
votes: 0


IIRC, Sendmail will always use its hostname in the from address, when you're emailing using a user account. So, if you're logged in as mack at that server, and you simply type "mail someoneelse@somewhere.com" at the command line, it will fill it in for you.

You normally need to build your app to change the "from" and reply-to addresses.

I haven't experimented enough with the command-line version to see how to change that particular header.

You can also change the hostname, or force sendmail to use a particular hostname by changing "Dj$w.Foo.COM" in your sendmail.cf file. I *think*, at least, I haven't tried this. :)

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members