LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-08-2013, 11:26 AM   #1
antnish
LQ Newbie
 
Registered: Feb 2011
Location: California
Posts: 19
Blog Entries: 1

Rep: Reputation: 0
Changing Sender Address in Postfix-


Hi,

I would like to use Postfix as a mail client to send email in my CentOS 5.9. I configured 'main.cf' with the help of online-

The SMTP server is set up to relay only valid sender email address. I am trying to change sender address but everytime when I test to send an email, Email is sending with the default email address, i.e., root@FQDN.of.my.CentOS.Machine. I tried to change the default sender address as, antnish@mydomain.com-

Help!!
 
Old 08-11-2013, 05:24 AM   #2
shm0
Member
 
Registered: Aug 2012
Location: Bahrain
Distribution: Slackware
Posts: 58

Rep: Reputation: 16
Try this trick.
 
Old 08-13-2013, 12:42 PM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Erroneusly posted as REPORT, copying it out:
Quote:
Originally Posted by antnish View Post
Thanks for you reply.

After making changes acc. to the link you provide, I get error like-
[root@antnish ~]# postmap /etc/postfix/generic
postmap: warning: /etc/postfix/generic, line 241: expected format: key whitespace value

Still email is sending with the default address.
 
  


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
Rewrite sender address in postfix williebens Linux - Server 27 11-07-2014 06:29 AM
changing the sender address when using mutt mapg1964 Linux - Server 3 05-14-2013 04:24 PM
Postfix: Is it possible to rewrite sender address only for selective recipient? Akhran Linux - Software 3 08-15-2006 11:48 AM
Postfix - Sender address includes localhost buskmann Linux - Software 1 05-04-2005 08:56 AM
Verifying sender's address in Postfix sagif Linux - Networking 0 03-02-2004 03:17 PM


All times are GMT -5. The time now is 10:35 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration