procmail
[Top] [All Lists]

procmail - cant handle mailing list - to field

2001-06-06 02:13:40

Hi,
Im having the following problem with my
linux(2.2.16)/sendmail(8.10.2)/procmail(3.13.1) system. I am accepting mail
for multiple domains on a single email server. Basically mail is not being
delivered correctly within each domain.

My 'sendmail.cw' file contains
a.com
b.com

My 'virtusertable' file contains
@a.com  user_a
@b.com  user_b

The .procmail recipe for user_a contains
:0:
* ^TO_info(_at_)a(_dot_)com
{
        :0c
        info_user
}

When receiving email via a mailing list (of which info(_at_)a(_dot_)com is a 
member)
the mail is incorrectly dropped into /var/spool/mail/user_a instead of
/var/spool/mail/info_user

I think this is because the procmail ^To_ function cant see the address
info(_at_)a(_dot_)com in any of the TO/CC/BCC etc fields.  Typical message 
header -
(info(_at_)a(_dot_)com is a member of list1(_at_)list1(_dot_)com)
----------------------------------------------
From list1-request(_at_)list1(_dot_)com  Wed Jun  6 16:21:39 2001
Return-Path: <list1-request(_at_)list1(_dot_)com>
Received: from some-server.com ([1.1.1.1])
        by iraklis.my-server.com (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with
ESMTP id f566LbJ03378
        for <info(_at_)a(_dot_)com>; Wed, 6 Jun 2001 16:21:38 +1000
To: list1(_at_)list1(_dot_)com
From: Cate Jones <cjones(_at_)somedomain(_dot_)com>
Subject: RE: delegation
----------------------------------------------


Any ideas will be appreciated. Thanks in advance.

Con Nikolozakis

-----------------------------------------------------------
Con Nikolozakis                     Ph:    +61 (0)3 8604 2488
Secure Commerce Services            Fax:   +61 (0)3 9629 2800
Level 1, 35 King Street             Mbl:   +61 (0)414 397 115
Melbourne VIC 3000 Australia        Email: 
con(_at_)securecommerce(_dot_)com(_dot_)au
SCS - Securing Electronic Business - (see www.securecommerce.com.au)
-----------------------------------------------------------
Fingerprint
8429 C352 9A37 4A9D B31A  BC38 6C43 D70E 7EA6 29A3
-----------------------------------------------------------

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>