LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 12-03-2003, 07:29 PM   #1
kudos
Member
 
Registered: Oct 2002
Location: UK
Distribution: Fedora 4
Posts: 90

Rep: Reputation: 15
Unhappy sendmail not chaning local address properly


Hi

i am having a slight problem with sendmail

i have my Domain Masquerading set to harpham.eclipse.co.uk for
server
localhost

server being my machine name.

using webmin to send e-mail from the sendmail mail boxes it is properly changing the localhost into my proper eclipse address and is happpy to send mail out onto the web and pass it on for me.

but if i try and send e-mail from the system it self from the command line or from outlook on my PC through my mail server i get

Quote:
<machine-registration@counter.li.org>... Connecting to smtp.eclipse.co.uk. via relay...
220 mra03.ex.eclipse.net.uk ESMTP
>>> EHLO server.network
250-mra03.ex.eclipse.net.uk
250-PIPELINING
250-SIZE 120000000
250-VRFY
250-ETRN
250-XVERP
250 8BITMIME
>>> MAIL From:<robert@server.network> SIZE=1311
250 Ok
>>> RCPT To:<machine-registration@counter.li.org>
>>> DATA
450 <robert@server.network>: Sender address rejected: Domain not found
<machine-registration@counter.li.org>... Deferred: 450 <robert@server.network>: Sender address rejected: Domain not found
554 Error: no valid recipients
>>> RSET
250 Ok
as u see 450 <robert@server.network> sendmail has not changed the server.network into harpham.eclipse.co.uk for the mail to apear to have come from me in the first place.

what file or what do i need to add into my sendmail config file in order to get it to map properly?

many thanks
kudos
 
Old 12-13-2003, 02:45 AM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
In the sendmail.mc config file you have to change the "exposed user" to be something else besides root. For some reason, Sendmail won't masquerade the domain if it is set to root. Unfortunately it's also one of the least documented "features" of Sendmail.

Last edited by Capt_Caveman; 12-13-2003 at 02:46 AM.
 
Old 12-13-2003, 11:33 AM   #3
kudos
Member
 
Registered: Oct 2002
Location: UK
Distribution: Fedora 4
Posts: 90

Original Poster
Rep: Reputation: 15
dont worry i solved this problem, took the sendmail mc file and added the MASQUERADE_AS(`harpham.eclipse.co.uk') feature into the mc and redid my config file, works wunders now

thx
kudos
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Local IP address R4NG3R Linux - Networking 13 12-03-2003 10:53 PM
finding local IP address flynnhandley Linux - Software 2 10-08-2003 05:08 AM
get local ip address DKY Linux - Newbie 8 07-25-2003 10:35 AM
Traffic shaping for certain local IP address Kostko Linux - Networking 0 10-05-2002 06:25 AM
local address confusion hcmk Linux - Newbie 1 08-26-2002 10:40 AM


All times are GMT -5. The time now is 11:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration