Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th December 2007, 15:15
vanderkerkoff vanderkerkoff is offline
Junior Member
 
Join Date: Dec 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix and Changing From Address

Hello everyone

Brand new postfix, ubuntu 7.10

I've installed postfix, got it to send to my relay then off to the world, fantastic.

One problem though, I cannot for the life of me work out how to change the from address properly.

I can mask it using generic like so

http://www.postfix.org/STANDARD_CONF...E.html#fantasy

The problem with this method is that the email shows up in my Apple Mail inbox, and my Gmail inbox as coming from

username <new email address signified in generic file>

I don't want to show the username of the user that is sending the messages from the web server, it's a security risk.

Anyone know how to achieve my goal? To chane the From Address and the reply to address so it doens't have the users name showing in the email.

if you look at the raw message format you see this

From: goodemailaddress (username of user on linux box)
To: undisclosed-recipients:;
Return-Path: goodemailaddress

any help greatly appreciated
Reply With Quote
Sponsored Links
  #2  
Old 18th December 2007, 15:24
vanderkerkoff vanderkerkoff is offline
Junior Member
 
Join Date: Dec 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Am I getting myself confused over nothing here

I just realised something, this webserver will be sending emails using forms on the webi sites is holds

can I just specify the senders address in the forms?

i suppose I can
Reply With Quote
  #3  
Old 19th December 2007, 18:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Quote:
Originally Posted by vanderkerkoff
can I just specify the senders address in the forms?

i suppose I can
Yes. If you're using PHP, you might want to take a look at the additional headers here: http://de.php.net/manual/en/function.mail.php
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 21st December 2007, 17:41
vanderkerkoff vanderkerkoff is offline
Junior Member
 
Join Date: Dec 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hi Falko

We're using Rails, but it's okay, I've gone back to sendmail now and I know how to work with that MTA

Thanks for your reply anyway.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Killing that spam with greylisting using Postfix and Postgrey erk Tips/Tricks/Mods 11 18th June 2008 06:09
changing hostname and postfix bplgonzo HOWTO-Related Questions 2 25th September 2007 02:09
MySQL, IP address and bind-address 4integration Installation/Configuration 3 29th August 2007 19:58
Changing servers hostname rbartz Installation/Configuration 3 16th September 2006 14:54
postfix config jmroth Installation/Configuration 6 18th September 2005 16:58


All times are GMT +2. The time now is 23:59.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.