Postfix, dovecot, spamassassin SPAM to a spam folder
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed mine as an rpm. How did you install yours? Are you Fedora Core 6?
I got mine from
[root@streit yum.repos.d]# more enlartenment.repo
[enlartenment]
name=Enlartenment Repository for $releasever - $basearch
baseurl=http://www.enlartenment.com/packages/fedora/$releasever/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-enlartenment
enabled=0
gpgcheck=1
Check where it installs though, because I note that mine was put in /usr/local/bin which means you need to chane the path for postfix (I think that is in main.cf)
Everything seems to boil down to two things. The permissions on /usr/local/bin/maildrop and an entry in the main.cf file. By the way, in /etc/aliases my user is as follows:
Now the permissions. I have tried many permutations with differing errors.
Right now
[root@streit bin]# pwd
/usr/local/bin
[root@streit bin]# ls -al
total 392
drwxr-xr-x 2 root root 4096 Feb 16 17:02 .
drwxr-xr-x 13 root root 4096 Feb 16 17:02 ..
-rwxr-xr-x 1 root root 20388 Feb 16 17:02 deliverquota
-rwxr-xr-x 1 root mail 10576 Feb 16 17:02 lockmail
-rwxr-xr-x 1 root root 23724 Feb 16 17:02 mailbot
-rwxr-xr-x 1 root root 24216 Feb 16 17:02 maildirmake
-rwsr-sr-x 1 root root 160820 Feb 16 17:02 maildrop
-rwxr-xr-x 1 root root 24240 Feb 16 17:02 makemime
-rwxr-xr-x 1 root root 39736 Feb 16 17:02 reformail
-rwxr-xr-x 1 root root 61332 Feb 16 17:02 reformime
-rwxr-xr-x 1 spamfilter root 75 Feb 10 16:45 spamfilter
and main.cf of
mailbox_command = /usr/local/bin/maildrop -d root
results in a log of
Feb 17 14:29:44 streit postfix/local[23442]: DCBB15A6C3C: to=<root@streit.thestreits.com>, orig_to=<webmaster@breitsolutions.com>, relay=local, delay=188594, delays=188593/0.09/0/1.1, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/local/bin/maildrop: You are not a trusted user. )
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.