A master.cf sor hibás, a user@host a master.cf alapján állítódik be.
Ilyenre keress tutort:
# master.cf
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${user} ${recipient} ${user} ${nexthop} ${sender}
Nekem egy egyszerusitett script igy mux:
# Global maildrop filter file
SHELL="/bin/bash"
DEFAULT="$HOME/Maildir"
MAILDIR="$HOME/Maildir"
logfile "$HOME/.maildrop.log"
`test -d $DEFAULT && exit 1 || exit 0`
if ( $RETURNCODE == 0 )
{
log "(II) User haven't Maildir, creating one"
`maildirmake $DEFAULT`
}
if ( $SIZE < 2048000 )
{
# log "(==) Spam filtering"
exception {
xfilter "sudo -u amavis spamc"
}
}
if (/^X-Spam-Flag: *YES/)
{
log "(!!) This mail flagged as spam"
`test -d $DEFAULT/.Spam && exit 1 || exit 0`
if ( $RETURNCODE == 0 )
{
`maildirmake $DEFAULT/.Spam`
}
exception {
to $DEFAULT/.Spam/
}
}
#if ( $LOGNAME == $FROM )
#{
# to $DEFAULT/.Sent/
#}
BPM="-----BEGIN PGP MESSAGE-----"
EPM="-----END PGP MESSAGE-----"
BPS="-----BEGIN PGP SIGNATURE-----"
EPS="-----END PGP SIGNATURE-----"
if (!/^Content-Type: message/ && !/^Content-Type: multipart/ \
&& !/^Content-Type: application\/pgp/)
{
if (/^$BPM/:b && /^$EPM/:b)
xfilter "reformail -A 'Content-Type: application/pgp; format=text; \
x-action=encrypt'"
if (/^$BPS/:b && /^$EPS/:b)
xfilter "reformail -A 'Content-Type: application/pgp; format=text; \
x-action=sign'"
}
#####################################################################
#
# Correcting wrong signature dashes
#
if (/^--($|[ ]{2,}^)/:b)
{
xfilter "sed -r 's/^--($|[ ]{2,}^)/-- /'"
log "(II) Sig Dashes corrected"
}
`test -r $HOME/.mailfilter`
if( $RETURNCODE == 0 )
{
log "(==) Including $HOME/.mailfilter"
exception {
include $HOME/.mailfilter
}
}
Ebből neked ha jól sejtem, épp az a 3 soros kikommentezett rész a kulcs.