Re: [Mailman-Users] MailMan won't send list emails

2016-07-14 Thread Mark Sapiro
On 07/14/2016 04:47 PM, Caesar Samsi wrote:
> 
> Done the above and attempted to send to t...@yugi.us, results are weird:
> 
> RETURNED EMAIL:
> 
> This is the mail system at host mail.samsi.us.
> 
> I'm sorry to have to inform you that your message could not
> be delivered to one or more recipients. It's attached below.
> 
> For further assistance, please send mail to postmaster.
> 
> If you do so, please include this problem report. You can
> delete your own text from the attached returned message.
> 
>   The mail system
> 
> : Host or domain name not found. Name service error for name=mail
>type=: Host not found
> Reporting-MTA: dns; mail.samsi.us
> X-Postfix-Queue-ID: 03B813FFFD
> X-Postfix-Sender: rfc822; cae...@samsi.us
> Arrival-Date: Thu, 14 Jul 2016 16:39:29 -0700 (PDT)
> 
> Final-Recipient: rfc822; test@mail
> Original-Recipient: rfc822;t...@yugi.us
> Action: failed
> Status: 5.4.4
> Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error
>for name=mail type=: Host not found
> 
> From: Caesar Samsi 
> Date: July 14, 2016 at 4:39:25 PM PDT
> To: t...@yugi.us
> Subject: test
> 
> 
> test
> 
> POSTFIX LOG (not sure why yugi.us is converted to mail)

Possibly because virtual_alias_maps maps 't...@yugi.us' to 'test' and
postfix defaults append_at_myorigin to yes and myorigin in /etc/hostname
is 'mail'

You could try adding

VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'localhost'

in mm_cfg.py and running Mailman's 'bin/genaliases'. That may help.

-- 
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


Re: [Mailman-Users] MailMan won't send list emails

2016-07-14 Thread Mark Sapiro
On 07/14/2016 09:35 AM, Caesar Samsi wrote:
> yugi@us is currently a virtual mailbox. It can be removed though, should I?


Yes, and in Postfix main.cf, add

virtual_alias_domains = yugi.us

and ensure you have hash:/var/lib/mailman/data/aliases in alias_maps and
hash:/var/lib/mailman/data/virtual-mailman in virtual_alias_maps

and in mm_cfg.py

MTA = 'Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['yugi.us']

-- 
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


Re: [Mailman-Users] Problems with Mail Delivery

2016-07-14 Thread Mark Sapiro
On 07/14/2016 04:49 AM, Gines Granados Bayona wrote:
> I have two users , one local  and one external
> The two are different in multiple subdomain, one of them a local subdomain
> example.
> rancid.email.company.com email.company.com
> 
> 
> 
> In local in this case would be rancid.email.company.com, have registered
> this machine with this name and have made the installation mailman with
> postfix, and have observed the log, it tries to send email both local and
> external  domain account but do not get sent email.
> 
> User ginesgb  is a user of an external server email.company.com and the
> other user is local.


You have to teach Postfix on rancid.email.company.com to relay mail for
users not local on rancid.email.company.com to email.company.com. This
is a Postfix configuration issue beyond the scope of this list.

Alternatively, You can tell Mailman to deliver all outgoing mail to the
Postfix on email.company.com by setting

SMTPHOST = 'email.company.com'

in mm_cfg.py on the Mailman host.

One other thing is in the postconf -n you sent in the post I rejected
because of it's disclaimer language, you show

recipient_delimiter = -

There are various things in Mailman that want

recipient_delimiter = +

See  and
.

-- 
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


Re: [Mailman-Users] searchable archive options for cPanel server

2016-07-14 Thread David Andrews

At 02:30 PM 7/14/2016, Mark Sapiro wrote:

On 07/14/2016 12:07 PM, Jason Fayre wrote:
>
> We have a server running cPanel that hosts around 200 mailing lists. We
> really want to have searchable archives. If I install the mailman htdig
> patches, cPanel won't support us.


And what Mailman support do you currently get from cPanel that you'd be
giving up? Or do you mean that if you patch any piece, they won't
support anything including stuff you haven't touched?


He means all cPanel support, not just Mailman!



--
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


Re: [Mailman-Users] searchable archive options for cpanel server

2016-07-14 Thread Mark Sapiro
On 07/14/2016 12:07 PM, Jason Fayre wrote:
> 
> We have a server running cPanel that hosts around 200 mailing lists. We
> really want to have searchable archives. If I install the mailman htdig
> patches, cPanel won't support us.


And what Mailman support do you currently get from cPanel that you'd be
giving up? Or do you mean that if you patch any piece, they won't
support anything including stuff you haven't touched?


> Other than not using cPanel, what are other folks doing:? I know we have the
> option of using mailarchive.org, but we would like to keep the archives
> internal if possible.


If by 'internal' you mean private as opposed to public you are fairly
limited. For public archives, you can use the site: and inurl: Google
search options, e.g. add site:mail.python.org inurl:mailman-users to
your Google search terms to search this list. See
.

You can install local search engines such as htdig on your server
without the htdig integration patches. The search form would be a
non-Mailman web page rather than being integrated with Mailman's archive
pages, but you wouldn't need to patch Mailman.

-- 
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] searchable archive options for cpanel server

2016-07-14 Thread Jason Fayre
Hi,

I really wish I didn't need to ask this, but alas, I do.

We have a server running cPanel that hosts around 200 mailing lists. We
really want to have searchable archives. If I install the mailman htdig
patches, cPanel won't support us.

Other than not using cPanel, what are other folks doing:? I know we have the
option of using mailarchive.org, but we would like to keep the archives
internal if possible.

Any suggestions would be appreciated!

 

 

 

