Hello everyone,

I just got my first courier installation up and running. It's working
fine as it accepts mail, processes it using all given rules and stores
it in the recipients Maildir.
But there are two things I don't understand on which I would be grateful
for any help:

my DEFAULTDELIVERY variable in /usr/lib/courier/etc/courierd reads

        DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop"

and my /usr/lib/courier/etc/maildirfilter contains

        logfile "/tmp/mailfilter-log.txt"
        xfilter "/usr/local/bin/spamassassin -x"
        if (  /^X-Spam-Flag: YES/  )
        {
          log "------ Spam found. "
          to "/home/marcus/Maildir/.Spam"
        }
        else
        {
          log "------ No match."
          # Deliver to the Inbox.
          to "$HOME/Maildir/"
        }

But somehow it seems like spamassassin doesn't process the message,
because it leaves no tags in the message header.
I already tried a 'hard' restart of courier ('courier stop && courier
start') as advised on some pages I found with google, but that didn't
help,

The second problem is that I don't want to enable outside users (user
with an external IP) to send mail to our users with an address from our
own domain (in order to mask themselves as a local user) . Long time ago
I had a sendmail macro but now I'm quite lost :)
Any advice?

Greetings
  Marcus Ilgner

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to