Re: [Mailman-Users] Server skips Mailman - more II

2009-12-07 Thread alexander

Had you used one of the RFC 2606 recommended domains such as
example.com or .invalid, I would have known they were examples only.


Ok, ok, lesson learned.

Whata shame...

Sorry!

[]s
Alexander
Brazil


This message was sent using IMP, the Internet Messaging Program.

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Server skips Mailman - more II

2009-12-07 Thread Mark Sapiro
alexan...@nautae.eti.br wrote:
>
>Sorry, I haven't said that the domain 'contact.enterprise.com' is only  
>an example in this message.


Had you used one of the RFC 2606 recommended domains such as
example.com or .invalid, I would have known they were examples only.

-- 
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
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Server skips Mailman - more II

2009-12-07 Thread LuKreme
On 7-Dec-2009, at 09:33, alexan...@nautae.eti.br wrote:
> I have a contact.enterprise.com subdomain.

Please don't use real (or even potentially real) domains when you are trying to 
obfuscate your own domains. You have three, and ONLY three choices:

1) Use the real domains. In most cases, this is a good choice as it allow 
people to do things like check your DNS, your rDNS, etc.

2) Use example.com example.org or example.net

3) use a made up domain ending in a made-up non-existing tld. For example, I 
would have said

> I have a contract.enterprise.tld subdomain.


tld stands for top-level domain and is not a valid tld. If you go with #3 you 
have to be POSITIVE that the tld you use is not used, potentially used, or 
under review to be added. .xxx is a terrible choice for these reasons. .tld 
.moc .example are all reasonable choices

In the example you gave, enterprise.com is a domain name for Enterprise Rent a 
Car.

-- 
I believe you can joke about anything. -- George Carlin

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Server skips Mailman - more II

2009-12-07 Thread alexander

Mailman is not a DNS server. It doesn't 'resolve' domains.


Yes, I know.



I have a MX record in enterprise.com DNS server pointing to
contact.enterprise.com.

Not that I can see?


My God!

Sorry, I haven't said that the domain 'contact.enterprise.com' is only  
an example in this message.


The real stuff is contato.edem.g12.br

[]s
Alexander
Brazil


This message was sent using IMP, the Internet Messaging Program.

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Server skips Mailman - more II

2009-12-07 Thread Mark Sapiro
alexan...@nautae.eti.br wrote:
>
>I'm not sure if it makes any difference, but... mailman should resolve  
>a subdomain.


Mailman is not a DNS server. It doesn't 'resolve' domains.


>I have a contact.enterprise.com subdomain.
>
>And I don't have any list.contact.enterprise.com.


Actually, even the name server at ns1.enterprise.com has no A or MX
records for either domain, contact.enterprise.com or
lists.contact.enterprise.com.

That raises the issue of how external mail even gets far enough to get
a "Recipient address rejected: User unknown in virtual mailbox table"
error.


>I mean, Mailman should resolve directly the contact.enterprise.com
>
>I have a MX record in enterprise.com DNS server pointing to  
>contact.enterprise.com.


Not that I can see?

dig mx contact.enterprise.com @ns1.enterprise.com

; <<>> DiG 9.3.3rc2 <<>> mx contact.enterprise.com @ns1.enterprise.com
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 45783
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;contact.enterprise.com.IN  MX

;; AUTHORITY SECTION:
enterprise.com. 14400   IN  SOA ns1.enterprise.com.
dnsadmin.ent
erprise.com. 2009111900 3600 1800 2592000 14400

;; Query time: 70 msec
;; SERVER: 65.197.19.32#53(65.197.19.32)
;; WHEN: Mon Dec  7 09:11:



>And 'contact' machine is where the postfix/mailman is installed.
>
>I still stuck on "User unknown in virtual mailbox table".
>
>And I can't imagine why this error doesn't happen when I'm using an  
>account (even from another domain) hosted at the same  
>server/machine/postfix.


If I send mail to local_addr...@lists.contact.enterprise.com, there
MUST be an MX or an A record in DNS for lists.contact.enterprise.com,
or my MTA doesn't know where to attempt to deliver that mail. It
doesn't 'fall back' to contact.enterprise.com or enterprise.com; it
just gives up. All this has to work before the message will even get
to the server that Mailman is running on.

If the Mailman/Postfix server is contact.enterprise.com, you need an A
record for contact.enterprise.com and an MX record for
lists.contact.enterprise.com giving contact.enterprise.com as the
target. Otherwise, the mail will never get to your server.
Alternatively, you can have just an A record for
lists.contact.enterprise.com giving the IP address of the server.

You don't appear to have any of these DNS records.

-- 
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
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Server skips Mailman - more

2009-12-07 Thread Mark Sapiro
alexan...@nautae.eti.br wrote:
>
>I'm using postfix-to-mailman script.



postfix_to_mailman.py is user contributed software which is
'officially' not supported by the GNU Mailman project. Why are you
using it? If you are using it because that's the way your
Debian/Ubuntu/other package installed Mailman, you should be talking
to Debian/Ubuntu/other.

Also, there are Postfix lists for Postfix support. See
.




>And I have my domain in 'add_virtualhost' variable (in the mm_cfg.py file).


This is not going to make any difference to
Postfix/postfix_to_mailman.py.


>I've noticed now that there is a 'virtual-mailman' file at  
>/etc/mailman, but I think it's useless because I'm using  
>postfix-to-mailman.


Whether or not it's used depends on what you've put in Postfix's
main.cf.


My best guess in the dark here is you have MTA='Postfix' in mm_cfg.py
so Mailman is generating list aliases in it's data/aliases file and
you are referencing that file in alias_maps in Postfix main.cf. And,
delivery from local senders is working because it is using these
aliases, not postfix_to_mailman.py.

Then, something is not configured correctly for postfix_to_mailman so
it isn't working, and that's why mail from outside to your (virtual)
lists domain isn't working.

See the documentation at the beginning of the postfix_to_mailman.py
script on how to configure Postfix, or do as Andrew suggests in his
reply and set up the recommended Mailman/Postfix integration and don't
use postfix_to_mailman.py.

And if you wan't further help here or from postfix lists, post the
output from postconf -n and your master.cf changes.

-- 
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
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Server skips Mailman - more

2009-12-07 Thread Andrew Hodgson
alexan...@nautae.eti.br wrote:

>I'm using postfix-to-mailman script.

I had a lot of problems with this and Postfix thinking the users were not known 
on the domain, causing 5XX bounces.  I think the reason for this is that 
Postfix does the recipient lookup at the SMTP stage, and doesn't run this 
script at this time, thus the alias never expands.

I followed the document at:

http://www.gnu.org/software/mailman/mailman-install/node13.html

Look at the virtual domains section (I didn't initialy use this on Postfix 
because I only hosted lists at the one domain, and so didn't need multi-domain 
hosting).

Thanks.
Andrew.
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org