connect to exchange server

Was anything ever developed to allow mailman to work with a microsoft exchange server ?
jeanne

On 12/17/08 14:48, Jeanne Ilchuk wrote:
Was anything ever developed to allow mailman to work with a microsoft exchange server?
Mailman (like any other SMTP speaking program) should be able to work with Exchange. Well, at least Mailman should be able to send email to Exchange via SMTP. You may have to do something interesting to get Exchange to send email for a specific (Mailman) address elsewhere to be able to interface with it.
You may have more luck finding something that will connect to a POP3 server (Exchange) and download messages and feed them in to Mailman.
Grant. . . .

On 12/17/08 15:07, Taylor, Grant wrote:
Mailman (like any other SMTP speaking program) should be able to work with Exchange. Well, at least Mailman should be able to send email to Exchange via SMTP. You may have to do something interesting to get Exchange to send email for a specific (Mailman) address elsewhere to be able to interface with it.
You may have more luck finding something that will connect to a POP3 server (Exchange) and download messages and feed them in to Mailman.
Are you running Mailman on the Exchange (or another Windows) server? If so, is it with in a Cygwin environment? Or are you running Mailman on a different unix box?
Either way (Cygwin or a different unix box) look in to fetchmail as it can download mail from a POP3 server (Exchange) and pass it in to a program via it's --mta command. As such, I think you could have fetchmail get email from Exchange via POP3 and then pass it in to Mailman directly (similar to how the mm-handler script for Sendmail works).
Then it would just be a matter of setting something up to call fetchmail periodically to download mail and pass it to Mailman.
Grant. . . .

On Wed, Dec 17, 2008 at 03:07:20PM -0600, Grant Taylor wrote:
On 12/17/08 14:48, Jeanne Ilchuk wrote:
Was anything ever developed to allow mailman to work with a microsoft exchange server?
Last time I looked at doing this, I ended up sub-domaining out (lists.example.org), and installing a *nix box, Exim, and Mailman for that subdom (plus appropriate DNS records).
Mailman (like any other SMTP speaking program) should be able to work with Exchange. Well, at least Mailman should be able to send email to Exchange via SMTP. You may have to do something interesting to get Exchange to send email for a specific (Mailman) address elsewhere to be able to interface with it.
I think I got as far as setting up ActivePython, and building Mailman, to give up at some point, and used a "proper" OS; that in mind, though, I'm not a Python fan, and knew it would take me <1 hour to have things operational on $OTHER-BOX.
You may have more luck finding something that will connect to a POP3 server (Exchange) and download messages and feed them in to Mailman.
I'd suggest using IMAPS over POP3, ymmv.
-- ``Electronic voting is one of those things like unguarded plutonium stores in Russia: people are only calm about it because they don't know about it. The rational, informed response would be to run around in circles, howling.'' (Harry Hutton, on the 2004 Venezuelan recall referendum)

On 12/17/08 15:32, Adam McGreggor wrote:
Last time I looked at doing this, I ended up sub-domaining out (lists.example.org), and installing a *nix box, Exim, and Mailman for that subdom (plus appropriate DNS records).
*nod* That is what I've done.
However this may not be the most appropriate thing to do in some installs, namely installs that have port 25 port forwarded through the firewall to the Exchange box. In this case, you can't port forward 25 to a different server. Thus you are left with having Exchange relay that domain and set up internal mail routing to relay messages to the internal Mailman box. (I'm fairly confident that Exchange can be made to relay for other domains but I've never done it, nor would I want to.)
Now on the other hand, the OP may find it advantageous to port forward port 25 to the Mailman box and run an MTA with better spam filtering and then have it relay the main domain back to Exchange. :) As a plus, you would not have IIS / Exchange exposed to the world via NAT port forwarding, which is ALWAYS a plus. :}
I think I got as far as setting up ActivePython, and building Mailman, to give up at some point, and used a "proper" OS; that in mind, though, I'm not a Python fan, and knew it would take me <1 hour to have things operational on $OTHER-BOX.
Yep. I am right there with you. Mailman is my only use for Python.
I'd suggest using IMAPS over POP3, ymmv.
Possibly. Though IMAP is meant for storing messages on the server where as POP3 is meant for queuing messages, which is more in line with what would be needed here. There is also the fact that one or the other protocol would have to be installed in Exchange. Most of the systems I've seen already have POP3 installed but would need to have IMAP installed. Thus you are possibly making more changes to Exchange and potentially aggravating an Exchange admin.
Grant. . . .

I was looking thru the archives and found this note from 2004 (below) which gave me the impression that it did not work with exchange. That being said, here are more of my details. I'm installing on a Solaris sparc (v10), which has a functioning Sendmail on it. I just found "Integrating Mailman with Sendmail" in the mailman docs, so I'm working with that. I ran the Makefile with these parms- $ ./configure --with-mail-gid=25 --with-cgi-gid=nobody --with-python=/usr/bin/ python --with-mailhost=mail --with-urlhost=mailman
Do I need to run again with cgi-gid=mailnull ? or can I just chgrp? --with-mailhost=mail is the hostname our exchange server
On the mailman server, I changed the mailhost to the hostname of the sun server where I installed mailman, then set up the apache server with a dedicated IP and dns entry mailman.
I'm kind of struggling here because I've been using ecartis MLM on an old FreeBSD server that IT is eliminating. At the same time we moved our mail from the freebsd server (postfix) to MS Exchange. I don't have a clue how the exchange server works. I'm accessing my own email using the WOA Light version, which would have to be imap with SMTP [I thought]. Is exchange a pop3 server ?
Thanks for all the speedy replies. I'll be back! -- Back to the drawing board -- suggestions welcome.
jeanne
At 3:22 AM -0400 2004-07-23, Luke Matthews wrote:
I couldn't seem to find anything on the site, but is it possible to install Mailman on a Linux box running RedHat 9 and use a MS Exchange Server for the mail server? I don't think that would work. But if you're installing a Linux box anyway, why not also install an MTA on it (sendmail, postfix, exim, whatever)? At that point, it doesn't really matter what mail server the recipients use.
From: mailman-users-bounces+ilchuk=wrlc.org@python.org On Behalf Of Grant Taylor [gtaylor@riverviewtech.net] Sent: Wednesday, December 17, 2008 16:37 To: Mail List - Mailman Subject: Re: [Mailman-Users] connect to exchange server
On 12/17/08 15:32, Adam McGreggor wrote:
Last time I looked at doing this, I ended up sub-domaining out (lists.example.org), and installing a *nix box, Exim, and Mailman for that subdom (plus appropriate DNS records).
*nod* That is what I've done.
However this may not be the most appropriate thing to do in some installs, namely installs that have port 25 port forwarded through the firewall to the Exchange box. In this case, you can't port forward 25 to a different server. Thus you are left with having Exchange relay that domain and set up internal mail routing to relay messages to the internal Mailman box. (I'm fairly confident that Exchange can be made to relay for other domains but I've never done it, nor would I want to.)
Now on the other hand, the OP may find it advantageous to port forward port 25 to the Mailman box and run an MTA with better spam filtering and then have it relay the main domain back to Exchange. :) As a plus, you would not have IIS / Exchange exposed to the world via NAT port forwarding, which is ALWAYS a plus. :}
I think I got as far as setting up ActivePython, and building Mailman, to give up at some point, and used a "proper" OS; that in mind, though, I'm not a Python fan, and knew it would take me <1 hour to have things operational on $OTHER-BOX.
Yep. I am right there with you. Mailman is my only use for Python.
I'd suggest using IMAPS over POP3, ymmv.
Possibly. Though IMAP is meant for storing messages on the server where as POP3 is meant for queuing messages, which is more in line with what would be needed here. There is also the fact that one or the other protocol would have to be installed in Exchange. Most of the systems I've seen already have POP3 installed but would need to have IMAP installed. Thus you are possibly making more changes to Exchange and potentially aggravating an Exchange admin.
Grant. . . .
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/ilchuk%40wrlc.org Security Policy: http://wiki.list.org/x/QIA9

