procmail
[Top] [All Lists]

Re: FROM_MAILER test discarding legit mail - who's problem?

2007-09-21 07:51:41
Am 2007-09-20 12:35:33, schrieb Steven Narmontas:
  From:  notification-service(_at_)elluminate(_dot_)com

If a person at the college wants ALL of their email forwarded to say,
myaddress(_at_)somewhere(_dot_)com, a script inserts the following into that
user's procmailrc file:

:0
* !^FROM_MAILER
! myaddress(_at_)somewhere(_dot_)com

:0
/dev/null


The FROM_MAILER macro expands to a regular expression that's spelled
out in the procmailrc man page.  Only messages with headers that do
NOT match the FROM_MAILER regular expression are forwarded to
myaddress(_at_)somewhere(_dot_)com   All other messages are discarded.

This condition is used to prevent mail loops from bounced messages,
delivery failures and such.

???

----8<----------------------------------------------------------
:0
* ! ^X-Loop: "notification-service(_at_)elluminate\(_dot_)com
* ^From:(_dot_)*notification-service(_at_)elluminate\(_dot_)com
{
  :0fw
  |fromail -f -I "X-Loop: "notification-service(_at_)elluminate(_dot_)com

  :0
  !myaddress(_at_)somewhere(_dot_)com
}

:0
/dev/null
----8<----------------------------------------------------------

The trouble is the automated messages from the web conferencing system
are being discarded because FROM_MAILER matches the line:

  From: notification-service(_at_)elluminate(_dot_)com

specifically because the word 'service' appears on the From line.

Where is the problem?

I don't want to ask our sysadmin to change the procmail recipe used
for mail forwarding to allow the email messages from this (widely used
at the college) web conferencing system to be forwarded.  I would
rather ask the web conferencing company to change the From: header in
their automated emails.  All they would have to do is remove the word
'service'.

WHY?

Questions:

Is the simple recipe for forwarding ALL email to another account shown
above commonly used?

See above which is what I do all over the place...

Is there an RFC or other standard or recommendation that governs the
use of the word 'service' in a From: header?

No, service is a legal word...

You can use ANY COMBINATION of "a-zA-Z0-9.-" and if the MTA allows the "_".

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail