Re: sending mail with attachments always fail (FreeBSD/pf)



On Sat, 21 Nov 2009 16:27:20 +0100
Matthias Apitz <guru@xxxxxxxxxxx> wrote:

El día Saturday, November 21, 2009 a las 08:59:12PM +0600, Victor
Lyapunov escribió:

Hi all,

I have production network with FreeBSD box acting as firewall. The
problem emerge as soon as users send mail with attachments. (Sending
mail without attachments always succeeds). Basically, when a user
tries to send a message, only part of it transmitted before
connection is interrupted and sending fails. The problem persists
only when pf is enabled.

I think concerning TCP/IP there is no diff between a mail with or w/o
attachment, it is just talking SMTP to a remote server and only the
size, i.e, the number of IP pkgs, differs; the content is anyway;

This kind of thing is often due to a mtu blackhole - when a larger
email causes a full size IP packet to be sent. I don't see why PF
should make a difference though, IFAIK it's supposed to let ICMP through
when it's learned state on a tcp connection.


I never used S/SA as flags in my rules, only S.

S/SA is correct, it mean look at SYN and ACK and match if only SYN is
set, S matches on SYN irrespective of whether ACK is set.
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"