Would this be possible with Kolab?

Tomasz Chmielewski mangoo at mch.one.pl
Sat Nov 5 15:27:28 CET 2005


Richard Bos schrieb:
> Op zaterdag 05 november 2005 14:55, schreef lucy at tettekop.com:
> 
>>But my question is , would it be possible to setup kolab in a way that each
>>internal mailbox (user1 at intranet.lan) gets external mail from a specific
>>real pop3 server mailbox (user1 at provider.be) , and that all mail sent from
>>an internal mailbox to the outside world gets mapped to the providers smpt
>>server ?
>>
>>So that if user1 at intranet sends to an external email address , it gets
>>forwarded to the providers smpt server with sender user1 at privoder.be And
>>the other way around if external  mail arrives at the pop3 for
>>user1 at provider.be it goes to the Inbox of user1 at intranet.lan ? It doesn't
>>matter if there is couple of minutes delay for all external email , since
>>the internal mail will be delivered immediatly...
>>I was thinkin of writing a script that reads the external mail, but i don't
>>think its gonna be possible to read or send to the imap from within a
>>script, is it ?
> 
> 
> search for fetchmail in the kolab wiki.  I think this is what you're looking 
> for.

IMHO fetchmail is for fetching mail only :)

If you want to send mails with a valid @provider email address, you have 
more choices:

1) just set up a valid @provider email in your Outlook, and send your 
mail through an external SMTP server

2) use canonical maps for Postfix:
  a) in main.cf:

canonical_maps = hash:/etc/postfix/canonical

  b) in /etc/postfix/canonical:

someone at my.lan    realname at realserver
someone2 at my.lan   realname2 at some.server

and then:

postmap /etc/postfix/canonical

to let postfix know it.

of course take care and watch for correct path, as Postfix shipped with 
Kolab is under /kolab.

-- 
Tomek
http://wpkg.org
WPKG - software deployment and upgrades with Samba




More information about the users mailing list