Hi Frank,<div>I came across the same issue 2 weeks ago - mailing list 10685.<br><br><br><div class="gmail_quote">On 14 June 2012 09:40, Frank Soyer <span dir="ltr"><<a href="mailto:fsoyer@systea.net" target="_blank">fsoyer@systea.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear list,<br>
I wonder if I have not found a bug in sendmail management.<br>
<br>
Here is the story: a customer tell me that he can't send emails.<br>
Verifying the logs, I see that sendmail says "user unknown..." for the<br>
SENDER of these emails.<br>
In the GUI, for that virtualhost, the mails are disabled (managed<br>
directly by a FAI), and no alias for this domain (say "<a href="http://domain.com" target="_blank">domain.com</a>" for<br>
example) exists, in any virtualhost, on this server.<br>
So sendmail should NOT consider that it must verify anything for this<br>
domain, right ? But it do.<br>
<br>
What I find : the virtualhost was renamed, from <a href="http://dev.domain.com" target="_blank">dev.domain.com</a>, to<br>
<a href="http://www.domain.com" target="_blank">www.domain.com</a>.<br>
When it was "dev", an alias "<a href="http://domain.com" target="_blank">domain.com</a>" exists on that virtualhost<br>
(but, the emails was disabled). Then it was renamed to "www", and THEN<br>
the domain mail alias was removed.<br>
<br>
In /etc/mail/access (and access.db, thus) the reference to "dev" was<br>
still here ! In a block "### Start Block Email for Virtual Site:<br>
<a href="http://dev.domain.com" target="_blank">dev.domain.com</a> ###" containing "<a href="http://dev.domain.com" target="_blank">dev.domain.com</a>" AND "<a href="http://domain.com" target="_blank">domain.com</a>".<br>

A new reference to "<a href="http://www.domain.com" target="_blank">www.domain.com</a>" was added in a new block "Start<br>
Block Email.....", but only with "<a href="http://www.domain.com" target="_blank">www.domain.com</a>" in it (I suppose that<br>
"<a href="http://domain.com" target="_blank">domain.com</a>" was here too but deleted when the mail alias was removed in<br>
the GUI in the vhost <a href="http://www.domain.com" target="_blank">www.domain.com</a>).<br>
<br>
Removing the bloc referencing "dev" and recompiling the access.db has<br>
resolved the problem. But not sure that BlueOnyx will not rebuild the<br>
access file with this old vhost ? It's a server in production<br>
(e-commerce) and it's difficult to test it for now.<br>
<br>
What do you think about that ?<br>
<br>
Frank<br>
_______________________________________________<br>
Blueonyx mailing list<br>
<a href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a><br>
<a href="http://mail.blueonyx.it/mailman/listinfo/blueonyx" target="_blank">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a><br>
</blockquote></div><br></div>