Great Circle Associates Majordomo-Users
(April 2006)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Problem with aliases
From: Daniel Liston <dliston @ sonny . org>
Date: Thu, 27 Apr 2006 12:17:59 -0500
To: "Jevos, Peter" <Peter . Jevos @ Oriflame-SW . Com>
Cc: majordomo-users @ greatcircle . com
In-reply-to: <6639BA20B265594590E97DD72A8EE0359DA1DA@exosw.osw.ori.local>
References: <6639BA20B265594590E97DD72A8EE0359DA1DA@exosw.osw.ori.local>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2)Gecko/20040804 Netscape/7.2 (ax)

#1.  You have a space (shouldn't matter) after "| on the test alias.
	I assume a@a.com is fake for the purpose of this email,
	if not, you better own/control delivery to a@a.com.
#2.  If you write to test-list@your.domain, you are bypassing majordomo.
	The correct address for your list is test@your.domain
#3.  Your log shows owner-test sending mail to test-list locally. uid-1003
	The message was never "To:" owner-test as you imply in your final
	question.

Something is really hosed, as I do not see from the information provided
how test-list can get translated to test, unless your test.config file or
the test file itself reference the test@ address.  Mail should be composed
"To:" test@your.domain, which gets processed through majordomo, then resent
to the alias test-list@your.domain when all the rules pass inspection.  The
test-list alias in turn evaluates to the contents of file 
/usr/local/majordomo/lists/test and uses postfix/sendmail to deliver to all
those addresses.

You need to prevent delivery of mail to test-list, except from the local
alias expansion of test.  Anyone writing to test-list will bypass majordomo
and the rules/policies in test.config, and have full access to your list of
users in the "test" file.


Dan Liston

Jevos, Peter wrote:
> Hello 
> I'd like to ask you if my aliases are correct cause I have one problem:
> 
> owner-test      a@a.com                                   
> test             "| /usr/local/majordomo/wrapper resend -l test test-list"    
> test-request    "|/usr/local/majordomo/wrapper request-answer test"    
> test-approval    a@a.com                                   
> test-list        :include:/usr/local/majordomo/lists/test       
> 
> In my test.config is : restrict_post=access, where access file contains
> users can send to address test@test.com. But when I send email to
> address test-list@test.com, restrict post parameter doesn't work.
> 
> And the next one. I looked at the logs and it seems strange:
> 
> Apr 27 18:18:42 mail postfix/qmgr[16648]: 2D3A914104:
> from=<it.sysms@seznam.cz>, size=837, nrcpt=1 (queue active)
> Apr 27 18:18:42 mail postfix/smtpd[16738]: disconnect from
> mxm.seznam.cz[194.228.32.45]
> Apr 27 18:18:42 mail postfix/pickup[16647]: 5323C14110: uid=1003
> from=<owner-test@test.com>
> Apr 27 18:18:42 mail postfix/cleanup[16745]: 5323C14110:
> message-id=<4.6431-29079-1994865015-1146154718@seznam.cz>
> Apr 27 18:18:42 mail postfix/qmgr[16648]: 5323C14110:
> from=<owner-test@test.com>, size=1694, nrcpt=1 (queue active)
> Apr 27 18:18:42 mail postfix/cleanup[16745]: 58A6414111:
> message-id=<4.6431-29079-1994865015-1146154718@seznam.cz>
> Apr 27 18:18:42 mail postfix/qmgr[16648]: 58A6414111:
> from=<owner-test@test.com>, size=1835, nrcpt=1 (queue active)
> Apr 27 18:18:42 mail postfix/local[16755]: 5323C14110:
> to=<test-list@mail.test.com>, orig_to=<test-list>, relay=local, delay=0,
> st
> atus=sent (forwarded as 58A6414111)
> Apr 27 18:18:42 mail postfix/qmgr[16648]: 5323C14110: removed
> Apr 27 18:18:42 mail postfix/local[16750]: 2D3A914104:
> to=<test@mail.test.com>, orig_to=<test@test.com>, relay=local, delay=0,
>  status=sent (delivered to command:  /usr/local/majordomo/wrapper resend
> -l test test-list)
> Apr 27 18:18:42 mail postfix/qmgr[16648]: 2D3A914104: removed
> Apr 27 18:18:43 mail postfix/smtp[16680]: 58A6414111:
> to=<new@seznam.cz>, orig_to=<test-list>,
> relay=mx1.seznam.cz[194.228.32.4
> 4], delay=1, status=sent (250 ok 1146154721 qp 5090) 
> 
> Why frst is eveluated owner-test@test.com and then he send mail to
> test@test.com ?
> Is it correct ?
> 
> Thanks 
> 
> pet




References:
Indexed By Date Previous: Re: Problem forwarding the bounced emails in MIME format
From: Daniel Liston <dliston@sonny.org>
Next: Re: majordomo 1.94.5 and majorcool 1.3.2 on RHEL
From: Daniel Liston <dliston@sonny.org>
Indexed By Thread Previous: Re: Problem with aliases
From: Ed Kasky <ed@esson.net>
Next: Re: Problem with aliases
From: "Jevos, Peter" <Peter.Jevos@Oriflame-SW.Com>

Google
 
Search Internet Search www.greatcircle.com