[Mailman-Users] Mailman and / or Postfix problem

jovino at uerj.br jovino at uerj.br
Sat May 25 02:19:59 CEST 2013




 

	Hello,

	 

	 

	            I am not sure
if sending below question to this discussion
list is the best way to resolve a problem that we are are getting in
our

	      

	      university. Otherwise, please, send me a better way
to relate  this problem. 

	 

	 

	            Here, in  University of
Rio de Janeiro State  (Universidade do Estado do Rio de Janeiro -
UERJ),   we are trying to 

	 

	      migrate a Mailman Server   2.1.9  with
Postfix Server  2.3.3    to a newer  computer with
Postfix    2.6.6

	 

	      and Mailman 2.1.12 ,  registered as
e-listas2.uerj.br   in  DNS.  We do not have any
problems with the first (old) system and it is running ok.

	 

	 

	           At the second system we
have installed and configurated Mailman and Postfix. Also, we
have created a test list (dit-so at e-listas2.uerj.br)

	 

	    and everything seems ok, according web
interface administration of Mailman.

	 

	     Files in /var/lib/mailman seems ok, too.

	 

	 

	             The problem is that
when I am trying to post a mail from E-mail server (which
runs in a separated  server) to the list that  

	 

	   we have created ,  it is logged in the /var/log/maillog
of the new lists server (Mailman 2.1.12) the following
messages:

	 

	 

	      May 23 21:33:12 e-listas2 postfix/smtpd[1918]:
connect from master.uerj.br[152.92.1.9]       (our E-mail
Server)

	 

	      May 23 21:33:12 e-listas2 postfix/smtpd[1918]:
B734CDF713: client=master.uerj.br[152.92.1.9]

	 

	      May 23 21:33:12 e-listas2 postfix/cleanup[1921]:
B734CDF713:
message-id=<0e0fb214e9b853dc75424da0890f918a.squirrel at master.uerj.br>

	 

	      May 23 21:33:12 e-listas2 postfix/qmgr[1761]:
B734CDF713: from=<jovino at uerj.br>, size=1409, nrcpt=1 (queue
active)

	 

	      May 23 21:33:12 e-listas2 postfix/smtpd[1918]:
disconnect from master.uerj.br[152.92.1.9]

	 

	      May 23 21:33:12 e-listas2 postfix/local[1922]:
B734CDF713: to=<dit-so at e-listas2.uerj.br>, relay=local, delay=0.23,
delays=0.03/0.03/0/0.17, dsn=2.0.0, status=sent (delivered to command:
/usr/lib/mailman/mail/mailman post dit-so)

	 

	      May 23 21:33:12 e-listas2 postfix/qmgr[1761]:
B734CDF713: removed

	 

	      May 23 21:33:13 e-listas2 postfix/smtpd[1918]:
connect from localhost[::1]

	 

	      May 23 21:33:13 e-listas2 postfix/smtpd[1918]:
NOQUEUE: reject: RCPT from localhost[::1]: 554 5.7.1
<mselecto at uerj.br>: Relay access denied;
from=<dit-so-bounces at e-listas2.uerj.br> to=<mselecto at uerj.br>
proto=ESMTP helo=<e-listas2.uerj.br>

	 

	      May 23 21:33:13 e-listas2 postfix/smtpd[1918]:
NOQUEUE: reject: RCPT from localhost[::1]: 554 5.7.1
<jovino at uerj.br>: Relay access denied;
from=<dit-so-bounces at e-listas2.uerj.br> to=<jovino at uerj.br>
proto=ESMTP helo=<e-listas2.uerj.br>

	 

	      May 23 21:33:13 e-listas2 postfix/smtpd[1918]:
disconnect from localhost[::1]

	 

	 

	      I think we have already exhausted our knowledge
about these softwares.

	     

	 

	      Configuration files   /etc/mailman/mm_cc.py
  and    /etc/postfix/main.cf follow:

	 

	 

	======================================================================================

	 

	      mm_cc.py

	      ========

	 

	 

	      # Copyright (C) 1998,1999,2000,2001,2002 by the Free
Software Foundation, Inc.

	 

	 

	      from Defaults import *

	      import pwd, grp

	 

	                   
    

	      MAILMAN_UID = pwd.getpwnam('mailman')[2]

	 

	      MAILMAN_GID = grp.getgrnam('mailman')[2]

	 

	      from socket import *

	      try:

	          fqdn = getfqdn()

	          except:

	          fqdn =
'mm_cfg_has_unknown_host_domains'

	 

	      DEFAULT_URL_HOST   = 'e-listas2.uerj.br'

	      DEFAULT_EMAIL_HOST = 'e-listas2.uerj.br'

	 

	      DEFAULT_URL_PATTERN = 'https://%s/mailman'

	      PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private'

	 

	      add_virtualhost(DEFAULT_URL_HOST,
DEFAULT_EMAIL_HOST)

	 

	      MTA = 'Postfix'

	 

	=========================================================================================

	 

	      conf.cf

	      =======

	 

	      myhostname = e-listas2.uerj.br

	 

	      mydomain = e-listas2.uerj.br

	 

	      myorigin = $mydomain

	 

	      inet_interfaces = all

	 

	      mydestination = $myhostname, localhost.$mydomain,
localhost, $mydomain

	 

	      mynetworks = 127.0.0.1/32 152.92.1.9

	 

	      relay_domains =

	 

	      home_mailbox = Mailbox

	 

	      queue_directory = /var/spool/postfix

	 

	      command_directory = /usr/sbin

	 

	      daemon_directory = /usr/libexec/postfix

	 

	      debug_peer_level = 2

	 

	      debugger_command =

	           
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin

	            ddd
$daemon_directory/$process_name $process_id & sleep 5

	 

	      sendmail_path = /usr/sbin/sendmail.postfix

	 

	      newaliases_path = /usr/bin/newaliases.postfix

	 

	      mailq_path = /usr/bin/mailq.postfix

	 

	      setgid_group = postdrop

	 

	      html_directory = no

	 

	      manpage_directory = /usr/share/man

	 

	      sample_directory =
/usr/share/doc/postfix-2.6.6/samples

	 

	      readme_directory =
/usr/share/doc/postfix-2.6.6/README_FILES

	 

	      unknown_local_recipient_reject_code = 550

	 

	      alias_maps =
hash:/etc/aliases,hash:/etc/mailman/aliases

	 

	      alias_database = hash:/etc/aliases

	 

	 

	 

	      Thanks a lot for any information.

	 

	 

	==============================

	Jovino de Vasconcelos Borret

	UERJ - DINFO - DIT

	 



More information about the Mailman-Users mailing list