LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-23-2010, 12:39 AM   #1
mhouston100
Member
 
Registered: Jun 2010
Posts: 32

Rep: Reputation: 16
Sendmail - change 'from' server address


Hi guys,

Probably an easy one but I just cannot find the setting to change the 'from' part of the delivered email.

Basically we have an exchange 2003 server which handles all the mail and our logistics application on a RHEL 5.5 server. The application that we use will be mailing invoices etc to clients.

This is all working fine at the moment with the local sendmail relaying all mail to the exchange server, no problems. Except that the address the mail is being sent from is user@server.company.com instead of just user@company.com.

I'm sure its something simple that i cant see (forest for the trees and all that) but can someone give me a leg up, im hung over and its a Friday afternoon and I want to go home =/

Thanks!
 
Old 07-23-2010, 08:11 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You should use masquerade. Read this for details.

Regards
 
  


Reply



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
Urgent! Change destination email address in monit and sendmail configuration files jenniekingsland Linux - Newbie 7 11-28-2018 11:57 AM
Change sender address of outgoing emails in Sendmail ALInux Linux - Server 8 05-10-2012 06:25 PM
authorised email address - Sendmail Server shibu_sp Linux - Newbie 3 05-06-2010 09:22 AM
Change DNS Server IP Address s.dawood Linux - Networking 1 12-26-2006 02:26 AM
Need command to change server IP address dimmu Linux - General 3 11-03-2003 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:44 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
Open Source Consulting | Domain Registration