Skip to content

Need to speed up amavis scanning #1

@tomav

Description

@tomav

Since amavis and other filters are enabled, mail scanning add a delay in mail delivery.

mail_1 | Mar 28 15:19:12 94f2fb3e567b postfix/smtpd[573]: connect from localhost[127.0.0.1]
mail_1 | Mar 28 15:19:12 94f2fb3e567b postfix/smtpd[573]: DBE3C6250F: client=localhost[127.0.0.1]
mail_1 | Mar 28 15:19:12 94f2fb3e567b postfix/cleanup[568]: DBE3C6250F: message-id=<[email protected]>
mail_1 | Mar 28 15:19:12 94f2fb3e567b postfix/qmgr[559]: DBE3C6250F: from=<[email protected]>, size=962, nrcpt=1 (queue active)
mail_1 | Mar 28 15:19:12 94f2fb3e567b amavis[562]: (00562-01) Passed CLEAN {RelayedInternal}, LOCAL [192.168.33.1]:55643 [192.168.33.1] <[email protected]> -> <[email protected]>, Queue-ID: A8C52624FD, Message-ID: <[email protected]>, mail_id: iH9J1j9yQQFK, Hits: -1, size: 539, queued_as: DBE3C6250F, 12199 ms
mail_1 | Mar 28 15:19:12 94f2fb3e567b postfix/smtp[569]: A8C52624FD: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=12, delays=0.02/0.01/0.01/12, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as DBE3C6250F)
mail_1 | Mar 28 15:19:12 94f2fb3e567b postfix/qmgr[559]: A8C52624FD: removed
mail_1 | Mar 28 15:19:12 94f2fb3e567b postfix/virtual[574]: DBE3C6250F: to=<[email protected]>, relay=virtual, delay=0.04, delays=0.01/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
mail_1 | Mar 28 15:19:12 94f2fb3e567b postfix/qmgr[559]: DBE3C6250F: removed

Currently, it's a 12 seconds scan...
Tested on OSX using virtualbox and share folder, which can be part of the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions