Re: Procmail issue

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

 



On Wed, 23 Jan 2013 16:28:07 -0700, Ashley M. Kirchner wrote:

> :0
> * !^X-Forwarded-For: kirash4@xxxxxxxxx mytest@xxxxxxxxxxxx<ashley@xxxxxxxxxxxx>
> * !^X-Forwarded-For: kirash4@xxxxxxxxx mytest@xxxxxxxxxx <ashley@xxxxxxxxxx>
> * !^From.*kirash4@xxxxxxxxx
> * !^To.*mytest@xxxxxxxxxxxxxxxxxxx <ashley@xxxxxxxxxxxxxxxxxxx>
> ! kirash4@xxxxxxxxx <ashley@xxxxxxxxx>
> 
> :0c
> * ^X-Forwarded-For: kirash4@xxxxxxxxx mytest@xxxxxxxxxxxx<ashley@xxxxxxxxxxxx>
> * ^X-Forwarded-For: kirash4@xxxxxxxxx mytest@xxxxxxxxxx <ashley@xxxxxxxxxx>
> ! salesdept@xxxxxxxxxx
> 
> Generates this in the log file when it first shows up and gets forwarded to
> GMail:
> 
> 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
> 
> And when it comes back from GMail:
> 
> 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"

Those two above are for the first recipe.

> procmail: No match on "^X-Forwarded-For: kirash4@xxxxxxxxx
> mytest@xxxxxxxxxxxx"

This is for the second recipe. So far so good. But please pay attention
to what it matched! Compare the first two lines of the log for each of
the recipes:

1st recipe:
  Match on ! "^X-Forwarded-For: kirash4@xxxxxxxxx mytest@xxxxxxxxxxxx"

2nd recipe:
 No match on "^X-Forwarded-For: kirash4@xxxxxxxxx mytest@xxxxxxxxxxxx"

"Match on ! …" is equivalent to "No match on …", so your returning email
did NOT contain the wanted X-Forwarded-For line in the header. Can you
look up such a forwarded message and show its headers? Does the message
really contain such a header? The recipe looks strange, because it refers
to a line with multiple email address, for example.

-- 
Fedora release 19 (Rawhide) - Linux 3.8.0-0.rc4.git1.1.fc19.x86_64
loadavg: 0.00 0.06 0.12
-- 
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