Re: [Mailman-Users] 554 5.7.1 Relay access denied from outside, mailman or postfix ?

2013-09-23 Thread renaud courvoisier

Ok, that was just that.
Thanks !!


On 24/09/2013 02:39, Stephen J. Turnbull wrote:

renaud courvoisier writes:
  > Hi,
  >
  > I'm encountering a problem on postfix with mailman and only with it :
  > sending a message from a domain outside my server cause a 554 5.7.1
  > "Relay access denied" error.
  > I do not have this error with messages directly sent to postfix.

This is a postfix issue, not Mailman.  I am assuming that mailman is
running on the host you want to serve "listes.mydomain2.tld" from.
You probably just need to specify "listes.mydomain2.tld" in the
mydestination parameter of main.cf (on my system that file is in
/etc/postfix/main.cf, YMMV).

You may want to wait for a more authoritative reply from somebody who
knows more about Postfix (for historical reasons I mostly use Exim),
or ask on Postfix channels.




--
Renaud Courvoisier
Responsable Informatique & RĂ©seau ESAAIX
Rue Emile Tavan, 13100 Aix-en-Provence

--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

[Mailman-Users] Finding, Removing and Baning people

2013-09-23 Thread Stephen J. Turnbull
David Andrews writes:

 > Are there scripts out there to do this stuff, or what is the best
 > way?

Scripts by Mark[tm] are the best way. :-)

 > Maybe some new elements for the web UI in Mailman3?

In Mailman 3, addresses are associated with separate user objects,
which know which addresses they own and in turn which lists are
subscribed.  At present there is no pleasant way to do the task you
describe from the web UI, but Mailman 3 will make it much easier to do
that kind of task.
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] 554 5.7.1 Relay access denied from outside, mailman or postfix ?

2013-09-23 Thread Stephen J. Turnbull
renaud courvoisier writes:
 > Hi,
 > 
 > I'm encountering a problem on postfix with mailman and only with it :
 > sending a message from a domain outside my server cause a 554 5.7.1 
 > "Relay access denied" error.
 > I do not have this error with messages directly sent to postfix.

This is a postfix issue, not Mailman.  I am assuming that mailman is
running on the host you want to serve "listes.mydomain2.tld" from.
You probably just need to specify "listes.mydomain2.tld" in the
mydestination parameter of main.cf (on my system that file is in
/etc/postfix/main.cf, YMMV).

You may want to wait for a more authoritative reply from somebody who
knows more about Postfix (for historical reasons I mostly use Exim),
or ask on Postfix channels.

--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] 554 5.7.1 Relay access denied from outside, mailman or postfix ?

2013-09-23 Thread renaud courvoisier

Hi,

I'm encountering a problem on postfix with mailman and only with it :
sending a message from a domain outside my server cause a 554 5.7.1 
"Relay access denied" error.

I do not have this error with messages directly sent to postfix.

I don't see how to fix it, and forums' messages didn't help...

In example, aaa...@adomainname.tld sending mail to 
mail...@listes.mydomain2.tld don't work (and the log is really short) :
/2013-09-23T15:09:32.200535+02:00 serverName postfix/smtpd[1]: 
connect from 6.mo5.mail-out.ovh.net[178.32.119.138]
2013-09-23T15:09:32.212320+02:00 serverName postfix/smtpd[1]: 
NOQUEUE: reject: RCPT from 6.mo5.mail-out.ovh.net[178.32.119.138]: 554 
5.7.1 : Relay access denied; 
from= to= 
proto=ESMTP helo=
2013-09-23T15:09:32.237881+02:00 serverName postfix/smtpd[1]: 
disconnect from 6.mo5.mail-out.ovh.net[178.32.119.138]/


