Re: Getmail and Maildrop tricked into delivering truncated emails

Sam Varshavchik <[email protected]> Thu, 14 Dec 2017 06:45:54 -0500
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
Miroslav Rovis writes:

> This is the excerpt from my .mailfilter.log:
>
> Date: Wed Dec 13 11:34:34 2017
> From:
> Subj:
> File: /home/mr/Maildir                                                    
> (221)
>
> Date: Wed Dec 13 11:34:35 2017
> From:
> Subj:
> File: /home/mr/Maildir                                                    
> (228)
>
> (and all the 144 first msgs like that, the last 100 were fine)
>
> And any more info that might still be missing, unless I am prevented to do so
> by more attacks, I will gladly provide.
>
> What happened. How was Maldrop (and Getmail) tricked into accepting so badly
> truncated mail with no content, no subject, no sender, no from, and delete it
> on the server?

There's nothing to be tricked here. A file with a single blank line is a  
valid E-mail message. Unless you explicitly have a rule that rejects mail  
with empty subjects, and no from: header, the mail will be accepted.

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

iQIcBAABAgAGBQJaMmRyAAoJEGs6Yr4nnb8lYYsP/1rYC4cEMde1TDq+WaT2lEoy
ah1m7DKzvrxNsQNF7XcZFYWf+r/fxyXXqiXUEnfmA2T/VTA9Da1j9uNZGorSKn9C
vJhRguTuKsLDbD5PxBFjMU0izTr6h9vnCzZlU07ytJO+VbKrvIZB15djJsfTwer+
b3B1swHqba6a1S/2BtzpUHg/Xto9EDRONLBib9vruhEJgXoHpxH/FEjUOxcMgmAQ
nODIHwaH22uz7CLYcjF3sQWnUImXeQIczL1EoCx39a/1jHRh9zSH9tuFc3SahtJb
GuEEZIkk+enbF9w34X9xnEXazyxOqDkthDEQ1Y/hiOl9VwjPPTwfOtM2G1Ts1E8u
1sei17ikBPv+KMa/3MOPq+tQ5uJnGZ6ufX0ULXs6woA2HDWwlmyjB/6iJwNlGrtP
v9qGwcgLfl2hpayqhivkIec32ij5Zeesmp+QKCNolB+m59VczAgHi6CRfC98NGPK
AU5R4B0vbpOjB1rH5HPa2m9pdkmuM6j5Jlxlc8a835wdUi6Up0F0Cin2PeNS68OR
gUzZ6V5yFpkKf2GCbmKYZiZnoEiY2bMLoLkZS4lgfjh/G5jMxD4nYp7JpaoH6I+X
UG9ex7FDX2tDSapWzDM35AUFVCNMB1WdroPmgS/jhFuW6m3l0Ux8mogHHKYI2wI9
MbJvWtlyeWhAz/5oSJmb
=uXg5
-----END PGP SIGNATURE-----