I added this line:
mailbox_command = /usr/bin/procmail -f
In the main.cf, but it's still not procesisng mail through procmail, is there anything else I need to do? (I restarted it obviously)
Mail is processed by fetchmail, goes to postfix, and is suppost to go through procmail then in the inbox/spam folder.
I dont know if this is related or not, but I get a bunch of weird crap in the maillog, have no clue what its even trying to do, since the imap server works fine.
Code:
Jul 2 00:02:15 borg dovecot: imap(email_ryan): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul 2 00:02:16 borg dovecot: child 6429 (imap) returned error 89
Jul 2 00:02:17 borg dovecot: imap-login: Login: user=<email_ryan>, method=plain, rip=::ffff:10.1.1.20, lip=::ffff:10.1.1.10
Jul 2 00:02:17 borg dovecot: imap-login: Login: user=<email_ryan>, method=plain, rip=::ffff:10.1.1.20, lip=::ffff:10.1.1.10
Jul 2 00:02:18 borg dovecot: imap(email_ryan): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul 2 00:02:18 borg dovecot: child 6474 (imap) returned error 89
Jul 2 00:02:19 borg dovecot: imap-login: Login: user=<email_ryan>, method=plain, rip=::ffff:10.1.1.20, lip=::ffff:10.1.1.10
Jul 2 00:02:29 borg dovecot: imap-login: Login: user=<email_ryan>, method=plain, rip=::ffff:10.1.1.20, lip=::ffff:10.1.1.10
Jul 2 00:02:32 borg dovecot: imap(email_ryan): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul 2 00:02:32 borg dovecot: child 6483 (imap) returned error 89
Jul 2 00:02:33 borg dovecot: imap-login: Login: user=<email_ryan>, method=plain, rip=::ffff:10.1.1.20, lip=::ffff:10.1.1.10
Jul 2 00:02:35 borg dovecot: imap-login: Login: user=<email_ryan>, method=plain, rip=::ffff:10.1.1.20, lip=::ffff:10.1.1.10
Jul 2 00:02:36 borg dovecot: imap(email_ryan): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul 2 00:02:36 borg dovecot: child 6499 (imap) returned error 89
Jul 2 00:02:40 borg dovecot: imap(email_ryan): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul 2 00:02:40 borg dovecot: child 6494 (imap) returned error 89
Jul 2 00:02:41 borg dovecot: imap(email_ryan): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul 2 00:02:41 borg dovecot: child 6130 (imap) returned error 89
Also when I view mail headers of received mail it shows to be coming from my LAN IP, is there a way to change this? I will probably get issues trying to send mail if the destination server blocks such mails, thinking it is spam.
Also, where is the procmail log? I checked using find in /var/log and its nowhere to be found. Perhaps my migrated .procmailrc is invalid with this version, or the path to spamc changed, or something but I dont know where the error is going, if its generating one.