Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Help - apache don't use right domain name form mail sender..

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  bandwidth control and apache 2.0.X  
Author Message
chpshi

External


Since: Jun 30, 2003
Posts: 2



(Msg. 1) Posted: Fri Jul 04, 2003 12:23 pm
Post subject: Help - apache don't use right domain name form mail sender address
Archived from groups: alt>apache>configuration (more info?)

Hello,

My linux machine have two domain names:
1. a bogus domain name: lion.mydomain.home, and
2. a real domain name: mydomain.com.

I created zone files for both of the domains, and they both have
entries in named.conf, so they all work well. My headache is about
Apache. When submit a form mail from any of the web sites hosted on my
machine, Apache will always pick up the "apache@lion.mydomain.home" as
the sender's address, though in my script I did put in a "From:
user<user.TakeThisOut@website.com>" field in mail header, and in sent message it
does have such a field in the header. If a mail was sent to a local
user, that's OK no error. If sent to an address outside of the
machine, it will be refused. The refused mail can be found at
/var/spool/mqueue, and in the top line of the mail there's a error msg
saying "MDeferred: 450 <apache.TakeThisOut@lion.mydomain.home>: Sender address
rejected: Domain not found".

So I am thinking that if there's a way to have Apache to pick up the
real domain for sender's address, or just change the machine's default
name. My skill is more on the development side rather than admin side,
so I need help to get rid of such a headache. Please give me a hand.
Thanks in advance!

Alex Shi

 >> Stay informed about: Help - apache don't use right domain name form mail sender.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
how to have apache pick up right domain name when send for.. - Hello, I have several web sites virtually hosted on one machine, and this machine has two domains (I mean they have zone files setup on this machine). When sending form mail from any one of those web sites, one of the two domain names will be picked up....

resolve subdomain to a different domain? - Hello, I run a highly-visible public-facing web service for a number of clients, who incorporate skinned versions of my service into their sites. Typically this is done by them adding a link to clientname.myserver.com to their site navigation. However,....

How to redirect a domain to another server? - Hi NG, I did a domain relocation from my old server to my new server. Now until all NS are updated how can I redirect the domains from my old server to my new server? Lets say example.com is now hosted on ServerB bevore it was on ServerA. How can I tell....

Getting Apache to start at start up - Hi All, I'm running Mandrake 9.0 with Apache 2.0.46 and I was wondering how I can set Apache to start up on system start

Apache +OpenSSL - Hi Group, I'm having a problem with Apache 2.0.45 on Win32. I'm trying to install a chained SSL certificate, but on restarting Apache, I get the error "Unable to configure verify locations for client authentication" The certificate was pur...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]