I have a cable modem/router setup locally(Motorola SBG1000). My SuSE server is setup to run fetchmail to download mail from the ISP then pipe it through Postfix then to Cyrus IMAPD. This is all working fine. Now I want to be able to use Postfix to forward the mail to the ISP's SMTP server. I read how to setup the canonical hashfile to change the address to fool the ISP's server in to thinking it came from a E-Mail program such as KMail. How do I setup the MX files using resolv.conf so Postfix knows where to send the mail. Or, is this needed?
NeoFax
On Friday 30 May 2003 20:43, NeoFax wrote:
I have a cable modem/router setup locally(Motorola SBG1000). My SuSE server is setup to run fetchmail to download mail from the ISP then pipe it through Postfix then to Cyrus IMAPD. This is all working fine. Now I want to be able to use Postfix to forward the mail to the ISP's SMTP server. I read how to setup the canonical hashfile to change the address to fool the ISP's server in to thinking it came from a E-Mail program such as KMail. How do I setup the MX files using resolv.conf so Postfix knows where to send the mail. Or, is this needed?
NeoFax
Why would any of that be needed? The generic term is "smart host " You want to postfix to forward all of it to the smtp server on the ISPs network, and I'm not sure there is any reason to "fool" the isp's mail server unless you are trying to run spam.
Further, unless your ISP blocks outbound smtp you may find mail delivery faster by just having your postfix connect directly to the target. That is one of the reasons you run linux.
On Saturday 31 May 2003 3:22 am, John Andersen wrote:
On Friday 30 May 2003 20:43, NeoFax wrote:
I have a cable modem/router setup locally(Motorola SBG1000). My SuSE server is setup to run fetchmail to download mail from the ISP then pipe it through Postfix then to Cyrus IMAPD. This is all working fine. Now I want to be able to use Postfix to forward the mail to the ISP's SMTP server. I read how to setup the canonical hashfile to change the address to fool the ISP's server in to thinking it came from a E-Mail program such as KMail. How do I setup the MX files using resolv.conf so Postfix knows where to send the mail. Or, is this needed?
NeoFax
Why would any of that be needed? The generic term is "smart host " You want to postfix to forward all of it to the smtp server on the ISPs network, and I'm not sure there is any reason to "fool" the isp's mail server unless you are trying to run spam.
Further, unless your ISP blocks outbound smtp you may find mail delivery faster by just having your postfix connect directly to the target. That is one of the reasons you run linux.
-- _____________________________________ John Andersen
I agree with this. I think all he needs to do is to fill in the line below in /etc/sysconfig/postfix and all mail will get sent to his ISP.
# Should we use a mailrelay? # NOTE: ALL mail that is not considered to be my destination # (POSTFIX_LOCALDOMAINS), will be sent to this host. # If this host is not your MX, then you have to use [square brackets] # around the hostname, e.g. [relay.suse.de] # You may also specify an alternate port number, e.g. # relay.suse.de:26 or [relay.suse.de:26] to prevent MX lookups. # POSTFIX_RELAYHOST="<smtp.yourisp.com>"
On Saturday 31 May 2003 8:22 am, John Andersen wrote:
Further, unless your ISP blocks outbound smtp you may find mail delivery faster by just having your postfix connect directly to the target. That is one of the reasons you run linux.
True, but a lot of email servers are now not allowing emails sent directly from non-isp mailservers [based on IP sub-blocks iirc] which is a pain in the ar$e, but an intriguing way of reducing spam.
Just a thought :)