Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Postfix/Fetchmail/Procmail
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Draeven
n00b
n00b


Joined: 04 Jul 2004
Posts: 12

PostPosted: Fri Apr 25, 2008 5:38 pm    Post subject: Postfix/Fetchmail/Procmail Reply with quote

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
View user's profile Send private message
Erulabs
n00b
n00b


Joined: 08 Mar 2006
Posts: 48
Location: erulabs.com

PostPosted: Sat Apr 26, 2008 1:51 am    Post subject: Reply with quote

Quote:
Am I over complicating this? Would I even need Procmail?
No, just sendmail :wink:
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
View user's profile Send private message
Draeven
n00b
n00b


Joined: 04 Jul 2004
Posts: 12

PostPosted: Sat Apr 26, 2008 5:18 am    Post subject: Reply with quote

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
View user's profile Send private message
jcat
Veteran
Veteran


Joined: 26 May 2006
Posts: 1337

PostPosted: Sat Apr 26, 2008 8:18 am    Post subject: Reply with quote

I would use Postfix as the email server (easy to set up), and then fetchmail to collect the POP3 email. There is a guide here (although I've not followed it personally)

http://gentoo-wiki.com/HOWTO_Email_System_for_the_Home_Network
Wiki seems to be down again so you can try google's cache instaed..
http://64.233.183.104/search?q=cache:h4Tu92rGp4wJ:gentoo-wiki.com/HOWTO_Email_System_for_the_Home_Network+gentoo+postfix+fetchmail&hl=en&ct=clnk&cd=1&gl=uk

..or change ISP and just use Postfix :wink:



Cheers,
jcat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum