HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Debian Lenny (http://www.howtoforge.com/forums/showthread.php?t=33623)

ChristianFe 13th April 2009 19:03

Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Debian Lenny
 
Hi everyone,

first of all thanks for all the great tutorials, some have been very helpfull to me already !

I recently set up a mailserver based on the "Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Debian Lenny)" tutorial.

I was finally able to get a mailserver to work where I actually understand what is happening to an extend that I'm happy to use it "live".

I've set it up on a local server that is connected to the internet via a DSL connection.

I don't want to change the MX records of our domains to point to this
server as I don't want to risk loosing emails if the internet connection gets
lost.

I'm therefore looking to extract emails from existing mailboxes on a
server operated by an ISP provider that also provides website hosting using fetchmail.

How do I set fetchmail up to ensure that these mails still get passed through
the filters etc (i.e. reach postfix through the regular smtpd on port 25) ?

Would getmail be the better option ?

I'd be gratefull if you had any ideas for this.

Thanks in advance

falko 14th April 2009 13:35

You can use fetchmail or getmail (see http://www.howtoforge.com/debian_etch_fetchmail and http://www.howtoforge.com/debian_etch_getmail ). Both pass on the emails to your MTA (Postfix in your case) on port 25.

If you try to send emails from your local mailserver, please keep in mind that dynamic IPs are blacklisted. You should set up relaying then: http://www.howtoforge.com/postfix_re...her_mailserver

ChristianFe 14th April 2009 15:14

Thanks for your reply. I've already set up Postfix to use a smarthost with smtp auth for relaying outbound mail.

I just wasn't sure that fetchmail etc. forwarded mail to postfix the "usual" ways. I had the feeling that they were passed on at some later stage directly to the MDA. Thanks for the info.


All times are GMT +2. The time now is 16:14.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.