Hi,

     I am using PHP's mail function and qmail to send out a on-line
inquiry form to my company e-mail address.  I won't be able to figure
out the relaying problem and the validate of the sender's e-mail
address.

       For the relaying problem,  if my company's e-mail address is
[EMAIL PROTECTED], so I just need to put netvigator.com in my
/var/qmail/control/rcpthosts and /var/qmail/control/locals, so that my
server will receive any e-mail for netvigator.com.  But, as I know, in
order to receive e-mail from any domain to [EMAIL PROTECTED], I need
both to and from 's domain in my rcpthosts file, but how can i know
every domains that will send mail to my company.  any suggestions are
helpful .

    For the php mail(),  there are a from field and to field in mail
function, will qmail use the to field to vertify this domain is accpeted
for relaying.  And how can I vertify that the from field's e-mail
address is valid.  Any suggestions !!  Thank you so much.

Thank you so much,

Mark

Reply via email to