View Single Post
Old 9th June 2008, 19:09
jorizzzz jorizzzz is offline
Join Date: May 2007
Location: Soest, Netherlands
Posts: 81
Thanks: 1
Thanked 4 Times in 2 Posts
Send a message via MSN to jorizzzz
Default Small error with mail script on my website

I've got a strange problem with a mail script on my website. This script is a contact form that emails me with questions from users. But since i've began using an external mail server, the emails aren't delivered any more. I've done the following things:

- Deleted my old mail accounts on the server
- Deleted the mx records
- set the mailserver (domain -> options -> mailserver) to external

If i'm checking my log files while sending an e-mail, it says that it deliveres it to instead of what i've entered in the mail form.. is the hostname of my server...

Here is a piece of code of the mail form:

mail("$ContactWebsiteNaam <$ContactEmail>","$ContactOnderwerp","$Body","$Hoofd");
Where $ContactEmail is

How can i correct these problems? This is the message from my mail.log:

Jun  9 18:06:37 YH-Linux01 postfix/local[29337]: AC67F1D005B: to=<>, relay=local, delay=0.07, delays=0.03/0/0/0.04, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
As you can see, it is not mailed to my domain but to the hostname of my server...
Reply With Quote
Sponsored Links