Home  |  Linux  | Mysql  | PHP  | XML
From:kitty Date:Thu Feb 25 19:17:21 2010
Subject:how to change apache@mydomain.com to myname@mydomain.com for emails
sent out
Hi,

I am using Perl to send out group emails using postfix, dovecot on
RedHat enterprise 5.

Even though I can change the sender full name from Apache to MyName
for the emails sent out from the server. But in the email header
details, it still shows from apa...@mydomain.com instead of
MyN...@mydomain.com.

The code in perl that I use is:
open (MAILHANDLE,"| mail $address -s \"$subject\" -- -F MyName \n");

This create the issue that it maybe filtered out by receipeint's spam
filter. Also, create a problem if the user directly reply the email.

I try to modify the ServerAdmin directive in httpd.conf. But still it
does not work. I could not find any related configuration directives
in postfix either.

Am I wrong in the perl coding ?

Can anyone help me on this? Many thanks!!!

Navigate in group perl.beginners.cgi at sever nntp.perl.org
Previous Next


Your recent visits
Re: CGI-BIN Help/Advise - editing a file - HOW ?
AW: CGI-BIN Help/Advise - editing a file - HOW ?
Re: Global scope
Global scope
Re: Global scope



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants