Fetchmail to receive from Exchange

Fetchmail to receive from Exchange

am 24.02.2006 05:17:25 von XXdennismu

Struggling trying to pull mail from the Exchange Server at work to Pine(at
home) on my Unix. Using Postfix on Unix.

TIA
Dennis
=======

Re: Fetchmail to receive from Exchange

am 24.02.2006 05:19:37 von XXdennismu

Oops...forgot to ask what I need help with.

A recipe for fetchmail to accomplish this if it's possible.

In article , XXdennismu@yahoo.XX.com
rm the XX's (Dennis) wrote:
>Struggling trying to pull mail from the Exchange Server at work to Pine(at
>home) on my Unix. Using Postfix on Unix.
>
>TIA
>Dennis
>=======

Re: Fetchmail to receive from Exchange

am 26.02.2006 07:26:51 von Garen Erdoisa

Dennis wrote:
> Oops...forgot to ask what I need help with.
>
> A recipe for fetchmail to accomplish this if it's possible.
>
> In article , XXdennismu@yahoo.XX.com
> rm the XX's (Dennis) wrote:
>> Struggling trying to pull mail from the Exchange Server at work to Pine(at
>> home) on my Unix. Using Postfix on Unix.
>>
>> TIA
>> Dennis
>> =======

in a .fetchmailrc file:
# Example fethcmailrc file to pop down mail.

set syslog
set idfile "/home/username/.fetchids"
set postmaster "postmaster"
set invisible

poll email.example.com with proto POP3 and options no dns
user "someuser" there with password "somepassword" is someuser here
and wants mda "/usr/bin/procmail -d someuser"


Then set up a cron job to run fetchmail from that account once every 30
mins or so ie:

crontab -e
*/30 * * * * fetchmail

Note: I use procmail as the mda, but I suppose you could use any mda you
wish such so long as it can take stdin and deliver it to a mailbox.

The reason you want to specify the mda with this, is so that fetchmail
doesn't try to do a local default delivery to the local smtp port which
may bounce the message based on rules beyond your control.

That should give you enough to get started with this.
Garen

Re: Fetchmail to receive from Exchange

am 28.02.2006 05:49:27 von XXdennismu

Thanx Garen! Still working on it, being Exchange it's not working. But I'll
keep researching....Dennis

In article <1202ihoq3od279@corp.supernews.com>, Garen Erdoisa

>
>in a .fetchmailrc file:
># Example fethcmailrc file to pop down mail.
>
>set syslog
>set idfile "/home/username/.fetchids"
>set postmaster "postmaster"
>set invisible
>
>poll email.example.com with proto POP3 and options no dns
> user "someuser" there with password "somepassword" is someuser here
>and wants mda "/usr/bin/procmail -d someuser"
>
>
>Then set up a cron job to run fetchmail from that account once every 30
>mins or so ie:
>
>crontab -e
>*/30 * * * * fetchmail
>
>Note: I use procmail as the mda, but I suppose you could use any mda you
>wish such so long as it can take stdin and deliver it to a mailbox.
>
>The reason you want to specify the mda with this, is so that fetchmail
>doesn't try to do a local default delivery to the local smtp port which
>may bounce the message based on rules beyond your control.
>
>That should give you enough to get started with this.
>Garen

Re: Fetchmail to receive from Exchange

am 28.02.2006 07:30:34 von Garen Erdoisa

Dennis wrote:
> Thanx Garen! Still working on it, being Exchange it's not working. But I'll
> keep researching....Dennis

fetchmail is designed to access an inbox using various common protocols
such as imap and pop3. The protocol used by exchange servers isn't
"standard". It's one of MS's proprietary protocols.

Sometimes a mail admin will setup either imap and/or pop3 service for
those that need it, so you might want to inquire of your service
provider to see what else they offer to access your inbox other than
exchange. You could also check to see if imap will work for that account.

After double checking the fetchmail man page the man page, I see that
"exchange" is not listed as a supported protocol in fetchmail.
I'd never even given that a thought before. :/

So, short of finding a patch for fetchmail that will allow it to use the
"exchange" protocol, or routing your mail through a standard email
server before it is sent onto exchange, you are probably stuck with
using outlook to access that mail account.

>[snip]

Garen

Re: Fetchmail to receive from Exchange

am 03.03.2006 05:06:22 von XXdennismu

That would explain the difficulty...thanx again Garen.

In article <1207rgsrci7lc7f@corp.supernews.com>, Garen Erdoisa
wrote:
>Dennis wrote:
>> Thanx Garen! Still working on it, being Exchange it's not working. But I'll
>> keep researching....Dennis
>
>fetchmail is designed to access an inbox using various common protocols
>such as imap and pop3. The protocol used by exchange servers isn't
>"standard". It's one of MS's proprietary protocols.
>
>Sometimes a mail admin will setup either imap and/or pop3 service for
>those that need it, so you might want to inquire of your service
>provider to see what else they offer to access your inbox other than
>exchange. You could also check to see if imap will work for that account.
>
>After double checking the fetchmail man page the man page, I see that
>"exchange" is not listed as a supported protocol in fetchmail.
>I'd never even given that a thought before. :/
>
>So, short of finding a patch for fetchmail that will allow it to use the
>"exchange" protocol, or routing your mail through a standard email
>server before it is sent onto exchange, you are probably stuck with
>using outlook to access that mail account.
>
>>[snip]
>
>Garen

Re: Fetchmail to receive from Exchange

am 06.03.2006 21:52:26 von Simon Kellett

XXdennismu@yahoo.XX.com rm the XX's (Dennis) writes:

> Struggling trying to pull mail from the Exchange Server at work to
> Pine(at home) on my Unix. Using Postfix on Unix.

IIRC Exchange can provide POP3 natively, but your admin must enable it.

I have not tried it but I read there is an extension to the Gnome
Evolution client that interfaces to Exchange: I think it basically
"screen scrapes" the web interface Exchange provides if your admin has
enabled it.

Or maybe this help http://www.omesc.com/modules/main_module/ ?

Or can you auto-forward all email from exchange to some free email
provider and then get this email ? messy !?

--
Simon Kellett, | Gentoo Linux, Fvwm, Firefox
Darmstadt, Germany | Xemacs, Vm, Gnus