--
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] Problems with Mail Delivery

2016-07-14 Thread Gines Granados Bayona
Hello, good to everyone,  I sent the requested information and thanks very
much m...@msapiro.net.
I have two users , one local  and one external
The two are different in multiple subdomain, one of them a local subdomain
example.
rancid. email.company.com email.company.com



In local in this case would be rancid. email.company.com, have registered
this machine with this name and have made the installation mailman with
postfix, and have observed the log, it tries to send email both local and
external  domain account but do not get sent email.

User ginesgb  is a user of an external server email.company.com and the
other user is local.


I send you the information you are requesting me,  and plus a diagram,

Greeting and thank you very much
--
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


Re: [Mailman-Users] MailMan won't send list emails

2016-07-14 Thread Caesar Samsi
yugi@us is currently a virtual mailbox. It can be removed though, should I?

> On Jul 13, 2016, at 9:56 PM, Mark Sapiro  wrote:
> 
> On 07/13/2016 09:18 PM, Caesar Samsi wrote:
>> [including list]
>> 
>> The log for an inbound email to t...@yugi.us  list
>> 
>> Jul 13 20:48:09 mail postfix/smtpd[10666]: connect from macpro[192.168.1.253]
>> Jul 13 20:48:09 mail postfix/smtpd[10666]: Anonymous TLS connection 
>> established from macpro[192.168.1.253]: TLSv1 with cipher 
>> ECDHE-RSA-AES256-SHA (256/256 bits)
>> Jul 13 20:48:09 mail postfix/smtpd[10666]: E31B13FFF3: 
>> client=macpro[192.168.1.253], sasl_method=PLAIN, 
>> sasl_username=cae...@samsi.us
>> Jul 13 20:48:09 mail postfix/cleanup[10656]: E31B13FFF3: 
>> message-id=
>> Jul 13 20:48:09 mail postfix/qmgr[10476]: E31B13FFF3: 
>> from=, size=316, nrcpt=1 (queue active)
>> Jul 13 20:48:10 mail postfix/smtpd[10684]: connect from localhost[127.0.0.1]
>> Jul 13 20:48:11 mail postfix/smtpd[10684]: disconnect from 
>> localhost[127.0.0.1]
>> Jul 13 20:48:11 mail postfix/smtpd[10684]: connect from localhost[127.0.0.1]
>> Jul 13 20:48:11 mail postfix/smtpd[10684]: disconnect from 
>> localhost[127.0.0.1]
>> Jul 13 20:48:12 mail postfix/smtpd[10687]: connect from localhost[127.0.0.1]
>> Jul 13 20:48:12 mail postfix/smtpd[10687]: A44093FFF4: 
>> client=localhost[127.0.0.1]
>> Jul 13 20:48:12 mail postfix/cleanup[10656]: A44093FFF4: 
>> message-id=
>> Jul 13 20:48:12 mail postfix/qmgr[10476]: A44093FFF4: 
>> from=, size=933, nrcpt=1 (queue active)
>> Jul 13 20:48:12 mail amavis[9530]: (09530-14) Passed CLEAN 
>> {RelayedInternal}, LOCAL [192.168.1.253]:65462  -> 
>> , Queue-ID: E31B13FFF3, Message-ID: 
>> , mail_id: lnzQpKxIXYKy, 
>> Hits: -0.002, size: 316, queued_as: A44093FFF4, 2809 ms
>> Jul 13 20:48:12 mail postfix/smtp[10658]: E31B13FFF3: to=, 
>> relay=127.0.0.1[127.0.0.1]:10024, delay=2.9, delays=0.03/0.01/0.02/2.8, 
>> dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 
>> 2.0.0 Ok: queued as A44093FFF4)
>> Jul 13 20:48:12 mail postfix/qmgr[10476]: E31B13FFF3: removed
>> Jul 13 20:48:12 mail dovecot: lda(t...@yugi.us): 
>> msgid=: saved mail to INBOX
>> Jul 13 20:48:12 mail postfix/pipe[10664]: A44093FFF4: to=, 
>> relay=dovecot, delay=0.18, delays=0.03/0.01/0/0.14, dsn=2.0.0, status=sent 
>> (delivered via dovecot service)
>> Jul 13 20:48:12 mail postfix/qmgr[10476]: A44093FFF4: removed
> 
> 
> Dovecot delivery does not look at aliases.
> 
>> Postfix config:
>> 
> ...
>> virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf,
>> mysql:/etc/postfix/mysql_virtual_alias_domainaliases_maps.cf,
>> hash:/var/lib/mailman/data/virtual-mailman
> 
> Adding
> 
> virtual_alias_domains = yugi.us
> 
> may help if yugi.us is not a virtual_mailbox_domain, but it may not and
> if it does help, it may break delivery to non-mailman addresses @yugi.us.
> 
> If yugi.us is a virtual_mailbox_domain, i.e. is in
> mysql:/etc/postfix/mysql_virtual_domains_maps.cf and can't be removed,
> you may need to use the method at  to
> generate transport maps to the local: transport, or you could possibly
> use some other domain which is not a virtual_mailbox_domain for your
> list mail.
> 
> Note that all of this is because of using the Dovecot LDA as
> virtual_transport. The default Postfix virtual transport will use
> virtual_alias_maps for virtual_mailbox_domains.
> 
> 
>> virtual_gid_maps = static:8
>> virtual_mailbox_base = /var/vmail
>> virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
>> virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf,
>> mysql:/etc/postfix/mysql_virtual_mailbox_domainaliases_maps.cf
>> virtual_transport = dovecot
>> virtual_uid_maps = static:150
> 
> -- 
> 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