<html><head><meta name="Generator" content="PSI HTML/CSS Generator"/>
<style type="text/css"><!--
body{font-family:'Arial';font-size:10pt;font-color:'#000000';}
LI{display:list-item;margin:0.00in;}
p{display:block;margin:0.00in;}
--></style>
</head><BODY ><div><SPAN style="font-size:10pt;">I did grap this from the maillog when I tried to get a script to send and email:</SPAN></div>
<div> </div>
<div> </div>
<div><SPAN style="font-size:10pt;">Aug 25 15:28:32 bx03 sendmail[9707]: n7PLSWOR009707: n7PLSWOS009707: DSN: Service unavailable</SPAN></div>
<div><SPAN style="font-size:10pt;">Aug 25 15:28:32 bx03 sendmail[9710]: n7PLSWQb009710: from=<apache@bx03.s1i.net>, size=246, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]</SPAN></div>
<div><SPAN style="font-size:10pt;">Aug 25 15:28:32 bx03 sendmail[9710]: n7PLSWQc009710: ruleset=check_rcpt, arg1=<apache@bx03.s1i.net>, relay=localhost [127.0.0.1], reject=550 5.1.1 <apache@bx03.s1i.net>... User unknown</SPAN></div>
<div><SPAN style="font-size:10pt;">Aug 25 15:28:32 bx03 sendmail[9707]: n7PLSWOS009707: to=apache, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31270, relay=[127.0.0.1], dsn=5.1.1, stat=User unknown</SPAN></div>
<div><SPAN style="font-size:10pt;">Aug 25 15:28:32 bx03 sendmail[9710]: n7PLSWQc009710: from=<>, size=1270, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]</SPAN></div>
<div><SPAN style="font-size:10pt;">Aug 25 15:28:32 bx03 sendmail[9707]: n7PLSWOS009707: n7PLSWOT009707: return to sender: User unknown</SPAN></div>
<div><SPAN style="font-size:10pt;">Aug 25 15:28:32 bx03 sendmail[9710]: n7PLSWQe009710: ruleset=check_rcpt, arg1=<postmaster@bx03.s1i.net>, relay=localhost [127.0.0.1], reject=550 5.1.1 <postmaster@bx03.s1i.net>... User unknown</SPAN></div>
<div><SPAN style="font-size:10pt;">Aug 25 15:28:32 bx03 sendmail[9707]: n7PLSWOT009707: to=postmaster, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32294, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown</SPAN></div>
<div><SPAN style="font-size:10pt;">Aug 25 15:28:32 bx03 sendmail[9710]: n7PLSWQe009710: from=<>, size=2294, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]</SPAN></div>
<div><SPAN style="font-size:10pt;">Aug 25 15:28:32 bx03 sendmail[9707]: n7PLSWOS009707: Losing ./qfn7PLSWOS009707: savemail panic</SPAN></div>
<div><SPAN style="font-size:10pt;">Aug 25 15:28:32 bx03 sendmail[9707]: n7PLSWOS009707: SYSERR(apache): savemail: cannot save rejected email anywhere</SPAN></div>
<div><SPAN style="font-size:10pt;"><br /><br /></span></div>
<div><SPAN style="font-size:10pt;color:navy;">> Email issues still.</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">></SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> I continue to have problems with scripts sending email from the BX</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> servers. I have enabled email for the domain, added a mail server</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> to the smart relay.</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">></SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> Here is some code that is used, but nothing gets sent.</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">></SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">></SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> //____SEND email now_______________________</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> function SendNow(){</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> if ( $this->email_format == 'html' ){</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> $from = $this->email_from;</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> $headers = "From: $from\n";</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> $headers .= "Reply-To: $from\n";</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> $headers .= "Return-Path: $from\n";</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> $headers .= "MIME-Version: 1.0\n";</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> $headers .= "Content-Type: text/html; charset=ISO-8859-1\n";</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">></SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> mail($this->email_to, $this->email_subject, $this-</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">> >email_body,$headers); } else {</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> mail($this->email_to, $this->email_subject, $this->email_body,</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> "From: $from"); } } </SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> Also, I would think the smart relay would solve everything. the</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> BX server says:</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">></SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> Enter the fully-qualified domain name of an email server through</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> which all outgoing email will be routed.</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> which to me is don't do anything, BUT, send all emails here to be</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> handled. I can't get admin emails out of the server most of the</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> time either.</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">></SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> Any ideas would be great!</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">></SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> tony</SPAN></div>
</body></html>