7.6. Message Processing

7.6.1. Can’t read SMFIC_OPTNEG reply packet header: Connection timed out

When you receive this kind of error in mail log:

mx postfix/amavisd/smtpd[25535]: warning: milter inet:X.X.X.X:7076: can't read SMFIC_OPTNEG reply packet header: Connection timed out

It means that milter is rejecting messages probably because it’s too busy to work on current messages.

There are three parameters which could be adjusted.

7.6.1.1. zimbraMtaMilterDefaultAction parameter

Note

Only for Zimbra Collaboration Suite.

Change zimbraMtaMilterDefaultAction parameters to accept value, thanks to this while huge peek of traffic messages will be delivered rather than rejected. Application will not add disclaimer/signature, but in general it’s a better scenario than rejecting the message.

Use command:

zmprov ms `hostname` zimbraMtaMilterDefaultAction "accept"

7.6.1.2. Pool and queue size

Note

Options available from version 1.6.2

Application internally store messages in fixed size queues, there are two values which could be adjusted - pool size and queue size - higher values will let the application to work on more messages at the same time.

Edit /opt/msh-ds/etc/config.cf file and add two values at the end of the file, like this:

POOL_SIZE=10
QUEUE_SIZE=20

save changes and restart:

/etc/init.d/msh-ds-milter restart

Note

Above values are default, so even not specified application use 10 for POOL_SIZE and 20 for QUEUE_SIZE.

To resolve issue with Connection time out try to increase default values, like this:

POOL_SIZE=20
QUEUE_SIZE=30

If this will not help use a little higher values.