[Cialug] postfix issue
Jeff Davis
jdavis at geolearning.com
Fri Nov 17 12:34:15 CST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
david l goodrich wrote:
>> the mail server has a whopping 200 MB ram, it's a xen domu at
>> panix.com. it is entirely unsuited to running postfix,
>> cyrus-imapd AND amavisd-new.
You said this was running on a box in another state through a VPN.
It just piqued my curiosity.
(Is your concern over the size because of bandwidth issues?)
>> defer_if_permit is nice, but remember, the mail server has
>> already returned 2xx to the client. i implemented this, but i
>> just send 'ok' if the amavisd-new server is down. there's not
>> much else i can do at that point.
I'm not sure how you're going to get around that
2xx except by not accepting the message.
Postfix can reject based on file size, but that
doesn't seem to be your goal. You're accepting
an email and *then* based on size, determining if
it gets scanned by amavis.
>> thanks, i didn't know about that one.
>> that may be the better route, actually, to knock the time down to
>> 60 or something, and disregard the size checks. if it's too big
>> it'll trip the timeout. if it's set up as an smtpd_proxy_filter
>> instead of via smtpd_end_of_data_restrictions it'll check to see
>> if the anti-spam server is up, and defer the message if it's not.
I would expect that anything large enough to get caught by the lower
timeout would get deferred and then you may end up with a queue with
a bunch of emails that have large attachments.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFXgCnUVPJ6ufy+vIRAhUwAKC6zPvfmwTtWkfT4R4k4vpos9qQ2gCfUQK5
qUNPGD9aV1+RnxoDCvNWKz0=
=48WZ
-----END PGP SIGNATURE-----
More information about the Cialug
mailing list