[BlueOnyx:01676] Re: e-mail issue
Michael Stauber
mstauber at blueonyx.it
Tue Jul 14 06:45:31 -05 2009
Hi Stuart,
I don't know if I understand your problem correctly.
You have the domain "www.domain.com" on your server. That domain has email
delivery disabled by ticking the box "disable email for domain".
Next you have a PHP script somewhere on the server that tries to send an email
to user at domain.com:
> Jul 14 11:55:24 localhost sendmail[32093]: n6EAtOOw032093: from=apache,
> size=3217, class=0, nrcpts=1,
> msgid=<200907141055.n6EAtOOw032093 at server.com>, relay=apache at localhost
> Jul 14 11:55:24 localhost sendmail[32096]: STARTTLS=server,
> relay=localhost [127.0.0.1], version=TLSv1/SSLv3, verify=NO,
> cipher=DHE-RSA-AES256-SHA, bits=256/256
> Jul 14 11:55:24 localhost sendmail[32093]: STARTTLS=client,
> relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL,
> cipher=DHE-RSA-AES256-SHA, bits=256/256
> Jul 14 11:55:24 localhost sendmail[32096]: n6EAtOx4032096:
> ruleset=check_rcpt, arg1=<user at domain.com>, relay=localhost [127.0.0.1],
> reject=550 5.1.1 <user at domain.com>... User unknown
And of course the email is rejected, because the domain www.domain.com doesn't
accept any email - because that's what you set it to.
Maybe I misunderstood something there, but what happens here is exactly what
should happen. If email delivery for that domain is disabled, then it won't
accept any emails. Regardless if the email comes from the outside, or if it is
generated on the inside.
Ff you want to be able to email to user at domain.com, then you must untick the
"disable email for domain" box for that virtual site. And you also should have
MX records and must have the email server alias "domain.com".
Or if you simply want that script to be able to send emails, then it should be
perfectly able to do so. It can already send to anyone - as long as the
recipient is not a user (or alias) of the site www.domain.com.
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list