On Wed, 23 Jan 2013 16:28:07 -0700, Ashley M. Kirchner wrote: > :0 > * !^X-Forwarded-For: kira...@gmail.com > myt...@pcigrafx.com<ash...@pcigrafx.com> > * !^X-Forwarded-For: kira...@gmail.com myt...@pcraft.com <ash...@pcraft.com> > * !^From.*kira...@gmail.com > * !^To.*myt...@papillon.pcraft.com <ash...@papillon.pcraft.com> > ! kira...@gmail.com <ash...@gmail.com> > > :0c > * ^X-Forwarded-For: kira...@gmail.com myt...@pcigrafx.com<ash...@pcigrafx.com> > * ^X-Forwarded-For: kira...@gmail.com myt...@pcraft.com <ash...@pcraft.com> > ! salesd...@pcraft.com > > 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: kira...@gmail.com > myt...@pcigrafx.com" > procmail: Match on ! "^X-Forwarded-For: kira...@gmail.com myt...@pcraft.com" > procmail: Match on ! "^From.*kira...@gmail.com" > procmail: Match on ! "^To.*myt...@papillon.pcraft.com" > procmail: Assigning "LASTFOLDER=/usr/sbin/sendmail -oi kira...@gmail.com" > procmail: Executing "/usr/sbin/sendmail,-oi,kira...@gmail.com" > procmail: Notified comsat: "mytest@:/usr/sbin/sendmail -oi kira...@gmail.com > " > From u...@domain.com Wed Jan 23 16:02:10 2013 > Subject: This is a test message > Folder: /usr/sbin/sendmail -oi kira...@gmail.com 3139 > > And when it comes back from GMail: > > procmail: [7892] Wed Jan 23 16:02:18 2013 > procmail: Match on ! "^X-Forwarded-For: kira...@gmail.com > myt...@pcigrafx.com" > procmail: No match on ! "^X-Forwarded-For: kira...@gmail.com > myt...@pcraft.com"
Those two above are for the first recipe. > procmail: No match on "^X-Forwarded-For: kira...@gmail.com > myt...@pcigrafx.com" 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: kira...@gmail.com myt...@pcigrafx.com" 2nd recipe: No match on "^X-Forwarded-For: kira...@gmail.com myt...@pcigrafx.com" "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@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