Re: Error: quota-status: Client sent invalid recipient address: Invalid character in path

2019-06-29 Thread Lefteris Tsintjelis via dovecot
On 29/6/2019 13:35, John Fawcett via dovecot wrote:
> On 28/06/2019 02:01, Lefteris Tsintjelis via dovecot wrote:
>> Any idea what this is?
>>
>> Jun 26 23:16:34
>> quota-status(u...@example.com)<4975>: Error:
>> quota-status: Client sent invalid recipient address: Invalid character
>> in path
>>
>> I have this enabled in my config
>>
>> service quota-status {
>>   client_limit = 1
>>   executable = quota-status -p postfix
>>   unix_listener /var/spool/postfix/private/dovquota {
>> mode = 0666
>> user = postfix
>>   }
>> }
>>
>> Lefteris
> 
> this is given by the address validation routines (for example see
> lib-smtp/smtp-address.c as a starting point).
> 
> Maybe it would be easier to approach it by looking at the email address
> that gave the error.
> 
> Is the email address compliant to smtp standards? Does it contain utf8
> characters? Does the email address correspond to a mailbox of the same
> name with a quota to be checked?

It is not just one email, the logs were full of them but I think I found
the source of the problem. When I build from sources, libicu for FTS
unicode normalization was checked. I have rebuild yesterday without ICU
and no errors like those so far.

Lefteris


Re: Error: quota-status: Client sent invalid recipient address: Invalid character in path

2019-06-29 Thread John Fawcett via dovecot
On 28/06/2019 02:01, Lefteris Tsintjelis via dovecot wrote:
> Any idea what this is?
>
> Jun 26 23:16:34
> quota-status(u...@example.com)<4975>: Error:
> quota-status: Client sent invalid recipient address: Invalid character
> in path
>
> I have this enabled in my config
>
> service quota-status {
>   client_limit = 1
>   executable = quota-status -p postfix
>   unix_listener /var/spool/postfix/private/dovquota {
> mode = 0666
> user = postfix
>   }
> }
>
> Lefteris

this is given by the address validation routines (for example see
lib-smtp/smtp-address.c as a starting point).

Maybe it would be easier to approach it by looking at the email address
that gave the error.

Is the email address compliant to smtp standards? Does it contain utf8
characters? Does the email address correspond to a mailbox of the same
name with a quota to be checked?

John



Error: quota-status: Client sent invalid recipient address: Invalid character in path

2019-06-27 Thread Lefteris Tsintjelis via dovecot
Any idea what this is?

Jun 26 23:16:34
quota-status(u...@example.com)<4975>: Error:
quota-status: Client sent invalid recipient address: Invalid character
in path

I have this enabled in my config

service quota-status {
  client_limit = 1
  executable = quota-status -p postfix
  unix_listener /var/spool/postfix/private/dovquota {
mode = 0666
user = postfix
  }
}

Lefteris