LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-29-2010, 05:23 PM   #1
Dryaf
LQ Newbie
 
Registered: Jan 2010
Posts: 17

Rep: Reputation: 0
Customize sender email


Hello


After installing sendmail, I sent a mail for testing the mail I receive is from sender www-data and default email is www-data@dryaf-desktop. How do I change this email to something else ?

Thank you
 
Old 01-30-2010, 09:55 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,708

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by Dryaf View Post
Hello


After installing sendmail, I sent a mail for testing the mail I receive is from sender www-data and default email is www-data@dryaf-desktop. How do I change this email to something else ?

Thank you
Send it as someone else.

You don't say HOW you're sending it (web for? PHP? calling sendmail/mailx direct? Command line??), version/distro of Linux, or give any details, so it's hard to say. If you're sending through a web page, your web engine is running as some other user (like www-data), so you'll have to specify the "from" explicitly.
 
  


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
PHP: How to change email sender per directory (apache vhost) ciuly Linux - Server 2 09-29-2009 02:21 AM
Postfix: Rewriting sender email address from ldap lookups endfx Linux - Server 3 04-18-2008 03:53 PM
Command line pop3/gmail email sender Maverick1182 Linux - Newbie 2 03-02-2008 01:08 AM
Need program that verifies email sender before delivering. 360 Linux - Software 0 03-06-2006 12:41 PM
Undelivered Mail Returned to Sender - Block Email henryvl Linux - Networking 1 02-15-2006 04:31 AM

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

All times are GMT -5. The time now is 12:54 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