Re: Fetchmail revisited

From: Phil Da Lick! (phil_the_lick_at_NOSPAM.hotmail.com)
Date: 07/05/05


Date: Tue, 05 Jul 2005 15:55:35 +0100

Preben Traerup wrote:
>
> if your box is mydomain.com and is connected to the public internet,
> you should read about the daemon listening on port 25, and if you think
> it is scary, try the manual for sendmail....
>
> AND when working with port 25, you need to read the whole shebang of
> manuals labelled network securety too.

My network is basically intranet.myispdomain.com (set up by me with
local dns/dhcp/etc) behind a NAT firewall. We have one public static IP
addy but although my isp does offer an smtp forwarding service I'm not
too keen on this for the aforementioned security aspect.

All emails to mydomain.com regardless of the bit before the @ are
deposited into one email account which I access via pop [my isp calls
this host based email]. For the sake of this post assume the accessing
details are philthelick and my mail server is mail.myisp.com.

My smtp server on my local network [postfix] is set up and delivering
mail to local mailboxes when used internally. I have set the domains to
be receiving mail for in postfix's options to
$myhostname,localhost.$mydomain,$mydomain,myispdomain.com,intranet.myispdomain.com,<myusername>.myisp.com.

The last step is to rig fetchmail to retrieve the email from my isp
(each email will be for [someone]@myispdomain.com) and forward it to
postfix. Postfix can then examine the value for [someone] and deliver
accordingly, or dump to a catch-all mailbox.

Both the mail headers and the mail log show that fetchmail is modifying
the email headers before sending the mail on to postfix.



Relevant Pages

  • Re: Network is unreachable email error
    ... my ISP blocks port 25. ... How can I config the postfix to change ... and show the relevant map files (with the passwords and ip addresses mangled of ...
    (Debian-User)
  • Re: unable to send mail from UNIX
    ... I have appended the result of postconf -n. ... I think my port 25 is ... blocked by the isp. ... unable to send email using postfix. ...
    (comp.unix.admin)
  • Re: unable to send mail from UNIX
    ... > I don't want to call my ISP. ... That is my last resort. ... > is blocked and it uses postfix. ... > access port 25. ...
    (comp.unix.admin)
  • Re: installed openvpn, not working
    ... > which is assigned to WAN port of my Router, do I have to ask my ISP to ... those addresses are not supposed to be passed over the public internet. ...
    (comp.os.linux.networking)
  • Re: unable to send mail from UNIX
    ... I don't want to call my ISP. ... That is my last resort. ... is blocked and it uses postfix. ... access port 25. ...
    (comp.unix.admin)