RSS
 

Suse + Apache sendmail from() address

23 May

Here’s a quick tidbit on setting the [default] from address for php [sendmail] on a suse box. There are *two* settings that need to be changed, let’s look at the default “out-of-the-box” email from address.

WWW daemon apache

The wwwrun is the username that is being used to send the email. (See /etc/apache2/uid.conf). To alter this value, we need to masquerade it.

Computer->YaST->Network Services->Mail Transfer Agent
Click Next
Click Masquerading
At the bottom of the screen click “Add”
Select local user `wwwrun`
Enter the desired ‘Display as’ value (i.e. webmaster@yourdomain.com)

OK out of the dialog and YaST.

If you send a mail now, it will have a ‘from’ address of

WWW daemon apache

To alter the full name `WWW daemon apache`, you’ll need to update the wwwrun user itself.

Computer->YaST->Security and Users->User Management

You may need to set the filter options to show ‘system’ users. Select the `wwwrun` user, click Edit and modify the `User’s Full Name` field.

 
No Comments

Posted in RIA

 

Leave a Reply

 

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word