This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| computing:mailserver-trixie [2026/05/31 03:36] – oemb1905 | computing:mailserver-trixie [2026/05/31 05:16] (current) – oemb1905 | ||
|---|---|---|---|
| Line 293: | Line 293: | ||
| imap_max_line_length = 256k | imap_max_line_length = 256k | ||
| mail_max_userip_connections = 50 | mail_max_userip_connections = 50 | ||
| - | imap_idle_notify_interval = 30s | + | imap_idle_notify_interval = 15s |
| } | } | ||
| </ | </ | ||
| Line 1042: | Line 1042: | ||
| -- -- -- -- Miscellaneous Issues -- -- -- -- | -- -- -- -- Miscellaneous Issues -- -- -- -- | ||
| - | To test sieve logic and rules, do the following: | + | To test sieve' |
| + | su - username | ||
| + | cd ~/sieve | ||
| + | spamassassin -t -D < Amazon1.eml | ||
| + | # this ^^ gives you the headers / spamassassin scores in stdout | ||
| + | sieve-test -D -e roundcube.sieve Amazon3.eml | ||
| + | # this ^^ tests your sieve logic to see if the email goes in ham or spam | ||
| + | In the output that follows, look for something like the below. I put example output for each command above, respectively: | ||
| + | < | ||
| + | Content analysis details: | ||
| + | |||
| + | pts rule name description | ||
| + | ---- ---------------------- -------------------------------------------------- | ||
| + | 0.8 DKIM_ADSP_ALL | ||
| + | 0.0 SPF_HELO_NONE | ||
| + | -0.0 SPF_PASS | ||
| + | 0.2 BAYES_999 | ||
| + | [score: 1.0000] | ||
| + | 3.5 BAYES_99 | ||
| + | [score: 1.0000] | ||
| + | 2.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail | ||
| + | domains are different | ||
| + | 2.1 HTML_IMAGE_ONLY_12 | ||
| + | 0.0 HTML_EXTRA_CLOSE | ||
| + | 0.1 MIME_HTML_ONLY | ||
| + | 0.0 HTML_MESSAGE | ||
| + | 2.0 RDNS_DYNAMIC | ||
| + | dynamic-looking rDNS | ||
| + | 0.0 HTML_SHORT_LINK_IMG_2 | ||
| + | 3.6 HTML_TAG_BALANCE_CENTER Malformatted HTML | ||
| + | 0.4 HTML_MIME_NO_HTML_TAG | ||
| + | 1.0 GOOG_STO_IMG_HTML | ||
| + | URIBL | ||
| + | 1.2 DMARC_QUAR | ||
| + | 0.0 T_REMOTE_IMAGE | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | sieve-test: Debug: sieve: Commit fileinto action | ||
| + | sieve-test: Debug: sieve: fileinto action: Commit storing into mailbox ' | ||
| + | sieve-test: Info: sieve: msgid=< | ||
| + | info: msgid=< | ||
| + | sieve-test: Debug: sieve: Finished finalizing actions (status=ok, keep=none, committed=yes) | ||
| + | </ | ||
| ====== Part IX - What's next? ====== | ====== Part IX - What's next? ====== | ||
| Line 1059: | Line 1102: | ||
| I rewrote the mail server tutorial for the presentation [[https:// | I rewrote the mail server tutorial for the presentation [[https:// | ||
| - | --- // | + | --- // |