[BlueOnyx:01677] Re: e-mail issue

Tjerk Hacquebord tjerk at hqmatics.nl
Tue Jul 14 07:00:20 PET 2009

Could it be that you played around with the Disable e-mail and E-mail server
I feel that sometimes the 'block e-mail' rules stay if you;
- have an E-mail server alias set
- disable e-mail for that domain.
- remove the E-mail server alias
- enable e-mail

You could fix that by manually rebuild the access list or by adding the
e-mail server alias, then enable mail, then remove e-mail server alias.

Tjerk Hacquebord
tjerk at hqmatics.nl

HQMatics: Software- en websiteontwikkeling

-----Oorspronkelijk bericht-----
Van: blueonyx-bounces at blueonyx.it [mailto:blueonyx-bounces at blueonyx.it]
Namens Michael Stauber
Verzonden: dinsdag 14 juli 2009 13:46
Aan: BlueOnyx General Mailing List
Onderwerp: [BlueOnyx:01676] Re: e-mail issue

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
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 [], version=TLSv1/SSLv3, verify=NO,
> cipher=DHE-RSA-AES256-SHA, bits=256/256
> Jul 14 11:55:24 localhost sendmail[32093]: STARTTLS=client,
> relay=[], 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 [],
> reject=550 5.1.1 <user at domain.com>... User unknown

And of course the email is rejected, because the domain www.domain.com
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
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
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
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

Blueonyx mailing list
Blueonyx at blueonyx.it

More information about the Blueonyx mailing list