But aaa...@adomainname.tld sending mail to bbb...@mydomain.tld works :
/2013-09-23T15:33:33.802619+02:00 serverName postfix/smtpd[18555]: 
connect from 13.mo5.mail-out.ovh.net[87.98.182.191]
2013-09-23T15:33:33.818030+02:00 serverName postgrey[19316]: 
2013/09/23-15:33:33 CONNECT TCP Peer: "127.0.0.1:52567" Local: 
"127.0.0.1:10023"#012
2013-09-23T15:33:33.818466+02:00 serverName postgrey[19316]: 
action=pass, reason=client whitelist, 
client_name=13.mo5.mail-out.ovh.net, client_address=87.98.182.191, 
sender=aaa...@adomainname.tld, recipient=bbb...@mydomain2.tld
2013-09-23T15:33:33.868874+02:00 serverName postfix/smtpd[18555]: 
CFFCF40CA1: client=13.mo5.mail-out.ovh.net[87.98.182.191]
2013-09-23T15:33:33.869833+02:00 serverName postfix/cleanup[18609]: 
CFFCF40CA1: message-id=<52404319.2010...@adomainname.tld>
2013-09-23T15:33:33.919217+02:00 serverName postfix/smtpd[18555]: 
disconnect from 13.mo5.mail-out.ovh.net[87.98.182.191]
2013-09-23T15:33:33.952553+02:00 serverName postfix/qmgr[19238]: 
CFFCF40CA1: from=, size=1773, nrcpt=1 (queue active)
2013-09-23T15:33:35.329837+02:00 serverName postfix/smtpd[18613]: 
connect from localhost.localdomain[127.0.0.1]
2013-09-23T15:33:35.369716+02:00 serverName postfix/smtpd[18613]: 
5621A416E4: client=localhost.localdomain[127.0.0.1]
2013-09-23T15:33:35.371378+02:00 serverName postfix/cleanup[18609]: 
5621A416E4: message-id=<52404319.2010...@adomainname.tld>
2013-09-23T15:33:35.419960+02:00 serverName postfix/smtpd[18613]: 
disconnect from localhost.localdomain[127.0.0.1]
2013-09-23T15:33:35.426334+02:00 serverName amavis[10989]: (10989-10) 
Passed CLEAN, [87.98.182.191] [213.186.33.50]  
-> , Message-ID: 
<52404319.2010...@adomainname.tld>, mail_id: HI7ZU1BVElzF, Hits: -0.001, 
size: 1771, queued_as: 5621A416E4, 1466 ms
2013-09-23T15:33:35.428068+02:00 serverName postfix/smtp[18610]: 
CFFCF40CA1: to=, relay=127.0.0.1[127.0.0.1]:10024, 
delay=1.6, delays=0.14/0.01/0/1.5, dsn=2.0.0, status=sent (250 2.0.0 Ok, 
id=10989-10, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 
5621A416E4)
2013-09-23T15:33:35.453549+02:00 serverName postfix/qmgr[19238]: 
5621A416E4: from=, size=2227, nrcpt=1 (queue active)
2013-09-23T15:33:35.487164+02:00 serverName postfix/qmgr[19238]: 
CFFCF40CA1: removed
2013-09-23T15:33:35.639855+02:00 serverName postfix/pipe[18615]: 
5621A416E4: to=, relay=dovecot, delay=0.31, 
delays=0.12/0.04/0/0.15, dsn=2.0.0, status=sent (delivered via dovecot 
service)
2013-09-23T15:33:35.695823+02:00 serverName postfix/qmgr[19238]: 
5621A416E4: removed



/And here is the log of ccc...@mydomain1.tld sending a message to 
mail...@listes.mydomain2.tld :/
2013-09-23T15:42:09.215473+02:00 serverName postfix/smtpd[20658]: 
connect from myFAI[myIP]
2013-09-23T15:42:09.594357+02:00 serverName postfix/smtpd[20658]: 
8CF8F40CA1: client=myFAI[myIP], sasl_method=PLAIN, 
sasl_username=ccc...@mydomain1.tld
2013-09-23T15:42:09.667615+02:00 serverName postfix/cleanup[20666]: 
8CF8F40CA1: message-id=<52404522@mydomain1.tld>
2013-09-23T15:42:09.752959+02:00 serverName postfix/qmgr[19238]: 
8CF8F40CA1: from=, size=627, nrcpt=1 (queue active)
2013-09-23T15:42:09.794108+02:00 serverName postfix/smtpd[20658]: 
disconnect from myFAI[myIP]
2013-09-23T15:42:10.114724+02:00 serverName postfix/smtpd[20671]: 
connect from localhost.localdomain[127.0.0.1]
2013-09-23T15:42:10.153558+02:00 serverName postfix/smtpd[20671]: 
215CA41798: client=localhost.localdomain[127.0.0.1]
2013-09-23T15:42:10.155397+02:00 serverName postfix/cleanup[20666]: 
215CA41798: message-id=<52404522@mydomain1.tld>
2013-09-23T15:42:10.260822+02:00 serverName amavis[10889]: (10889-13) 
Passed CLEAN, [myIP] [myIP]  -> 
, Message-ID: 
<52404522@mydomain1.tld>, mail_id: IfvI-bMGsfH3, Hits: -1, size: 
627, queued_as: 215CA41798, 501 ms
2013-09-23T15:42:10.262625+02:00 serverName postfix/smtp[20668]: 
8CF8F40CA1: to=, 
relay=127.0.0.1[127.0.0.1]:10024, delay=0.75, delays=0.24/0.01/0/0.5, 
dsn=2.0.0, status=sent (250 2.0.0 Ok, id=10889-13, from 
MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 215CA41798)
2013-09-23T15:42:10.287447+02:00 serverName postfi

Re: [Mailman-Users] Finding, Removing and Baning people

2013-09-23 Thread Mark Sapiro
On 09/23/2013 01:22 PM, David Andrews wrote:
> I
> need to occasionally do one of three tasks, possibly all 3 at once, find
> out what lists a given person belongs to,


bin/find_member


> remove him/her from all those
> lists,


bin/remove_members --fromall


> and place his/her e-mail address in the ban-list for all lists on
> the server.




The first two are standard Mailman command line tools, see
. The last is a withlist script with a
docstring explaining its usage.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Finding, Removing and Baning people

2013-09-23 Thread David Andrews
Our server has over 215 lists on it -- and people belong to multiple 
lists and it is of course impossible to know who is on what list.  I 
need to occasionally do one of three tasks, possibly all 3 at once, 
find out what lists a given person belongs to, remove him/her from 
all those lists, and place his/her e-mail address in the ban-list for 
all lists on the server.  Are there scripts out there to do this 
stuff, or what is the best way?  Maybe some new elements for the web 
UI in Mailman3?


Dave

--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org