Afficher un message
Vieux 25/04/2006, 13h06   #9
Jeffrey Overman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SMTP session hangs after MAIL FROM when mysql backend is down

On Mon, 17 Apr 2006 16:26:20 +0000, Greg Hackney wrote:

>> Do you think it's worth mentioning this issue to the postfix developers?

>
> The first reply came from Wietse Venema (the author of Postfix) within a
> couple of hours:
>
> That code pre-dates the use of SQL for SMTP server access maps;
> when a DB or DBM lookup fails the system is so sick that continuing
> makes no sense.


Ah, that explains it

> It should not be difficult to replace this by code that pretends
> that the table returns "450 4.3.5 Server configuration error"
> and then logs a nasty warning to the maillog file.


That'd be nice.

>> Or is this behaviour intentional? In which case I'll probably stop using
>> postfix, although I like a lot of its features.

>
> Then a few minutes later, he created the following patch for smtpd_check.c


Thanx.

However, after patching smtpd_check.c, recompiling and reinstalling postfix
the session still hung after MAIL FROM Because I was under some pressure
to get the MTA up and running I went for exim, which handles the situation
perfect.

I might give postfix another go in the future, for now I'm going with exim.

Thanx for your and Wietse's effort!

--
Jeffrey Overman

Everybody needs to believe in something, I believe I'll have another beer...
  Réponse avec citation
 
Page generated in 0,04718 seconds with 9 queries