[BlueOnyx:02204] Re: email issues

Steffan snoord at planet.nl
Wed Aug 26 04:04:09 -05 2009


apache at bx03.s1i.net User unknown

 

what i always do i create a site that has the same name as the server

enable email fort hat site

add a wildcart to the site and forward all email to admin

 

you only can do that if you change a file called

 /usr/sausalito/handlers/base/vsite/unique.pl

## don't allow system FQDN as the vsite FQDN
#my $system_fqdn = lc($system->{hostname} . "." . $system->{domainname});
#my $vsite_fqdn = lc($vsite_new->{fqdn});
#if ($system_fqdn eq $vsite_fqdn) {
#       $cce->bye('FAIL',
"[[base-vsite.systemFqdnNotAllowed,fqdn='$vsite_new->{fqdn}']]");
#      exit(1);
#}

 

( or add the emailadress trough ssh)

 

what happans to your script is taht the server is sending the email as user
apache at servername not domainname 

thats standard

but the server says that apache at servername is not a valid user

 

hope this helps

 

with regards

 

Steffan

  _____  

Van: blueonyx-bounces at blueonyx.it [mailto:blueonyx-bounces at blueonyx.it]
Namens Tony C. Loosle
Verzonden: dinsdag 25 augustus 2009 23:29
Aan: BlueOnyx General Mailing List
Onderwerp: [BlueOnyx:02203] Re: email issues

 

I did grap this from the maillog when I tried to get a script to send and
email:

 

 

Aug 25 15:28:32 bx03 sendmail[9707]: n7PLSWOR009707: n7PLSWOS009707: DSN:
Service unavailable

Aug 25 15:28:32 bx03 sendmail[9710]: n7PLSWQb009710:
from=<apache at bx03.s1i.net>, size=246, class=0, nrcpts=0, proto=ESMTP,
daemon=MTA, relay=localhost [127.0.0.1]

Aug 25 15:28:32 bx03 sendmail[9710]: n7PLSWQc009710: ruleset=check_rcpt,
arg1=<apache at bx03.s1i.net>, relay=localhost [127.0.0.1], reject=550 5.1.1
<apache at bx03.s1i.net>... User unknown

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

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]

Aug 25 15:28:32 bx03 sendmail[9707]: n7PLSWOS009707: n7PLSWOT009707: return
to sender: User unknown

Aug 25 15:28:32 bx03 sendmail[9710]: n7PLSWQe009710: ruleset=check_rcpt,
arg1=<postmaster at bx03.s1i.net>, relay=localhost [127.0.0.1], reject=550
5.1.1 <postmaster at bx03.s1i.net>... User unknown

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

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]

Aug 25 15:28:32 bx03 sendmail[9707]: n7PLSWOS009707: Losing
./qfn7PLSWOS009707: savemail panic

Aug 25 15:28:32 bx03 sendmail[9707]: n7PLSWOS009707: SYSERR(apache):
savemail: cannot save rejected email anywhere

 

> Email issues still.

> 

> I continue to have problems with scripts sending email from the BX

> servers.  I have enabled email for the domain, added a mail server

> to the smart relay.

> 

> Here is some code that is used, but nothing gets sent.

> 

> 

> //____SEND email now_______________________

> function SendNow(){

> if ( $this->email_format == 'html' ){

>   $from = $this->email_from;

>   $headers = "From: $from\n";

>   $headers .= "Reply-To: $from\n";

>   $headers .= "Return-Path: $from\n";

>   $headers .= "MIME-Version: 1.0\n";

>   $headers .= "Content-Type: text/html; charset=ISO-8859-1\n";

> 

>   mail($this->email_to, $this->email_subject, $this-

> >email_body,$headers); } else {

>   mail($this->email_to, $this->email_subject, $this->email_body,

> "From: $from"); } }    

> Also, I would think the smart relay would solve everything.   the

> BX server says:

> 

> Enter the fully-qualified domain name of an email server through

> which all outgoing email will be routed.

> which to me is don't do anything, BUT, send all emails here to be

> handled.   I can't get admin emails out of the server most of the

> time either.

> 

> Any ideas would be great!

> 

> tony

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20090826/a3e049d2/attachment.html>


More information about the Blueonyx mailing list