|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Paul Rogers (paulgrogers
yahoo.com)
Date: Mon Dec 10 2007 - 11:01:10 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I am trying to setup an old RHL-6.1 486 using postfix-20010228release
(don't ask, OK? Upgrading isn't an issue. That's the latest rpm I can
find that works with this rpm-3.x.) to relay mail through my ISP. I've
been trying many things, with varying levels of failure. Can anybody
tell me how to fix this? (Customized part of main.cf follows my sorry
log of failures.)
--- Paul Rogers <pgrogers
xprt.net> wrote:
> Date: Sun, 09 Dec 2007 09:31:15 -0800
> From: Paul Rogers <pgrogers
xprt.net>
> To: paulgrogers
yahoo.com
> Subject: [Fwd: Undelivered Mail Returned to Sender]
>
>
> -------- Original Message --------
> From: - Sun Dec 9 09:28:39 2007
> X-Account-Key: account2
> X-UIDL: GM,"!GI,!!T15!![ah"!
> X-Mozilla-Status: 0001
> X-Mozilla-Status2: 10000000
> Return-Path: <postmaster
xprt.net>
> Received: from dexter.lan (67-150-172-218.lsan.mdsg-pacwest.com
> [67.150.172.218]) by xprt.net (8.13.4/8.13.4/Debian-3sarge3) with
> ESMTP
> id lB90uItn025111 for <pgrogers
xprt.net>; Sat, 8 Dec 2007 16:56:26
> -0800
> Received: by dexter.lan (Postfix) via BOUNCE id EAE781AB73; Sat, 8
> Dec
> 2007 16:46:03 -0800 (PST)
> Date: Sat, 8 Dec 2007 16:46:03 -0800 (PST)
> From: MAILER-DAEMON
dexter.lan (Mail Delivery System)
> Subject: Undelivered Mail Returned to Sender
> To: pgrogers
xprt.net
> MIME-Version: 1.0
> Content-Type: multipart/report; report-type=delivery-status;
> boundary="DF9B31AB58.1197161163/dexter.lan"
> Message-Id: <20071209004603.EAE781AB73
dexter.lan>
> X-Greylist: Delayed for 00:10:15 by milter-greylist-3.0 (xprt.net
> [209.102.124.23]); Sat, 08 Dec 2007 16:56:30 -0800 (PST)
> X-Virus-Scanned: ClamAV 0.91.2/5046/Sat Dec 8 16:05:01 2007 on
> xprt.net
> X-Virus-Status: Clean
> X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on
> wendy.xprt.net
> X-Spam-Level:
> X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00
> autolearn=no version=3.0.3
> X-UIDL: GM,"!GI,!!T15!![ah"!
>
>
>
> This is the Postfix program at host dexter.lan.
>
> I'm sorry to have to inform you that the message returned
> below could not be delivered to one or more destinations.
>
> For further assistance, please send mail to <postmaster>
>
> If you do so, please include this problem report. You can
> delete your own text from the message returned below.
>
> The Postfix program
>
> <paulgrogers
yahoo.com>: Name service error for yahoo.com: Host found
> but no
> data record of requested type
>
>
> > To: paulgrogers
yahoo.com
> Subject: Dexter
> Date: Sat, 8 Dec 2007 16:45:20 -0800 (PST)
> From: pgrogers
xprt.net (Paul Rogers)
>
> 12/2/07
> . trying the RH doc's config, lying about who my system is causes
> "pgrogers
> unknown user", changing myhostname back to dexter.lan.
> . still hung up with greylisting
> . trying to send to paulgrogers
yahoo.com. Maillog says "Hostname
> not found"
> yet "host yahoo.com" works. Much later a connection with
> c.mx.mail.yahoo.com
> timed out!
> . changed diald timeout & smtp delay
> . removed masquerading & sender_canonical from main.cf
> . says domain dexter.lan doesn't exist. Added back masquerading.
> . same error, trying sender_canonical without masquerading.
> . that was accepted! try again.
> 12/4/07
> . let smtp out of jail, added mtu/mru to diald.conf
> . service postfix restart
> 12/5/07
> . put smtp back in jail, removed mtu/mru
> . relay_host changed to smtp.xprt.net, per tech support's direction
> . fastmail doesn't have a mx record?
> . neither apparently does yahoo.com, both messages caught in
> greylisting
> . changed relay_host to IPA
> . oops, forgot to reload, try again
> . relay_host turned off, one sentence in main.cf.config suggests
> this.
> sent msg to pgrogers
yahoo.com
> . that got bounced, "name service error in yahoo.com, host found but
> no
> record of requested type" then trapped in mail.xprt.net's
> greylisting
> as From: was rewritten. Bounce message ended up in my xprt.net
> mailbox.
> "host yahoo.com" returned nothing initially. ? "host
> smtp.xprt.net"
> returns 209.102.124.32, so reset relay_host to that.
> sample_smtp.cf
> suggests ignore_mx_lookup_error=yes will look for A records
> instead.
> trying that. sent msg to pgrogers
yahoo.com
> . same apparent results, purged message.
> . relay_host returned to smtp.xprt.net w/ :25 appended.
> main.cf.config
> says a host name turns off MX lookups. sent msg to
> pgrogers
yahoo.com
> . same result. FWIW "host -t mx [yahoo.com,fastmail.fm]" returns
> nil.
> 12/8/07
> . reconfigured ipchains
> 12/9/07
> . relay_host: removed port. added ignore_mx_lookup_error, for A
> records
> per Pascal's suggestion.
>
>
>
>
> $head -35 /etc/postfix/main.cf
> #PGR was here
> #--------- ISP config
> default_transport = smtp
> ignore_mx_lookup_error = yes
> #relay_host = 209.102.124.32
> relay_host = smtp.xprt.net
> #relay_domains = xprt.net
> myhostname = dexter.lan
> mydomain = lan
> myorigin = $myhostname
> #myorigin = $mydomain
> mydestination = $myhostname, localhost.$mydomain, $mydomain
> #masquerade_domains = $myhostname
> #PGR speed up queue runs
> queue_run_delay = 30s
> minimal_backoff_time = 30s
> smtp_connect_timeout = 30s
> #--------- Postfix configs
> # run postmap on these files to rebuild db file after changes
> alias_maps = hash:/etc/postfix/aliases
> alias_database = hash:/etc/postfix/aliases
> virtual_maps = hash:/etc/postfix/virtual_maps
> sender_canonical_maps = hash:/etc/postfix/sender_canonical
> #--------- Local system config
> # standalone localhost
> mynetworks_style = host
> mynetworks = 127.0.0.0/8
> mail_spool_directory = /var/spool/mail
> mailbox_command = /usr/bin/procmail
> luser_relay = paul
localhost
> # help root with protocol issues too
> notify_classes = resource, software, protocol
>
> # Global Postfix configuration file. This file lists only a subset
> # of all 100+ parameters. See the sample-xxx.cf files for a full
> list.
>
>
Paul Rogers
Rogers' Second Law: Everything you do communicates.
paulgrogers
yahoo.com
http://www.geocities.com/paulgrogers
(Not responsible for anything after this line.)
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
- text/attachment attachment: pat187387682
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]