Ok, I'm still trying to figure this out. On the new, test account, i can get it to log so I just need to figure out the other two. However, I recreated the same recipe on the test account and what I'm seeing in the log is the first part of the recipe only, it doesn't seem to do anything with the second part.
So this (adjusted for the test account):LOGFILE=/var/log/procmail
VERBOSE=yes
:0
* !^X-Forwarded-For: kirash4@xxxxxxxxx mytest@xxxxxxxxxxxx
* !^X-Forwarded-For: kirash4@xxxxxxxxx mytest@xxxxxxxxxx
* !^From.*kirash4@xxxxxxxxx
* !^To.*mytest@xxxxxxxxxxxxxxxxxxx
! kirash4@xxxxxxxxx
:0c
* ^X-Forwarded-For: kirash4@xxxxxxxxx mytest@xxxxxxxxxxxx
* ^X-Forwarded-For: kirash4@xxxxxxxxx mytest@xxxxxxxxxx
! salesdept@xxxxxxxxxx
procmail: [7884] Wed Jan 23 16:02:10 2013
procmail: Match on ! "^X-Forwarded-For: kirash4@xxxxxxxxx mytest@xxxxxxxxxxxx"
procmail: Match on ! "^X-Forwarded-For: kirash4@xxxxxxxxx mytest@xxxxxxxxxx"
procmail: Match on ! "^From.*kirash4@xxxxxxxxx"
procmail: Match on ! "^To.*mytest@xxxxxxxxxxxxxxxxxxx"
procmail: Assigning "LASTFOLDER=/usr/sbin/sendmail -oi kirash4@xxxxxxxxx"
procmail: Executing "/usr/sbin/sendmail,-oi,kirash4@xxxxxxxxx"
procmail: Notified comsat: "mytest@:/usr/sbin/sendmail -oi kirash4@xxxxxxxxx"
>From USER@xxxxxxxxxx Wed Jan 23 16:02:10 2013
Subject: This is a test message
Folder: /usr/sbin/sendmail -oi kirash4@xxxxxxxxx 3139
procmail: [7892] Wed Jan 23 16:02:18 2013
procmail: Match on ! "^X-Forwarded-For: kirash4@xxxxxxxxx mytest@xxxxxxxxxxxx"
procmail: No match on ! "^X-Forwarded-For: kirash4@xxxxxxxxx mytest@xxxxxxxxxx"
procmail: No match on "^X-Forwarded-For: kirash4@xxxxxxxxx mytest@xxxxxxxxxxxx"
procmail: Locking "/var/spool/mail/mytest.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/mytest"
procmail: Opening "/var/spool/mail/mytest"
procmail: Acquiring kernel-lock
procmail: [7892] Wed Jan 23 16:02:19 2013
procmail: Unlocking "/var/spool/mail/mytest.lock"
procmail: Notified comsat: "mytest@78076490:/var/spool/mail/mytest"
From kirash4+caf_=mytest=pcraft.com@xxxxxxxxx Wed Jan 23 16:02:18 2013
Subject: This is a test message
Folder: /var/spool/mail/mytest 5251
I see the matches and no matches, but I can't tell what's being done before the other. Especially when it comes back. When it returns, the message DOES end up in mytest's mailbox, however it never gets copied to the salesdept email address. So somewhere it's failing. And it doesn't matter which domain I use, it only seems to run the first part of the recipe.
On Wed, Jan 23, 2013 at 2:58 PM, Ashley M. Kirchner <ashley@xxxxxxxxxx> wrote:
Ok, well those recipes are working and logging to /var/log/procmail.I don't understand why this one, which is a lot shorter and simpler, won't log. Nor will it work properly.
On Wed, Jan 23, 2013 at 2:54 PM, Michael Schwendt <mschwendt@xxxxxxxxx> wrote:
On Wed, 23 Jan 2013 14:45:52 -0700, Ashley M. Kirchner wrote:LOGABSTRACT is completely unrelated. It's documented in "man procmailrc"
> a) selinux doesn't exist on this box
> b) doesn't matter where the log file is
>
> And related to a), I have two other accounts that are successfully logging
> to /var/log/procmail. They dump custom messages. The differences I see is
> that those recipes have this at the top, under the LOGFILE line:
> LOGABSTRACT=off
>
> And neither of them have an explicit 'VERBOSE=yes' (or 'on') line.
in case you want to read up on what it does.
loadavg: 0.12 0.11 0.07
--
Fedora release 19 (Rawhide) - Linux 3.8.0-0.rc4.git1.1.fc19.x86_64
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org