Am 09.07.2010 um 16:02 schrieb Wietse Venema:
> Philipp Leusmann:
>> warning: restriction `User' after `defer' is ignored
>>
>> when I return something like
>>
>> 200 DEFER User is over quota
>>
>> I guess there is some special string expected after DEFER ?
>
> Wietse:
>> No. When the first word is "defer" or "DEFER" etc., then the rest
>> of the text sent to the client.
>>
>> Can you show verbose logging of tcp_table when it returns this
>> result?
>
> Philipp Leusmann{
>> what kind auf verbose logging are you talking about? "postmap -vv
>> -q" ? Or a more verbose logging for tcp_table in mail.log ? How
>> could I turn this on?
>
> I need to see ONE example of verbose logging that shows
>
> (
>
> tcp_table returning the string that is giving the above error,
>
> AND
>
> the Postfix SMTP server processing that result
>
> ).
Sorry, I still don't get, what you mean.
This is from my tcp_table-server logfile:
16:07:00,622 DEBUG QuotaCheckerServer:139 - Checking quota for user [silvia89]
16:07:00,624 DEBUG QuotaCheckerServer:170 - Quota status of user [silvia89] is
: 102402KB used, -2KB free
16:07:00,624 DEBUG QuotaCheckerServer:193 - no space available for user
[silvia89]
16:07:00,624 DEBUG QuotaCheckerServer:265 - Encoded Input String [DEFER User
over quota] as [DEFER%20User%20over%20quota]
16:07:00,624 DEBUG QuotaCheckerServer:239 - The encoded reply is [200
DEFER%20User%20over%20quota
]
and this is the corresponding mail.log:
Jul 9 16:07:00 s15277780 postfix/smtpd[18805]: warning: 186.9.10.210: hostname
client-186-9-10-210.imovil.entelpcs.cl verification failed: Name or service not
known
Jul 9 16:07:00 s15277780 postfix/smtpd[18805]: connect from
unknown[186.9.10.210]
Jul 9 16:07:00 s15277780 postfix/smtpd[18815]: NOQUEUE: reject: RCPT from
c-68-57-126-48.hsd1.va.comcast.net[68.57.126.48]: 450 4.3.2 <[email protected]>:
Recipient address rejected: Try again later; from=<[email protected]>
to=<[email protected]> proto=ESMTP helo=<comcast.net>
Jul 9 16:07:00 s15277780 postfix/smtpd[18815]: warning: restriction `User'
after `defer' is ignored
Jul 9 16:07:00 s15277780 postfix/smtpd[18815]: disconnect from
c-68-57-126-48.hsd1.va.comcast.net[68.57.126.48]
When I use postmap -vv -q "silvia89" tcp:localhost:1337 I get the following:
[...]
postmap: dict_open: calling tcp open routine
postmap: dict_open: tcp:localhost:1337
postmap: dict_tcp_lookup: key silvia89
postmap: trying... [127.0.0.1]
postmap: dict_tcp_lookup: send: get silvia89
postmap: dict_tcp_lookup: recv: 200 DEFER%20User%20over%20quota
postmap: dict_tcp_lookup: found: DEFER User over quota
DEFER User over quota
Hope this helps.
Philipp