Re: Insufficient permission

Sam Varshavchik <[email protected]> Tue, 06 Jun 2017 12:18:22 -0400
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
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

> 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.

------------------------------------------------------------------------------
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, 801 B)
-----BEGIN PGP SIGNATURE-----

iQIcBAABAgAGBQJZNtXOAAoJEGs6Yr4nnb8lM9kQAOBPxlYDXgpDOey3lGcHKndi
T2qopphS7xnyJobxSZ3tgSg2YsR8Jl3BtWbyoL/49fRnrmReEpta9BgNKPlF2kAs
s4UKB2YmYqB3xh5Jkoq5sIhBo9BP0TNM2qUkr7BSY3HupRZRjL5K5WHYz6xI+T6f
MtvL5R1yN+vFtkHoId198vfgEeJWdpPPLNySKzcE5IZ0sXvvPmoZwVC09Yzo6RoK
1UpNb8dHvcSEOVSTu8e8mcjzLrXd4AtQJ4UHPCHl8nxMH/8h4i/giFJu30mpuIt8
+m4yyNqRQl4UB+2TSiAbQ+mzrkdmprVeg8zr5RqVik456HOtZzTwzVziwTYvzgGL
Jdy6Mp3NM4HhdkG8bMij3Qupi3X/OAN8jE3OpGPyadHjMM4KyfTsV1WrqqQuyDGO
PAuZQ1wR0dTyHMHOszaxoxYhTtZ4vyeDaU+MpUw+ueI+UZm6bcIlNE0iLBo/o2Rt
7IrVjfxJX0aHldSFOp2amKPPWse7faiMgkg+ISfT+YJWfCq/1isTLGudDrd5b221
MJYDxREnIwaEWoqverk1WsYrAo67cJiYNQgEAIrPbXkH3FX3/3TKwSA89JAcjUgO
p6yUp6coEthN0UKyuGcTap4MnYRREGtABqxcPcQc5/ilkol8NJfVvw2AQvf21d1d
0WZUC2GekGmdPnhNH8Cq
=BuyZ
-----END PGP SIGNATURE-----