sending mail with attachments always fails (FreeBSD/pf)

Michael Proto mike at jellydonut.org
Sat Nov 21 18:24:00 UTC 2009


On Sat, Nov 21, 2009 at 1:07 PM, Victor Lyapunov
<fullblaststorm at gmail.com> wrote:

> rule 4/0(match): pass out on em0: (tos 0x0, ttl 127, id 19860, offset
> 0, flags [DF], proto TCP (6), length 48) 192.168.0.5.1822 >
> 209.85.129.111.465:  tcp 28 [bad hdr length 0 - too short, < 20]

This looks to be your problem-- bad hdr length 0. I don't know enough
of what mailer(s) you're using to relay this message outbound, but
since port 465 is smtp over TLS/SSL are you sure your smtp encryption
is working correctly? I often see these types of errors with other
TLS/SSL apps when one side is expecting an encrypted connection and
the other is not (correctly) providing it.

Have you tried using unencrypted smtp on port 25? Does that work?


-Proto


More information about the freebsd-pf mailing list