• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

integrate procmail into qmail mail delivery?

I

insel

Guest
Hello.

Anybody integrated procmail into the qmail mail delivery process?

At the moment I'd prefer a procmail integration for single mail users. With Spamassassin (SA) enabled you have a file /var/qmail/mailnames/domain.tld/user/.qmail with

if [ -z "$SA" ]; then
export SA=1;
/usr/local/psa/bin/psa-spamc -f -u [email protected] -U /tmp/spamd_full.sock > spamcheck$$;
/var/qmail/bin/qmail-local "$USER" "$HOME" "$LOCAL" "" "" "$HOST" "$SENDER" "$DEFAULT" < spamcheck$$;
retval=$?;
rm -f spamcheck$$;
[ $retval = 0 ] && exit 99;
exit $retval;
fi

(one line within .qmail).

If qmail-local is sucessfull, this statement will exit with error-code 99, which means, that no further lines of .qmail are proceeded (see dot-qmail(5) ).

spamcheck$$ is the complete mail with SA-Headers.
$USER = popuser
$HOME = /var/qmail/mailnames/domain.tld/user
$LOCAL = [number]-user
$HOST = domain.tld
$SENDER = [sender]
$DEFAULT = [empty]

Any hints for an integration of procmail (after psa-spamc) there? Some experienced qmail-users here?

insel
 
Back
Top