[Mailman-Users] Problem migration mailman

Ricardo Barbosa ricardobarbosams at yahoo.com.br
Thu Mar 25 20:30:08 CET 2010


following my main.cf file server in production

------------------- main.cf --------------------------
myorigin = /etc/mailname
  myhostname = mail.dominio.com
  mydestination = localhost, localhost.localdomain, mail.dominio.com, dominio.com
  best_mx_transport = virtual
  relayhost = 
  mynetworks = 127.0.0.0/8, 192.168.0.0/16 10.1.4.0/24
  
  smtpd_banner = $myhostname ESMTP $mail_name
  bounce_template_file = /etc/postfix/bounce.cf
  biff = no
  append_dot_mydomain = no
  smtpd_use_tls = no
  inet_interfaces = all
  alias_maps = hash:/var/lib/mailman/data/aliases
  alias_database =
  
  # Para mailman
  owner_request_special = no
  
  virtual_alias_domains = 
  virtual_alias_maps =     proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf,
              mysql:/etc/postfix/mysql-virtual_email2email.cf,
              hash:/var/lib/mailman/data/virtual-mailman
  virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
  virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
  transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
  virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
  virtual_mailbox_base = /mnt/maildir
  virtual_uid_maps = static:1000
  virtual_gid_maps = static:1000
  virtual_create_maildirsize = yes
  virtual_mailbox_extended = yes
  virtual_mailbox_limit_override = yes
  virtual_mailbox_limit_inbox = yes
  virtual_mailbox_lock = fcntl, dotlock
  virtual_maildir_limit_message = "Caixa de e-mail lotada."
  virtual_overquota_bounce = yes
    
  home_mailbox = Maildir/
  message_size_limit =5000000
  recipient_delimiter = +
  maildrop_destination_recipient_limit = 1
  smtpd_sasl_local_domain = $mydomain
  smtpd_sasl_auth_enable = yes
  broken_sasl_auth_clients = yes
  
  smtp_destination_recipient_limit = 100
  
  smtpd_recipient_restrictions =    permit_mynetworks, 
                  permit_sasl_authenticated,
                  permit
  
  smtp_generic_maps = hash:/etc/postfix/generic


--------------- mm_cfg.py ----------------------------
"""This is the module which takes your site-specific settings.
>From a raw distribution it should be copied to mm_cfg.py.  If you
already have an mm_cfg.py, be careful to add in only the new settings
you want.  The complete set of distributed defaults, with annotation,
are in ./Defaults.  In mm_cfg, override only those you want to
change, after the
  from Defaults import *
line (see below).
Note that these are just default settings - many can be overridden via the
admin and user interfaces on a per-list or per-user basis.
Note also that some of the settings are resolved against the active list
setting by using the value as a format string against the
list-instance-object's dictionary - see the distributed value of
DEFAULT_MSG_FOOTER for an example."""
from Defaults import *
MAILMAN_SITE_LIST = 'mailman'
DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/'
PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private'
IMAGE_LOGOS         = '/images/mailman/'
DEFAULT_EMAIL_HOST = 'dominio.com'
DEFAULT_URL_HOST   = 'mail.dominio.com'
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
DEFAULT_SERVER_LANGUAGE = 'pt_BR'
USE_ENVELOPE_SENDER    = 0              # Still used?
DEFAULT_SEND_REMINDERS = 0
MTA='Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['dominio.com']
OWNERS_CAN_DELETE_THEIR_OWN_LISTS = Yes
DEFAULT_ARCHIVE = Off


Att.



      ____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com


More information about the Mailman-Users mailing list