Server Administration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesServer Administration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old August 12th, 2004, 04:02 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
problem in ArGoSoft Mail Server after using mail()

Beside installed Apache and MySQL, I also installed ArGoSoft Mail Server version 1.8 (1.8.6.0). I have some problem in sending out emails. I hope some experienced people could help me out.

After I use a loop that use mail() to send out all emails by mail server. Some of them cannot be emailed out and they seems unreachable, but if I email to those email addresses from my email account, they can be sent out and this proves that those email addresses are valid. Does any one know what kinds of reasons would cause this problem?

Some mail server block emails with invalid or unresolvable 'From' email addresses. The following is the code I use for emailing. Should I change the format in the $headers ?
php Code:
Original - php Code
  1.  
  2. $to = "$email"
  3. $subject = "My subject"
  4. $headers = "MIME-Version: 1.0rn"
  5. $headers .= "Content-type: text/html; charset=iso-8859-1rn"
  6. $headers .= "To: $emailrn"
  7. $headers .= "From: My Name <myaddress@somehost.com>rn"
  8. $msge = " ......... ";
  9.  
  10. mail($to, $subject, $msge, $headers);


Thanks.

Reply With Quote
  #2  
Old August 12th, 2004, 10:54 AM
jcaughel jcaughel is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Buffalo, NY, USA
Posts: 283 jcaughel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 4 sec
Reputation Power: 2
Send a message via ICQ to jcaughel Send a message via AIM to jcaughel Send a message via Yahoo to jcaughel
RE: problem in ArGoSoft Mail Server after using mail()

Is your "myaddress@somehost.com" served by the same server as your website? A lot of SPAM filters will do a reverse lookup on the domain name of the from (and even in some cases the Reply-to) fields and will bounce a message that doesn't resolve to the same server as the sending server.

The bounced message should have some detail from the server on the other end as to why it did not work. Can you post some of those excerpts?

-Jeff

Reply With Quote
  #3  
Old August 12th, 2004, 03:42 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: problem in ArGoSoft Mail Server after using mail()

Here is the bounced message:

========================================
3.82114420308565E+0004
3.82114490504051E+0004
1
1
mailer-daemon
1
me@localhost.com
54
From: <mailer-daemon>
To: <me@localhost.com>
Received: by yj (ArGoSoft Mail Server Freeware, Version 1.8 (1.8.6.0)); Thu, 12 Aug 2004 10:36:31
Date: Thu, 12 Aug 2004 10:36:31
Subject: Mail delivery problems
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="36170417"

This is a multipart message in MIME format

--36170417
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

The recipient jiy262@mail.usask.ca had permanent fatal errors.
While talking to 128.233.192.250:
530 5.7.1 Host 70.64.28.101 is on the DUL list See=
<URL:http://mail-abuse.org/dul/: jiy262@mail.usask.ca

--36170417
Content-Type: message/rfc822
Content-Transfer-Encoding: 7 bit

Received: from [127.0.0.1] by yj
(ArGoSoft Mail Server Freeware, Version 1.8 (1.8.6.0)); Thu, 12 Aug 2004 10:36:24
Date: Thu, 12 Aug 2004 10:36:24 -0600
Subject: Classified On-Line Posting Notification
MIME-Version: 1.0
Content-type: text/html; charset=iso-8859-1
To: jiy262@mail.usask.ca
From: Jing Yi <jiy262@mail.usask.ca>
Message-ID: <7bt6ev1yahcrnvq.120820041036@yj>
<HTML><body> ....
========================================

As you can see, both the 'To' and 'From' actually are the same address, but it still doesn't work. I also tried to use my other email account and also tried invalid email address in 'From', but none of them worked.

Thanks for the help.

Reply With Quote
  #4  
Old August 12th, 2004, 05:40 PM
jcaughel jcaughel is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Buffalo, NY, USA
Posts: 283 jcaughel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 4 sec
Reputation Power: 2
Send a message via ICQ to jcaughel Send a message via AIM to jcaughel Send a message via Yahoo to jcaughel
RE: problem in ArGoSoft Mail Server after using mail()

Here is the problem:
Quote:
The recipient jiy262@mail.usask.ca had permanent fatal errors.
While talking to 128.233.192.250:
530 5.7.1 Host 70.64.28.101 is on the DUL list See=
<URL:http://mail-abuse.org/dul/: jiy262@mail.usask.ca


Your computer is located at the address 70.64.28.101, and the mail server (at 128.233.192.250) is identifying your computer (70.64.28.101) as being on a block list because you have a dynamic IP.

(see http://www.mail-abuse.com/services/mds_dul.html)

You will have this problem with a lot of e-mail you may be trying to send out. Many ISPs use these lists to block potential spam.

Depending on your ISP, you may be able to send mail through their mail server to get around this.

Good Luck - this is something I gave up on trying to get working.

-Jeff

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesServer Administration > problem in ArGoSoft Mail Server after using mail()


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT