Re: Help TMDA+postfix
"Rafael Tomelin" <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Message-ID | <[email protected]> |
It had forgotten to speak. I have the archive "/etc/maildroprc". But for the
visa it is not advancing in nothing, therefore I removed the archive and
maildrop direct continues ordering emails for the "Maildir". The archive
"/etc/maildroprc" is thus:
LOGNAME=tolower("$LOGNAME")
EXTENSION="$1"
RECIPIENT=tolower("$2")
USER=tolower("$3")
HOST=tolower("$4")
HOME="/postfix/$HOST/$USER"
SENDER="$5"
DEFAULT="/postfix/$HOST/$USER/Maildir/"
#Arquivo de log
logfile "/postfix/$HOST/mailfilter.log"
`test -f /postfix/$HOST/.mailfilter/$LOGNAME`
if ( $RETURNCODE == 0 )
{
include "/postfix/$HOST/.mailfilter/$LOGNAME"
}
if ( $RETURNCODE != 0 )
{
to "/postfix/$HOST/$USER/Maildir";
}
if ( $RECIPIENT eq $SENDER )
{
to "/postfix/$HOST/$USER/Maildir";
}
if ( $TMDA eq "Y" )
{
to "| /usr/local/tmda/bin/tmda-filter"
}
2006/11/29, Stephen Warren <[email protected]>:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Rafael Tomelin wrote:
> > All,
> >
> > I will go to pass some of my configurations. The TMDA is not generating
> > logs in "/~.tmda/logs/debug.log". I believe that postfix (maildrop) is
> > not obtaining to execute "to tmda-filter".
>
> 1) Did you already have maildrop working before installing TMDA?
>
> 2) I assume that the file:
>
> /postfix/teclinux.net/..mailfilters/[email protected] <http://nux.net>
>
> is what tells maildrop to run TMDA. This filename looks very strange.
> Are you sure that maildrop is reading this file?
>
> 3) Looking at:
>
> http://wiki.tmda.net/ServerConfiguration#exim-postfix
>
> the section for maildrop says that the .mailfilter file should contain
> this:
>
> to "| /usr/local/tmda/bin/tmda-filter"
>
> but your file contains this:
>
> "| /usr/local/tmda/bin/tmda-filter"
>
> Please look at /var/log/maillog (or wherever you have postfix and/or
> maildrop configured to log to) to see if there are any clues.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFbfcghk3bo0lNTrURAjyXAJ0apshYhIRoMMgn5PKeFNL2q/KMggCgmEZa
> oV8p7TnqTT13sa06t6Fb4+8=
> =wL7U
> -----END PGP SIGNATURE-----
>