Jeanne Ilchuk wrote:
I was looking thru the archives and found this note from 2004 (below) which gave me the impression that it did not work with exchange. That being said, here are more of my details. I'm installing on a Solaris sparc (v10), which has a functioning Sendmail on it. I just found "Integrating Mailman with Sendmail" in the mailman docs, so I'm working with that. I ran the Makefile with these parms- $ ./configure --with-mail-gid=25 --with-cgi-gid=nobody --with-python=/usr/bin/ python --with-mailhost=mail --with-urlhost=mailman
Is 25 the gid under which sendmail will invoke the mail wrapper?
--with-mailhost and --with-urlhost are fully qualified domain names for email and web respectively. e.g mail.example.com and mailman@example.com.
Do I need to run again with cgi-gid=mailnull ? or can I just chgrp?
You need to configure with --with-cgi-gid= whatever group apache will use when invoking Mailman's CGIs and no, you can't just chgrp unless by that you mean change the group that apache uses.
--with-mailhost=mail is the hostname our exchange server
and assuming you qualify it, this is the host that Mailman will use in list addresses, envelope senders, etc.
If it is possible, you could avoid a lot of pain by having incoming mail to Mailman go directly to sendmail at mailman.example.com, and skip exchange all together. The only reason this wouldn't work is if your network route all external port 25 connects to the exchange server.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Thanks, Mark. I'm on vac today but will find out if all email is sent to exchange (my guess is that it is because of prior problems with ecartis bounced messages). Sendmail doesn't have a user or group. /etc/group shows smmsp::25: I forgot where I found that information (to use 25)
I'll update you on my progress next week. I need to finish up by end of year. Thanks for the help.
jeanne
From: Mark Sapiro [mark@msapiro.net] Sent: Friday, December 19, 2008 10:42 To: Jeanne Ilchuk; Mail List - Mailman Subject: Re: [Mailman-Users] connect to exchange server
Jeanne Ilchuk wrote:
I was looking thru the archives and found this note from 2004 (below) which gave me the impression that it did not work with exchange. That being said, here are more of my details. I'm installing on a Solaris sparc (v10), which has a functioning Sendmail that sends job output etc to staff. I just found "Integrating Mailman with Sendmail" in the mailman docs, so I'm working with that. I ran the Makefile with these parms- $ ./configure --with-mail-gid=25 --with-cgi-gid=nobody --with-python=/usr/bin/ python --with-mailhost=mail --with-urlhost=mailman
Is 25 the gid under which sendmail will invoke the mail wrapper?
--with-mailhost and --with-urlhost are fully qualified domain names for email and web respectively. e.g mail.example.com and mailman@example.com.
Do I need to run again with cgi-gid=mailnull ? or can I just chgrp?
You need to configure with --with-cgi-gid= whatever group apache will use when invoking Mailman's CGIs and no, you can't just chgrp unless by that you mean change the group that apache uses.
--with-mailhost=mail is the hostname our exchange server
and assuming you qualify it, this is the host that Mailman will use in list addresses, envelope senders, etc.
If it is possible, you could avoid a lot of pain by having incoming mail to Mailman go directly to sendmail at mailman.example.com, and skip exchange all together. The only reason this wouldn't work is if your network route all external port 25 connects to the exchange server.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On 12/18/08 06:51, Jeanne Ilchuk wrote:
I was looking thru the archives and found this note from 2004 (below) which gave me the impression that it did not work with exchange.
I don't think that it is possible to integrate Mailman with Exchange like you can with Sendmail / Postfix / Qmail / etc. But that does not mean that it can not be made to work.
Do I need to run again with cgi-gid=mailnull ? or can I just chgrp?
I have no idea.
--with-mailhost=mail is the hostname our exchange server
*nod*
If I recall Solaris uses "mail" as sort of a ""magic host name as a place holder that everything uses and the system is set up so that the magic name of "mail" resolves to the actual mail server. Am I any where close?
On the mailman server, I changed the mailhost to the hostname of the sun server where I installed mailman, then set up the apache server with a dedicated IP and dns entry mailman.
Ok. (I think.)
I'm kind of struggling here because I've been using ecartis MLM on an old FreeBSD server that IT is eliminating. At the same time we moved our mail from the freebsd server (postfix) to MS Exchange. I don't have a clue how the exchange server works. I'm accessing my own email using the WOA Light version, which would have to be imap with SMTP [I thought]. Is exchange a pop3 server ?
Who is administering Exchange for you?
Exchange is /many/ things, including POP3, IMAP, SMTP, X.400, etc.
Thanks for all the speedy replies. I'll be back! -- Back to the drawing board -- suggestions welcome.
You did not say, do you want your mailing lists to be in the domain hosted by Exchange, or in a sub-domain that is hosted by the Solaris mail server?
Either way, you are going to have to configure Exchange to route some email to the Solaris mail server, be it individual mail boxes, or a sub-domain.
Also, what version of Exchange are you using?
Grant. . . .

Thanks, Grant. My email to the mailman list is taking a long time to get through. Would you mind doing a reply all ? I'm on vacation and will work on this next week. Needs to be up and running by the end of the year.
jeanne
You did not say, do you want your mailing lists to be in the domain hosted by Exchange, or in a sub-domain that is hosted by the Solaris mail server? The mailing lists will be on the mailman server [solaris]. I was as little contact as possible with the exchange server and the person running it.
Who is administering Exchange for you? The microsoft person.
Also, what version of Exchange are you using? version 8.1.240.0
Here is some other Exchange server info I get when I'm logged in.
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)
Outlook Web Access version: 8.1.311.2
Outlook Web Access host name: mail.wrlc.org
Exchange Client Access server .NET Framework version: 2.0.50727.1433
Client Access server operating system version: Microsoft Windows NT 5.2.3790 Service Pack 2
Microsoft Exchange Client Access server version: 8.1.240.0
Mailbox server name: w2k-exchange1.wrlc2k.wrlc.org
Mailbox server Microsoft Exchange version: 8.1.240.0
Other Microsoft Exchange server roles currently installed on the Client Access server:
Mailbox, Hub Transport
From: mailman-users-bounces+ilchuk=wrlc.org@python.org [mailman-users-bounces+ilchuk=wrlc.org@python.org] On Behalf Of Grant Taylor [gtaylor@riverviewtech.net] Sent: Friday, December 19, 2008 12:15 To: Mail List - Mailman Subject: Re: [Mailman-Users] connect to exchange server
On 12/18/08 06:51, Jeanne Ilchuk wrote:
I was looking thru the archives and found this note from 2004 (below) which gave me the impression that it did not work with exchange.
I don't think that it is possible to integrate Mailman with Exchange like you can with Sendmail / Postfix / Qmail / etc. But that does not mean that it can not be made to work.
Do I need to run again with cgi-gid=mailnull ? or can I just chgrp? I have no idea.
--with-mailhost=mail is the hostname our exchange server *nod*
If I recall Solaris uses "mail" as sort of a ""magic host name as a place holder that everything uses and the system is set up so that the magic name of "mail" resolves to the actual mail server. Am I any where close?
On the mailman server, I changed the mailhost to the hostname of the sun server where I installed mailman, then set up the apache server with a dedicated IP and dns entry mailman. Ok. (I think.)
I'm kind of struggling here because I've been using ecartis MLM on an old FreeBSD server that IT is eliminating. At the same time we moved our mail from the freebsd server (postfix) to MS Exchange. I don't have a clue how the exchange server works. I'm accessing my own email using the WOA Light version, which would have to be imap with SMTP [I thought]. Is exchange a pop3 server ? Exchange is /many/ things, including POP3, IMAP, SMTP, X.400, etc.
Thanks for all the speedy replies. I'll be back! -- Back to the drawing board -- suggestions welcome.
Either way, you are going to have to configure Exchange to route some email to the Solaris mail server, be it individual mail boxes, or a sub-domain.
Grant. . . .
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/ilchuk%40wrlc.org

On 12/19/2008 11:42 AM, Jeanne Ilchuk wrote:
Thanks, Grant. My email to the mailman list is taking a long time to get through. Would you mind doing a reply all ? I'm on vacation and will work on this next week. Needs to be up and running by the end of the year.
I've CCed you. I wonder why mail from the mailing list is taking so long.
The mailing lists will be on the mailman server [solaris]. I was as little contact as possible with the exchange server and the person running it.
Sounds like you will be happier having your mailing lists be in a sub-domain of their own rather than having to involve the Exchange admin every time you want to add or remove or rename a mailing list. Thus you will need to have a sub-domain routed to you by the Exchange server.
The microsoft person.
*nod*
You lucky ... person! You don't have to administer the Exchange system your self. Good for you.
version 8.1.240.0
I /think/ that is Exchange 2007, but I'm not sure. As such I won't be able to offer any insight on how to get Exchange to route a sub-domain to your Solaris Mailman server. So, you and your Exchange admin are on your own for that one.
I think I've been running on an assumption here based on the fact that you are trying to get things to work with Exchange. Will your (sub)domain for your mailing lists have to pass through Exchange or can you have MX records reference your Mailman server directly? What are you doing with the Ecartis MLM that is being replaced? I would think that mail for Mailman would be handled very similarly as Ecartis.
Grant. . . .
participants (4)
-
Adam McGreggor
-
Grant Taylor
-
Jeanne Ilchuk
-
Mark Sapiro