On Thu, Sep 20, 2012 at 09:46:22PM +0000, Jan Johansson wrote:
Wietse:
> Jan Johansson:
> >> >    /^451 PLESK reply text here/ 551 5.2.2 Mailbox full
> >                                   ^SPACE HERE
> >
> >> >Make the PCRE pattern as specific as possible, so that it 
> >> >matches only PLESK responses.
> >> 
> >> I must be missing something, but with the following pcre-entry
> >> 
> >> /^451 4.5.1 Mailbox full/551 5.2.2 Mailbox full
> >                          ^NO SPACE HERE
> 
> I am sorry, but I do not get it. I thought I should have the plesk 
> response, and that has a space.

In a Postfix pcre_table(5) you must have a space between the 
expression closing delimiter, "/" above, and the SMTP code (or 
access(5) keyword). Your "551" would thus be misinterpreted as 
unknown PCRE flags.

http://www.postfix.org/pcre_table.5.html
http://www.postfix.org/PCRE_README.html

> Also, I think my mails arrived out of sequence. Was this in regards 
> to the first where I by accident pasted "Server config error" 
> instead of " fatal: open dictionary: expecting "type:name" form 
> instead of "/etc/postfix/smtp_reply_filter.pcre""?

You obviously must fix that problem also. 
"/etc/postfix/smtp_reply_filter.pcre" is a filename. You probably 
intended to search it as a PCRE map, thus it should be:  
"pcre:/etc/postfix/smtp_reply_filter.pcre" ... "type:name" form.
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Reply via email to