Re: Procmail issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2013/01/23 15:28, Ashley M. Kirchner wrote:
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 <mailto:kirash4@xxxxxxxxx>
mytest@xxxxxxxxxxxx <mailto:ashley@xxxxxxxxxxxx>
* !^X-Forwarded-For: kirash4@xxxxxxxxx <mailto:kirash4@xxxxxxxxx>
mytest@xxxxxxxxxx <mailto:ashley@xxxxxxxxxx>
* !^From.*kirash4@xxxxxxxxx <mailto:kirash4@xxxxxxxxx>
* !^To.*mytest@xxxxxxxxxxxxxxxxxxx <mailto:ashley@xxxxxxxxxxxxxxxxxxx>
! kirash4@xxxxxxxxx <mailto:ashley@xxxxxxxxx>

:0c
* ^X-Forwarded-For: kirash4@xxxxxxxxx <mailto:kirash4@xxxxxxxxx>
mytest@xxxxxxxxxxxx <mailto:ashley@xxxxxxxxxxxx>
* ^X-Forwarded-For: kirash4@xxxxxxxxx <mailto:kirash4@xxxxxxxxx>
mytest@xxxxxxxxxx <mailto:ashley@xxxxxxxxxx>
! salesdept@xxxxxxxxxx <mailto:salesdept@xxxxxxxxxx>

Ashley, it might pay to explicitly say, in words, what you think you
want to do if the first rule passes, if the first rule does not pass
and the second rule passes, and if neither rule passes.

As it is your description of passing the first rule is the correct
action for what you've developed as a rule. You have delivered the
email and rule processing ceases at that point. So you might have
to clone the output of the first rule to pass it to the second rule
IF that is the action you want based on your disappointment at these
rules doing what you told them to do.

{^_^}

--
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


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux