Unix Technical Forum

can I send mail from a linux box in an exchange world?

This is a discussion on can I send mail from a linux box in an exchange world? within the Linux Operating System forums, part of the Unix Operating Systems category; --> My company is a windows shop and they use exchange for their mail server. I have a couple of ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 07:36 AM
Larry Martell
 
Posts: n/a
Default can I send mail from a linux box in an exchange world?

My company is a windows shop and they use exchange for
their mail server. I have a couple of Linux boxes and I'd like to
be able to send mail from these boxes. Is there some way I can do
this? How do I configure postfix to successfully get the mail
out? Do I have to make postfix relay to exchange? Is that even
possible?


Thanks!
-larry

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 07:36 AM
Tony Lawrence
 
Posts: n/a
Default Re: can I send mail from a linux box in an exchange world?

Larry Martell wrote:
> My company is a windows shop and they use exchange for
> their mail server. I have a couple of Linux boxes and I'd like to
> be able to send mail from these boxes. Is there some way I can do
> this? How do I configure postfix to successfully get the mail
> out? Do I have to make postfix relay to exchange? Is that even
> possible?
>
>
> Thanks!
> -larry
>


Exchange accepts "normal" email - if it didn't, it wouldn't work very
well with the Internet, would it?

You may have to configure Exchange to allow your server to transfer SMTP
mail. That's under Organization\Site\Configuration\Connections\Intern et
Mail Service (or was the last time I looked at Exchange). Double-click
or choose "Properties" from the top menus. You'll be at the "Internet
Mail" tab, and under "Connections" you'll find a button for "Accept
Connections". It may already be set to accept anything from anyone, but
if not, you have had to give explicit permission for your server to use
SMTP with Exchange.

I have an article at http://aplawrence.com/Unixart/exchange.html about
setting up an old SCO MMDF system (uucp based) to use Exchange; although
obviously unrelated to the Linux side of things, it does have some
details about debugging Exchange that you might find helpul.

--
Tony Lawrence
Unix/Linux/Mac OS X resources: http://aplawrence.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 07:36 AM
Alan Connor
 
Posts: n/a
Default Re: can I send mail from a linux box in an exchange world?

On comp.os.linux.misc, in
<1116105615.481743.93300@o13g2000cwo.googlegroups. com>, "Larry
Martell" wrote:

> My company is a windows shop and they use exchange for their
> mail server. I have a couple of Linux boxes and I'd like to be
> able to send mail from these boxes. Is there some way I can do
> this? How do I configure postfix to successfully get the mail
> out? Do I have to make postfix relay to exchange? Is that even
> possible?


You can probably just send the mail there. Email is email. (if
the ms server will accept mail from your interfaces, that is).

However, it's generally easier to use a simple SMTP utility like
ssmtp for a job like this, rather than a full-featured MTA like
postfix.

But if you know postfix, use it.

It's the ms server that will be relaying, not yours :-)

AC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-18-2008, 07:36 AM
Dan Espen
 
Posts: n/a
Default Re: can I send mail from a linux box in an exchange world?

"Larry Martell" <natkelcri@yahoo.com> writes:

> My company is a windows shop and they use exchange for
> their mail server. I have a couple of Linux boxes and I'd like to
> be able to send mail from these boxes. Is there some way I can do
> this? How do I configure postfix to successfully get the mail
> out? Do I have to make postfix relay to exchange? Is that even
> possible?


Evolution can connect to the Exchange OWA server and do a reasonable
job of reading and sending the HTML emails that Outlook users are so fond of.

I'm facing the same problem and struggling to stay with MH-E but
it's an uphill battle.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-18-2008, 07:36 AM
Michael Perry
 
Posts: n/a
Default Re: can I send mail from a linux box in an exchange world?

On 14 May 2005 14:20:15 -0700, Larry Martell wrote:
> My company is a windows shop and they use exchange for
> their mail server. I have a couple of Linux boxes and I'd like to
> be able to send mail from these boxes. Is there some way I can do
> this? How do I configure postfix to successfully get the mail
> out? Do I have to make postfix relay to exchange? Is that even
> possible?
>
>
> Thanks!
> -larry
>


You could try out the connector for evolution that now is hosted by
novell. I used this for quite awhile with a hosted exchange service I
had to subscribe to for a project I was on. It worked very well. The
connector is/was a commercial product. I'm not sure what its status is
any longer.

I used evolution at my worksite and many of the other folks there were
kind of envious since evolution did not seem to have many of the unusual
quirks that they experienced on Outlook 2002.

The connector will allow evolution and exchange to be best buddies which
includes sending and receiving mail, sharing contacts and appointments,
and I believe even shared folders.

--
Michael Perry | do or do not. There is no try. -Master Yoda
mperry@lnxpowered.org | http://www.lnxpowered.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-18-2008, 07:36 AM
Nico Kadel-Garcia
 
Posts: n/a
Default Re: can I send mail from a linux box in an exchange world?


"Michael Perry" <mperry@lnxpowered.org> wrote in message
news:5hiil2-2br.ln1@debian.lnxpowered.org...
> On 14 May 2005 14:20:15 -0700, Larry Martell wrote:
>> My company is a windows shop and they use exchange for
>> their mail server. I have a couple of Linux boxes and I'd like to
>> be able to send mail from these boxes. Is there some way I can do
>> this? How do I configure postfix to successfully get the mail
>> out? Do I have to make postfix relay to exchange? Is that even
>> possible?
>>
>>
>> Thanks!
>> -larry
>>

>
> You could try out the connector for evolution that now is hosted by
> novell. I used this for quite awhile with a hosted exchange service I
> had to subscribe to for a project I was on. It worked very well. The
> connector is/was a commercial product. I'm not sure what its status is
> any longer.


That's a an Exchange client issue, not an outgoing SMTP issue. Local
installations of Postfix or sendmail should be able to pass local the local
host's email to the Exchange server, if it is willing to accept internal
email submitted without additional authentication.

> I used evolution at my worksite and many of the other folks there were
> kind of envious since evolution did not seem to have many of the unusual
> quirks that they experienced on Outlook 2002.
>
> The connector will allow evolution and exchange to be best buddies which
> includes sending and receiving mail, sharing contacts and appointments,
> and I believe even shared folders.


Evolution is, in my opinion, fairly poor as a graphical email client. It's
only compelling feature is use of the various Exchange group features if
your workplace has already started using that, and y coleally want the most
reasons of it to get the best performance.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-18-2008, 07:36 AM
raluxs@netscape.net
 
Posts: n/a
Default Re: can I send mail from a linux box in an exchange world?

Larry Martell wrote:
> My company is a windows shop and they use exchange for
> their mail server. I have a couple of Linux boxes and I'd like to
> be able to send mail from these boxes. Is there some way I can do
> this? How do I configure postfix to successfully get the mail
> out? Do I have to make postfix relay to exchange? Is that even
> possible?
>
>
> Thanks!
> -larry

I have a few linux desktops running at my company and we have
MS-Exchange too, what I did is to configure Exchange to accept POP3 and
SMTP, and use a windows account to authenticate. Then I configure the
account on Evolution, Kmail works well too.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-18-2008, 07:37 AM
Larry Martell
 
Posts: n/a
Default Re: can I send mail from a linux box in an exchange world?


raluxs@netscape.net wrote:
> Larry Martell wrote:
> > My company is a windows shop and they use exchange for
> > their mail server. I have a couple of Linux boxes and I'd like to
> > be able to send mail from these boxes. Is there some way I can do
> > this? How do I configure postfix to successfully get the mail
> > out? Do I have to make postfix relay to exchange? Is that even
> > possible?
> >
> >
> > Thanks!
> > -larry

> I have a few linux desktops running at my company and we have
> MS-Exchange too, what I did is to configure Exchange to accept POP3

and
> SMTP, and use a windows account to authenticate. Then I configure the
> account on Evolution, Kmail works well too.


I finally got this going, at least for internal email.
I had 3 problems - I was using the external name for
our mail server and I needed to use the internal name.
I had to point at an internal DNS server to be able to
resolve the internal name. And finally, the mail had to
come from a known user (my linux login and my windows login
were not the same). Once I fixed all these things I
was then able to send mail internally.

I still can't send mail externally. If I try the
exchange server returns this error:

550 5.7.1 Unable to relay for natkelcri@yahoo.com

I'm trying to figure out how to get exchange to let some mail be
relayed, but not have it be wide open for spammers.

Thanks again!
-larry

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-18-2008, 07:37 AM
John-Paul Stewart
 
Posts: n/a
Default Re: can I send mail from a linux box in an exchange world?

Larry Martell wrote:
>
> I still can't send mail externally. If I try the
> exchange server returns this error:
>
> 550 5.7.1 Unable to relay for natkelcri@yahoo.com
>
> I'm trying to figure out how to get exchange to let some mail be
> relayed, but not have it be wide open for spammers.


Usually you configure the MTA to only relay for mail orginating from
known IP addresses. Since MS Exchange is your MTA, you need to ask in
an Exchange group.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:22 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com