View previous topic :: View next topic |
Author |
Message |
Draeven n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Jul 2004 Posts: 12
|
Posted: Fri Apr 25, 2008 5:38 pm Post subject: Postfix/Fetchmail/Procmail |
|
|
Hi!
I know that this has probably been addressed at some point, but my search skills are eluding the answer.
Currently I have an environment with MS SBS2003 and Exchange using a POP3 connector that fetches the mail from a global mailbox at my webhost. Exchange then looks at the To: and CC: lines to determine which mailbox to send it to. I have Exchange setup to use my mailserver at my webhost as a smarthost and relay the mail to my webhost, as well as rewrite the address from domain.local to domain.com I'm using this configuration as my SBS server is at home, and inbound port 25 is blocked by my ISP.
I've seen the Postfix/Virtual/etc HOWTOs and was wondering if there was a way that I could maybe use fetchmail to grab the mail out of the global mailbox, and then use a few Procmail recipes to look at the To:, CC:, and BCC: lines to have Postfix sort to the appropriate local mailboxes. Then the users would use IMAP to access their Inbox or one of the various web front-ends.
Am I over complicating this? Would I even need Procmail?
Thanks.
Draeven |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Erulabs n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/4161204147f12d93e0ed4.jpg)
Joined: 08 Mar 2006 Posts: 48 Location: erulabs.com
|
Posted: Sat Apr 26, 2008 1:51 am Post subject: |
|
|
Quote: | Am I over complicating this? Would I even need Procmail? | No, just sendmail
Yes, you are over complicating this... I say that because you're trying to setup a email server using Windows.
Would you need procmail? No, Postfix could do everything you want.
Looking at what you're dealing with, I would guess a good Postfix setup would do everything you want. As for getting Postfix to "sort to the appropriate local mailboxes", im not sure I understand. Are you wondering if Postfix can login and sort mail on an exchange server? I suppose I don't understand what Exchange is doing relative to the Postfix box you're thinking of setting up.
All in all, there is a way to do all of the things you asked. As for simplicity, I would consider setting up a Postfix server to do everything your Exchange server does now. _________________ No more things should be presumed to exist than are absolutely necessary. Or really cool. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Draeven n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Jul 2004 Posts: 12
|
Posted: Sat Apr 26, 2008 5:18 am Post subject: |
|
|
Maybe I didn't explain properly. I am trying to replace a Windows box with Exchange.
Under SBS, Exchange can be configured to retrieve mail from a global POP3 mailbox (read as all mail delivered to one mailbox for entire internet domain) at a webhosting provider.
I cannot receive SMTP on port 25 as my ISP (RoadRunner) blocks port 25.
Thus said, I need to get the mail out of the global mailbox (via POP3) and have it put into the maildir directory on the Gentoo box that is replacing the Windows box (hence fetchmail). If Postfix will sort the mail into the different mailboxes (using maildir directories), then the users can connect to their mailbox via IMAP (Dovecot).
Does that make more sense?
Thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jcat Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/8613556479655c309323.jpg)
Joined: 26 May 2006 Posts: 1337
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|