Mailinglist Archive: opensuse (818 mails)
| < Previous | Next > |
Re: [opensuse] Re: postfix+mailman configuration problem
- From: "J. Bakshi" <joydeep@xxxxxxxxxxxxxxx>
- Date: Fri, 2 Sep 2011 18:43:30 +0530
- Message-id: <20110902184330.2581e7b3@shiva.selfip.org>
On Fri, 2 Sep 2011 14:50:55 +0200
Marcus Meissner <meissner@xxxxxxx> wrote:
I have done as you suggest. Now only /var/lib/mailman/data/aliases
has the mapping. But the still the same issue !!! Obviously I have
restarted postfix and mailman.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
Marcus Meissner <meissner@xxxxxxx> wrote:
On Fri, Sep 02, 2011 at 06:16:01PM +0530, J. Bakshi wrote:
On Fri, 2 Sep 2011 17:16:32 +0530
"J. Bakshi" <joydeep@xxxxxxxxxxxxxxx> wrote:
Hello,
This is opeensuse 11.4
This is an operational mail server supporting multidomain and based
on postfix+dovecot+mysql. The virtual domain related config at main.cf
is as below
[....]
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
#########################################
## virtual domain setting
#########################################
virtual_alias_domains = hash:/etc/postfix/virtual
virtual_alias_maps =
mysql:/etc/postfix/mysql-virtual-alias-maps.cf,mysql:/etc/postfix/mysql-email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_domains =
mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
virtual_uid_maps = static:5000
[....]
``````````````
I have installed mailman here and to support virtual domain also have
the following at /usr/lib/mailman/Mailman/mm_cfg.py
[....]
DEFAULT_URL_PATTERN = 'http://%s/mailman/'
DEFAULT_EMAIL_HOST = 'list.mydomain.com'
DEFAULT_URL_HOST = 'list.mydomain.com'
MTA = 'Postfix'
POSTFIX_ALIAS_CMD = '/usr/sbin/postalias'
POSTFIX_MAP_CMD = '/usr/sbin/postmap'
DELIVERY_MODULE = 'SMTPDirect'
SMTPPORT = '25'
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['list.infoservices.in']
IMAGE_LOGOS = '/mailmanicons/'
[....]
after reloading postfix and mailman I have created a list and also
copy paste the suggested aliases at /etc/aliases and executed "newalias"
command.
If I send a request to <listname>-request@xxxxxxxxxxxxxxxxx I get an
error from
postfix as
` ` ` `
Recipient address rejected: User unknown in virtual mailbox table
` ` ` `
Do I need to create all such an account required by mailman?
I am confused...... any clue is very much welcome.
TIA
and if I add <list>.mydomain.com at mydestination of main.cf I have no
problem
to send mail ( Don't know if adding it to mydestination is wrong or right).
But a new error now
``````````````
Command died with status 2:
"/usr/lib/mailman/mail/mailman request typo3". Command output: Failure
to
exec script. WANTED gid 67, GOT gid 65533.
``````````
I had this one too, and it puzzled me forever.
You need to call the mailman wrappers from the mailman specific alias file,
/var/lib/mailman/data/aliases and NOT from the global /etc/aliases!
So paste the mailman snippet into /var/lib/mailman/data/aliases and remove
it from /etc/aliases.
Ciao, Marcus
I have done as you suggest. Now only /var/lib/mailman/data/aliases
has the mapping. But the still the same issue !!! Obviously I have
restarted postfix and mailman.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |