[BlueOnyx:02330] Re: email revisitied

Ken Marcus - Precision Web Hosting, Inc kenlists at precisionweb.net
Wed Sep 9 12:05:42 -05 2009


>>
From: Tony C. Loosle

I still have no answer to getting email off a bx box.


Using a php script I get errors when trying to get the box to send an email 
as in:

Sep  9 10:31:37 bx03 sendmail[4255]: n89GVbiF004255: 
from=<apache at bx03.s1i.net>, size=246, class=0, nrcpts=0, proto=ESMTP, 
daemon=MTA, relay=localhost [127.0.0.1]
Sep  9 10:31:37 bx03 sendmail[4255]: n89GVbiG004255: 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
Sep  9 10:31:37 bx03 sendmail[4252]: n89GVabW004252: 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
Sep  9 10:31:37 bx03 sendmail[4255]: n89GVbiG004255: from=<>, size=1270, 
class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Sep  9 10:31:37 bx03 sendmail[4252]: n89GVabW004252: n89GVabX004252: return 
to sender: User unknown
Sep  9 10:31:37 bx03 sendmail[4255]: n89GVbiI004255: 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
Sep  9 10:31:37 bx03 sendmail[4252]: n89GVabX004252: 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
Sep  9 10:31:37 bx03 sendmail[4255]: n89GVbiI004255: from=<>, size=2294, 
class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Sep  9 10:31:37 bx03 sendmail[4252]: n89GVabW004252: Losing 
./qfn89GVabW004252: savemail panic
Sep  9 10:31:37 bx03 sendmail[4252]: n89GVabW004252: SYSERR(apache): 
savemail: cannot save rejected email anywhere

The mail comes from apache at bx03.s1i.net and is to go off  the box to 
user at s1i.net.    the mx record for mail.s1i.net points to a different box, 
but this BX box never even trys to get it out.

Also, I have the relay set to mail.s1i.net

<<


Tony

One of the 3 solutions below should work.
1.  turning the php safe mode off for that site.
2.  adding apache to the trusted users list at:
/etc/mail/trusted-users

Then
/etc/rc.d/init.d/sendmail stop
sleep 3
killall -9 sendmail
/etc/rc.d/init.d/sendmail start

3. In your
/etc/mail/virtusertable
comment out the line
@bx03.s1i.net        error:nouser No such user here


then
makemap hash /etc/mail/virtusertable.db <  /etc/mail/virtusertable


----
Ken Marcus
Ecommerce Web Hosting by
Precision Web Hosting, Inc.
http://www.precisionweb.net







More information about the Blueonyx mailing list