No subject


Wed Jan 23 16:39:11 UTC 2013


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 at pcraft.com>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 at gmail.com>wrote:
>
>> On Wed, 23 Jan 2013 14:45:52 -0700, Ashley M. Kirchner wrote:
>>
>> > 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.
>>
>> LOGABSTRACT is completely unrelated. It's documented in "man procmailrc"
>> in case you want to read up on what it does.
>>
>> --
>> Fedora release 19 (Rawhide) - Linux 3.8.0-0.rc4.git1.1.fc19.x86_64
>> loadavg: 0.12 0.11 0.07
>> --
>> users mailing list
>> users at lists.fedoraproject.org
>> 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
>>
>>
>

--20cf3074afa8faf2e904d3fd0bd7
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>Ok, I&#39;m still trying to figure this out=
.=A0 On the new, test account, i can get it to log so I just need to figure=
 out the other two.=A0 However, I recreated the same recipe on the test acc=
ount and what I&#39;m seeing in the log is the first part of the recipe onl=
y, it doesn&#39;t seem to do anything with the second part.<br>
<br></div>So this (adjusted for the test account):<br><br><span style=3D"fo=
nt-family:courier new,monospace">LOGFILE=3D/var/log/procmail<br>VERBOSE=3Dy=
es<br><br>:0<br>* !^X-Forwarded-For: <a href=3D"mailto:kirash4 at gmail.com" t=
arget=3D"_blank">kirash4 at gmail.com</a> <a href=3D"mailto:ashley at pcigrafx.co=
m" target=3D"_blank">mytest at pcigrafx.com</a><br>

* !^X-Forwarded-For: <a href=3D"mailto:kirash4 at gmail.com" target=3D"_blank"=
>kirash4 at gmail.com</a> <a href=3D"mailto:ashley at pcraft.com" target=3D"_blan=
k">mytest at pcraft.com</a><br>* !^From.*<a href=3D"mailto:kirash4 at gmail.com" =
target=3D"_blank">kirash4 at gmail.com</a><br>
* !^To.*<a href=3D"mailto:ashley at papillon.pcraft.com" target=3D"_blank">myt=
est at papillon.pcraft.com</a><br>
! <a href=3D"mailto:ashley at gmail.com" target=3D"_blank">kirash4 at gmail.com</=
a><br><br>:0c<br>* ^X-Forwarded-For: <a href=3D"mailto:kirash4 at gmail.com" t=
arget=3D"_blank">kirash4 at gmail.com</a> <a href=3D"mailto:ashley at pcigrafx.co=
m" target=3D"_blank">mytest at pcigrafx.com</a><br>
* ^X-Forwarded-For: <a href=3D"mailto:kirash4 at gmail.com" target=3D"_blank">=
kirash4 at gmail.com</a> <a href=3D"mailto:ashley at pcraft.com" target=3D"_blank=
">mytest at pcraft.com</a><br>
! <a href=3D"mailto:salesdept at pcraft.com" target=3D"_blank">salesdept at pcraf=
t.com</a></span><br><br></div>Generates this in the log file when it first =
shows up and gets forwarded to GMail:<br><br><span style=3D"font-family:cou=
rier new,monospace">procmail: [7884] Wed Jan 23 16:02:10 2013<br>
procmail: Match on ! &quot;^X-Forwarded-For: <a href=3D"mailto:kirash4 at gmai=
l.com">kirash4 at gmail.com</a> <a href=3D"mailto:mytest at pcigrafx.com">mytest@=
pcigrafx.com</a>&quot;<br>procmail: Match on ! &quot;^X-Forwarded-For: <a h=
ref=3D"mailto:kirash4 at gmail.com">kirash4 at gmail.com</a> <a href=3D"mailto:my=
test at pcraft.com">mytest at pcraft.com</a>&quot;<br>
procmail: Match on ! &quot;^From.*<a href=3D"mailto:kirash4 at gmail.com">kira=
sh4 at gmail.com</a>&quot;<br>procmail: Match on ! &quot;^To.*<a href=3D"mailt=
o:mytest at papillon.pcraft.com">mytest at papillon.pcraft.com</a>&quot;<br>procm=
ail: Assigning &quot;LASTFOLDER=3D/usr/sbin/sendmail -oi <a href=3D"mailto:=
kirash4 at gmail.com">kirash4 at gmail.com</a>&quot;<br>
procmail: Executing &quot;/usr/sbin/sendmail,-oi,<a href=3D"mailto:kirash4@=
gmail.com">kirash4 at gmail.com</a>&quot;<br>procmail: Notified comsat: &quot;=
mytest@:/usr/sbin/sendmail -oi <a href=3D"mailto:kirash4 at gmail.com">kirash4=
@gmail.com</a>&quot;<br>


More information about the users mailing list