Re: Insufficient permission

Davide Davini <[email protected]> Tue, 6 Jun 2017 19:20:57 +0200
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
On 06/06/2017 18:18, Sam Varshavchik wrote:
> Davide Davini writes:
>
>> On 05/06/2017 18:16, Sam Varshavchik wrote:
>> > "Insufficient permission" is the error message from your mail server,
>> > that's how it interprets the EX_TEMPFAIL exit code from maildrop.
>> > You will need to look at maildrop's own generated logs to identify the
>> > original cause of the delivery failure.
>>
>> When I have the "Insufficient permission" error, the exit code is not 75
>> but 77. I didn't check at before, sorry.
>
> This was recorded in your logs:
>
>> Jun  5 14:24:48 odino sm-mta[59390]: v55C7jjq054920: to=davide,
>> delay=00:17:03, xdelay=00:05:01, mailer=local, pri=243174, dsn=4.0.0,
>> stat=Deferred: local mailer (/usr/local/bin/maildrop_wrapper) exited
>> with
>> EX_TEMPFAIL

Yes, it is. I probably didn't explain myself correctly. I'll try again:
It tempfails several times and then at some point it hards fails. Like so:
14:26:00 75 -f <email redacted> -d davide -f0
maildrop: Timeout quota exceeded.
14:29:48 75 -f <email redacted> -d davide -f0
maildrop: Timeout quota exceeded.
14:34:49 75 -f <email redacted> -d davide -f0
maildrop: Timeout quota exceeded.
14:37:12 75 -f <email redacted> -d davide -f0
maildrop: Timeout quota exceeded.
15:14:47 77 -f <email redacted> -d davide -f0

>
>> Provided I want the emails to stay parked in the queue no matter what
>> happens, does it make sense to force the exit code of the wrapper to 75?
>> Is sendmail going to interpret that always as a tempfail? I would say
>> yes, but I maybe I'm missing something important here.
>
> sendmail will continue to defer the mail until it expires. I don't
> recall sendmail's default expiration setting, it's probably a week
> after which point it will bounce.

That was not my question. :)

I know that, it's set to stay in queue for several months. My question
was more is sendmail trusting just the exit code? I'm testing it now
anyway. I'll find out. :)

Thanks again,
Davide

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Courier-maildrop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
signature.asc (application/pgp-signature, 181 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlk25H4ACgkQYqpk3E5VqXGmrgCfU0rJwOSBopwf3bDbJSy32ppW
J+sAoOn5BUH3LjkvkXWryQzK1TmlHrYn
=ffd4
-----END PGP SIGNATURE-----