Re: What are the SMTP rules for sending mail to FreeBSD

2003-01-05 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-01-04 14:02:46 +1030:
 On Thursday,  2 January 2003 at 16:53:05 +0100, Roman Neuhauser wrote:
  plus, you stuff the output in $myfile, and get the input from it as
  well. How's that supposed to work? :)
 
 Heh.  You're looking at this section, no doubt:
 
   cat  $myfile
   server=`egrep -i  $myfile In:  [HE][HE]LO|sed 's/^.*LO *//' `
   if [ $server =  ]; then
 server=`egrep -i  $myfile ^Subject.*errors from |sed 's/^Subject.*errors from 
//; s:\[.*::g' `
   fi
 
 Confusing, isn't it?  The thing is, this program is a filter.  The
 first line copies stdin to $myfile for future (multiple) readings.  If
 it weren't a filter, the cat command would still read from stdin, so
 if it were a terminal, it would just appear to hang.

Ok, so you pipe the Postfix-generated message into B which slurps it
into $myfile and that is where you access it... I'm just a luser, so
excuse me if this is nonsense, but do you do that because stdin is
not seekable?

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: What are the SMTP rules for sending mail to FreeBSD

2003-01-05 Thread Greg 'groggy' Lehey
On Sunday,  5 January 2003 at 16:16:22 +0100, Roman Neuhauser wrote:
 # [EMAIL PROTECTED] / 2003-01-04 14:02:46 +1030:
 On Thursday,  2 January 2003 at 16:53:05 +0100, Roman Neuhauser wrote:
 plus, you stuff the output in $myfile, and get the input from it as
 well. How's that supposed to work? :)

 Heh.  You're looking at this section, no doubt:

   cat  $myfile
   server=`egrep -i  $myfile In:  [HE][HE]LO|sed 's/^.*LO *//' `
   if [ $server =  ]; then
 server=`egrep -i  $myfile ^Subject.*errors from |sed 's/^Subject.*errors 
from //; s:\[.*::g' `
   fi

 Confusing, isn't it?  The thing is, this program is a filter.  The
 first line copies stdin to $myfile for future (multiple) readings.  If
 it weren't a filter, the cat command would still read from stdin, so
 if it were a terminal, it would just appear to hang.

 Ok, so you pipe the Postfix-generated message into B which slurps it
 into $myfile and that is where you access it... I'm just a luser, so
 excuse me if this is nonsense, but do you do that because stdin is
 not seekable?

Yes, exactly.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: What are the SMTP rules for sending mail to FreeBSD

2003-01-05 Thread Giorgos Keramidas
On 2003-01-05 16:16, Roman Neuhauser [EMAIL PROTECTED] wrote:
 # [EMAIL PROTECTED] / 2003-01-04 14:02:46 +1030:
cat  $myfile
server=`egrep -i  $myfile In:  [HE][HE]LO|sed 's/^.*LO *//' `
if [ $server =  ]; then
  server=`egrep -i  $myfile ^Subject.*errors from |sed 's/^Subject.*errors 
from //; s:\[.*::g' `
fi
 
  Confusing, isn't it?  The thing is, this program is a filter.  The
  first line copies stdin to $myfile for future (multiple) readings.

 Ok, so you pipe the Postfix-generated message into B which slurps it
 into $myfile and that is where you access it... I'm just a luser, so
 excuse me if this is nonsense, but do you do that because stdin is
 not seekable?

Sort of.  Standard input can be seekable.  When you redirect it using
something like:

% blah  filename

The blah program can seek its stdin.  Pipes on the other hand are not
seekable.

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: What are the SMTP rules for sending mail to FreeBSD

2003-01-03 Thread Greg 'groggy' Lehey
On Thursday,  2 January 2003 at 16:53:05 +0100, Roman Neuhauser wrote:
 # [EMAIL PROTECTED] / 2003-01-02 16:40:45 +0100:
 # [EMAIL PROTECTED] / 2002-12-30 11:26:22 +1030:
 On Sunday, 29 December 2002 at 18:46:12 +0100, Roman Neuhauser wrote:
 # [EMAIL PROTECTED] / 2002-12-29 10:55:11 +1030:

 ...

 For more information, take a look at the following, which is a message
 I send to systems which appear to be bona fide attempts from broken
 reverse addresses.  Looking at the name of the sender, I'm sure this
 one is not bona fide, and I didn't really send the message.  Most of
 my double bounces come from spammers.

 do you have that script publically available? I'd like to use
 that, too.

 Yes, it's at http://www.lemis.com/B.

 Is that the version you actually use? I believe I found a bug:

 ...

 plus, you stuff the output in $myfile, and get the input from it as
 well. How's that supposed to work? :)

Heh.  You're looking at this section, no doubt:

  cat  $myfile
  server=`egrep -i  $myfile In:  [HE][HE]LO|sed 's/^.*LO *//' `
  if [ $server =  ]; then
server=`egrep -i  $myfile ^Subject.*errors from |sed 's/^Subject.*errors from 
//; s:\[.*::g' `
  fi

Confusing, isn't it?  The thing is, this program is a filter.  The
first line copies stdin to $myfile for future (multiple) readings.  If
it weren't a filter, the cat command would still read from stdin, so
if it were a terminal, it would just appear to hang.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: What are the SMTP rules for sending mail to FreeBSD

2003-01-02 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-30 11:26:22 +1030:
 On Sunday, 29 December 2002 at 18:46:12 +0100, Roman Neuhauser wrote:
  # [EMAIL PROTECTED] / 2002-12-29 10:55:11 +1030:
 
  ...
 
  For more information, take a look at the following, which is a message
  I send to systems which appear to be bona fide attempts from broken
  reverse addresses.  Looking at the name of the sender, I'm sure this
  one is not bona fide, and I didn't really send the message.  Most of
  my double bounces come from spammers.
 
  do you have that script publically available? I'd like to use
  that, too.
 
 Yes, it's at http://www.lemis.com/B.  

Is that the version you actually use? I believe I found a bug:

--- B.orig  Thu Jan  2 16:25:28 2003
+++ B   Thu Jan  2 16:37:08 2003
@@ -59,7 +59,7 @@
   postmaster=postmaster@$domain
 fi
 if [ $hostmaster =  ]; then
-  hostmaster=`nslookup -q=soa wantech.de|grep mail addr|sed 's:.*= ::; s:\.:@:'`
+  hostmaster=`nslookup -q=soa $domain|grep mail addr|sed 's:.*= ::; s:\.:@:'`
 fi
 if [ $hostmaster =  ]; then
   hostmaster=hostmaster@$domain

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: What are the SMTP rules for sending mail to FreeBSD

2003-01-02 Thread Greg 'groggy' Lehey
On Thursday,  2 January 2003 at 16:40:45 +0100, Roman Neuhauser wrote:
 # [EMAIL PROTECTED] / 2002-12-30 11:26:22 +1030:
 On Sunday, 29 December 2002 at 18:46:12 +0100, Roman Neuhauser wrote:
 # [EMAIL PROTECTED] / 2002-12-29 10:55:11 +1030:

 ...

 For more information, take a look at the following, which is a message
 I send to systems which appear to be bona fide attempts from broken
 reverse addresses.  Looking at the name of the sender, I'm sure this
 one is not bona fide, and I didn't really send the message.  Most of
 my double bounces come from spammers.

 do you have that script publically available? I'd like to use
 that, too.

 Yes, it's at http://www.lemis.com/B.

 Is that the version you actually use? I believe I found a bug:

 --- B.origThu Jan  2 16:25:28 2003
 +++ B Thu Jan  2 16:37:08 2003
 @@ -59,7 +59,7 @@
postmaster=postmaster@$domain
  fi
  if [ $hostmaster =  ]; then
 -  hostmaster=`nslookup -q=soa wantech.de|grep mail addr|sed 's:.*= ::; s:\.:@:'`
 +  hostmaster=`nslookup -q=soa $domain|grep mail addr|sed 's:.*= ::; s:\.:@:'`
  fi
  if [ $hostmaster =  ]; then
hostmaster=hostmaster@$domain

Heh.  Guess who'd been giving me problems lately.  Yes, I found that
bug this morning and fixed it.  I've also put in a check for
completely unidentifiable domains.  Take another look.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: What are the SMTP rules for sending mail to FreeBSD

2002-12-30 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-30 11:26:22 +1030:
 On Sunday, 29 December 2002 at 18:46:12 +0100, Roman Neuhauser wrote:
  # [EMAIL PROTECTED] / 2002-12-29 10:55:11 +1030:
 
  ...
 
  For more information, take a look at the following, which is a message
  I send to systems which appear to be bona fide attempts from broken
  reverse addresses.  Looking at the name of the sender, I'm sure this
  one is not bona fide, and I didn't really send the message.  Most of
  my double bounces come from spammers.
 
  do you have that script publically available? I'd like to use
  that, too.
 
 Yes, it's at http://www.lemis.com/B.  

thanks!

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: What are the SMTP rules for sending mail to FreeBSD

2002-12-29 Thread Erik Greenwald
On Sat, Dec 28, 2002 at 09:03:08PM -0800, Kris Kennaway wrote:
 
 freebsd.org does not care if your reverse DNS mapping points back to
 the name you identified yourself with, it only checks that the name
 the server IDs itself as when submitting email resolves to the correct
 IP address.
 
 Many people (including me) have a working setup where reverse DNS
 mappings do not give back the original hostname we ID with.
 
 Kris

the mailing lists and user accounts are fairly forgiving, but the gnats/pr
stuff doesn't seem to be... is that by design? right now I'm filling out
the send-pr form, :w'ing it, then scp'ing it out to a viable mailer and
hand-editing the comment stuff out and sending that... (current setup is
a pair of fbsd clients behind a redcrap ipmasq (natd)... the redhat machine
CAN send pr's, its sendmail smarthost/masq stuff works, I can't get the fbsd
ones to do the right thing tho...)

-- 
-Erik [EMAIL PROTECTED] [http://math.smsu.edu/~erik]

The opinions expressed by me are not necessarily opinions. In all probability,
they are random rambling, and to be ignored. Failure to ignore may result in
severe boredom or confusion. Shake well before opening. Keep Refrigerated.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: What are the SMTP rules for sending mail to FreeBSD

2002-12-29 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-29 10:55:11 +1030:

...

 For more information, take a look at the following, which is a message
 I send to systems which appear to be bona fide attempts from broken
 reverse addresses.  Looking at the name of the sender, I'm sure this
 one is not bona fide, and I didn't really send the message.  Most of
 my double bounces come from spammers.
 
 Greg
 
 
 
 PLEASE READ THIS MESSAGE.  It contains important information about
 problems at your site.  It is machine generated, but it is intended to
 be intelligible.

do you have that script publically available? I'd like to use that,
too.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: What are the SMTP rules for sending mail to FreeBSD

2002-12-29 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-12-28 19:15:49 +0100:
 Today Harry Tabak wrote:
 
  Mail sent from my main server, gatehouse.quadtelecom.com (66.45.116.138)
  gets rejected.
 _450_Client_host_rejected:_cannot_find_your_hostname,_[66.45.116.138]
 
  If 450 is some error code, then it's only a _temporary_ error/failure
 (RFC 1893). Maybe the DNS servers using the old (cached) data.

ISTR Postfix replies with 450 to (almost) all errors by default.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: What are the SMTP rules for sending mail to FreeBSD

2002-12-29 Thread Len Conrad


ISTR Postfix replies with 450 to (almost) all errors by default.


And there are errors where you need to escalate the 4xx response to 554 to 
stop the sending MTA from re-trying for days, or just harvest the 4xx ip's 
to a new .map filean block with 554.

Postfix's new sender address verification is extremely effective in 
blocking crap that used to get through, but it always returns 4xx so your 
reject counts go through the roof as SAV 4xx rejects are re-tried 100's of 
times.  But, in fact, this is more of a resource consumption for the 
senders than it is on your MX.  And the advantage of keeping this crap out 
of your system outweighs the higher rate of repeated rejects.

Len


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: What are the SMTP rules for sending mail to FreeBSD

2002-12-29 Thread John Martinez

On Sunday, December 29, 2002, at 10:06  AM, Len Conrad wrote:




ISTR Postfix replies with 450 to (almost) all errors by default.


And there are errors where you need to escalate the 4xx response to 
554 to stop the sending MTA from re-trying for days, or just harvest 
the 4xx ip's to a new .map filean block with 554.

Postfix's new sender address verification is extremely effective in 
blocking crap that used to get through, but it always returns 4xx so 
your reject counts go through the roof as SAV 4xx rejects are re-tried 
100's of times.  But, in fact, this is more of a resource consumption 
for the senders than it is on your MX.  And the advantage of keeping 
this crap out of your system outweighs the higher rate of repeated 
rejects.


Sounds great. Maybe I'll convert to Postfix soon enough!

-john


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: What are the SMTP rules for sending mail to FreeBSD

2002-12-29 Thread Greg 'groggy' Lehey
On Sunday, 29 December 2002 at 18:46:12 +0100, Roman Neuhauser wrote:
 # [EMAIL PROTECTED] / 2002-12-29 10:55:11 +1030:

 ...

 For more information, take a look at the following, which is a message
 I send to systems which appear to be bona fide attempts from broken
 reverse addresses.  Looking at the name of the sender, I'm sure this
 one is not bona fide, and I didn't really send the message.  Most of
 my double bounces come from spammers.

 do you have that script publically available? I'd like to use
 that, too.

Yes, it's at http://www.lemis.com/B.  

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



What are the SMTP rules for sending mail to FreeBSD

2002-12-28 Thread Harry Tabak
Mail sent from my main server, gatehouse.quadtelecom.com (66.45.116.138) 
gets rejected.
  _450_Client_host_rejected:_cannot_find_your_hostname,_[66.45.116.138]

What are the rules for sending mail!  I'm not a spammer -- I've 
never sent spam!!!   Your rejection is very disconcerting.

Harry Tabak
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: What are the SMTP rules for sending mail to FreeBSD

2002-12-28 Thread rocky
Harry Tabak wrote:


Mail sent from my main server, gatehouse.quadtelecom.com 
(66.45.116.138) gets rejected.
  _450_Client_host_rejected:_cannot_find_your_hostname,_[66.45.116.138]

What are the rules for sending mail!  I'm not a spammer -- I've 
never sent spam!!!   Your rejection is very disconcerting.

Harry Tabak
[EMAIL PROTECTED]

# nslookup 66.45.116.138
Server:  ns1.ljusdal.net
Address:  80.65.204.5

Name:steelcityhosting.com
Address:  66.45.116.138


66.45.116.138 does not resolve to gatehouse.quadtelecom.com, it resolves 
to steelcityhosting.com.
Fix your reverse and it will most likely accept your emails.

--
R




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: What are the SMTP rules for sending mail to FreeBSD

2002-12-28 Thread Harry Tabak


Date: Sat, 28 Dec 2002 14:50:54 +0100
From: rocky [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: rocky [EMAIL PROTECTED]
References: [EMAIL PROTECTED]

Harry Tabak wrote:

  Mail sent from my main server, gatehouse.quadtelecom.com
  (66.45.116.138) gets rejected.
_450_Client_host_rejected:_cannot_find_your_hostname,_[66.45.116.138]
 
  What are the rules for sending mail!  I'm not a spammer -- I've
  never sent spam!!!   Your rejection is very disconcerting.
 
  Harry Tabak
  [EMAIL PROTECTED]
 
# nslookup 66.45.116.138
Server:  ns1.ljusdal.net
Address:  80.65.204.5

Name:steelcityhosting.com
Address:  66.45.116.138


66.45.116.138 does not resolve to gatehouse.quadtelecom.com, it resolves
to steelcityhosting.com.
Fix your reverse and it will most likely accept your emails.

--
R


Easier said than done.  I've been assigned 66.45.116.136/29 by the ISP. 
  I control DNS for quadtelecom.com, but I don't control the reverse 
lookup.  I'd like to know the exact algorithm in use, so that I can 
negotiate with my ISP.  For example, how are are hosts with multiple IP 
adresses handled?

Harry












To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: What are the SMTP rules for sending mail to FreeBSD

2002-12-28 Thread Kris Kennaway
On Sat, Dec 28, 2002 at 08:53:15AM -0500, Harry Tabak wrote:
 Mail sent from my main server, gatehouse.quadtelecom.com (66.45.116.138) 
 gets rejected.
_450_Client_host_rejected:_cannot_find_your_hostname,_[66.45.116.138]
 
 What are the rules for sending mail!  I'm not a spammer -- I've 
 never sent spam!!!   Your rejection is very disconcerting.

Your mail server is identifying itself as [66.45.116.138] instead of a
host with (valid) forward DNS records (hosts that do this are blocked
as a -- very effective -- anti-spam measure).  Fix your mail server to
identify itself as gatehouse.quadtelecom.com and you should get past
this filter.

Kris



msg13469/pgp0.pgp
Description: PGP signature


Re: What are the SMTP rules for sending mail to FreeBSD

2002-12-28 Thread Len Conrad


Easier said than done.  I've been assigned 66.45.116.136/29 by the ISP.


.136 is not a power of 2 which is required for classless reverse 
delegation. It should be .132/29 or .140/29

I control DNS for quadtelecom.com, but I don't control the reverse 
lookup.  I'd like to know the exact algorithm in use, so that I can 
negotiate with my ISP.

For sub-Class C delegation, see the DNS  BIND book, 4th edition.

1. Your ISP creates a arbitrarily named node in the reverse domain and 
delegates the zone to you:

tabak.116.45.66.in-addr.arpa. NS ns1.quadtelecom.com.
tabak.116.45.66.in-addr.arpa. NS ns2.quadtelecom.com.

2. then for each ip in your tabak subzone he create a CNAME in his NS:

133.116.45.66.in-addr.arpa. CNAME 133.tabak.116.45.66.in-addr.arpa.
.
.
.
139.116.45.66.in-addr.arpa. CNAME 139.tabak.116.45.66.in-addr.arpa.

3. then in your NS:

133.tabak.116.45.66.in-addr.arpa. PTR name.what.ever.
.
.
.
139.tabak.116.45.66.in-addr.arpa. PTR hostname.some.dom.

The rule is that the parent domain's CNAME rdata field must, of course, be 
matched the child domain's PTR owner field.

For example, how are are hosts with multiple IP adresses handled?


put only one PTR per ip.

Len


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: What are the SMTP rules for sending mail to FreeBSD

2002-12-28 Thread Andrew Prewett
Today Harry Tabak wrote:

 Mail sent from my main server, gatehouse.quadtelecom.com (66.45.116.138)
 gets rejected.
_450_Client_host_rejected:_cannot_find_your_hostname,_[66.45.116.138]

 If 450 is some error code, then it's only a _temporary_ error/failure
(RFC 1893). Maybe the DNS servers using the old (cached) data.

-andrew


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: What are the SMTP rules for sending mail to FreeBSD

2002-12-28 Thread lewiz
On Sat, Dec 28, 2002 at 08:53:15AM -0500, Harry Tabak wrote:
 Mail sent from my main server, gatehouse.quadtelecom.com (66.45.116.138) 
 gets rejected.
   _450_Client_host_rejected:_cannot_find_your_hostname,_[66.45.116.138]

I'm getting this all the time too.  It seems that after a while my mails
just get through anyway.  In fact, just now they've been getting through
first time.  I'm sure my DNS is all messed up but it seems odd it gets
through after a few retries -- is that part of the filter?  If it's
persistent, let it in?

Does anybody know when this was implemented?

-lewiz.

-- 
Seminars, n.:
From semi and arse, hence, any half-assed discussion.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg13521/pgp0.pgp
Description: PGP signature


Re: What are the SMTP rules for sending mail to FreeBSD

2002-12-28 Thread Greg 'groggy' Lehey
On Saturday, 28 December 2002 at 11:27:53 -0600, Len Conrad wrote:

 Easier said than done.  I've been assigned 66.45.116.136/29 by the ISP.

 .136 is not a power of 2 which is required for classless reverse
 delegation.

They don't need to be powers of 2.

 It should be .132/29 or .140/29

No, they're not powers of 2 either.  The requirement for a /29 is that
the last 3 bits of the binary representation be 0.  Valid values in
this area are 128, 136 and 144.

 I control DNS for quadtelecom.com, but I don't control the reverse
 lookup.  I'd like to know the exact algorithm in use, so that I can
 negotiate with my ISP.

 For sub-Class C delegation, see the DNS  BIND book, 4th edition.

 snip

I think the real problem here is that Harry's ISP is too clueless to
handle reverse delegation.  Another possibility is that they
deliberately don't allocate a reverse address in order to stop him
from sending mail directly; if they relay via their mail server (which
appears to be mail.steelcityhosting.com, 66.45.117.3).

For more information, take a look at the following, which is a message
I send to systems which appear to be bona fide attempts from broken
reverse addresses.  Looking at the name of the sender, I'm sure this
one is not bona fide, and I didn't really send the message.  Most of
my double bounces come from spammers.

Greg



PLEASE READ THIS MESSAGE.  It contains important information about
problems at your site.  It is machine generated, but it is intended to
be intelligible.

The attached message is caused by a misconfiguration of your DNS
server: your mail server 65.60.8.2 claims to be
localhost.localdomain, which does not resolve.

As an anti-spam measure, we require reverse lookups for all mail we
accept.  This message will not be delivered unless you correct your
DNS configuration.

Since this situation has continued for a considerable period of time,
we must assume that it is not a transient problem.

If you believe this assessment is incorrect, or if you need help
resolving the problem, please contact me by phone at +61-8-8388-8286
between 9 am and 6 pm Central Australian time (currently GMT+1030).

***

[EMAIL PROTECTED], you have been copied on this message because
we have reasonable grounds to believe that you are not aware of these
problems, and that you have entrusted localdomain to deliver your mail for
you.  This message is an indication that localdomain is not perfoming this
task correctly.  If the situation continues, you should contact
localdomain support and get them to rectify the problem.

Greg Lehey

 From [EMAIL PROTECTED]  Thu Dec 26 15:50:55 2002
 Return-Path: [EMAIL PROTECTED]
 Delivered-To: [EMAIL PROTECTED]
 Received: by wantadilla.lemis.com (Postfix)
   id CD3025194A; Thu, 26 Dec 2002 15:50:55 +1030 (CST)
 Date: Thu, 26 Dec 2002 15:50:55 +1030 (CST)
 From: [EMAIL PROTECTED] (Mail Delivery System)
 To: [EMAIL PROTECTED] (Postmaster)
 Subject: Postfix SMTP server: errors from unknown[65.60.8.2]
 Message-Id: [EMAIL PROTECTED]
 X-Spam-Status: No, hits=1.1 required=5.0
   tests=MAILER_DAEMON,MAILTO_TO_SPAM_ADDR,SPAM_PHRASE_00_01
   version=2.41
 X-Spam-Level: *

 Transcript of session follows.

  Out: 220 wantadilla.lemis.com ESMTP Postfix
  In:  HELO localhost.localdomain
  Out: 250 wantadilla.lemis.com
  In:  MAIL FROM: [EMAIL PROTECTED]
  Out: 250 Ok
  In:  RCPT TO: [EMAIL PROTECTED]
  Out: 450 Client host rejected: cannot find your hostname, [65.60.8.2]

 Session aborted, reason: lost connection

--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: What are the SMTP rules for sending mail to FreeBSD

2002-12-28 Thread Greg 'groggy' Lehey
On Saturday, 28 December 2002 at 22:32:30 +, lewiz wrote:
 On Sat, Dec 28, 2002 at 08:53:15AM -0500, Harry Tabak wrote:
 Mail sent from my main server, gatehouse.quadtelecom.com (66.45.116.138)
 gets rejected.
   _450_Client_host_rejected:_cannot_find_your_hostname,_[66.45.116.138]

 I'm getting this all the time too.  It seems that after a while my mails
 just get through anyway.  In fact, just now they've been getting through
 first time.  I'm sure my DNS is all messed up but it seems odd it gets
 through after a few retries -- is that part of the filter?  If it's
 persistent, let it in?

No, this means that your DNS is flaky.  As somebody observed, this is
a transient error.  Your MTA retries about every 30 minutes for about
5 days, and sooner or later the reverse lookup succeeds, and your mail
is delivered.

 Does anybody know when this was implemented?

It's been around for some years.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: What are the SMTP rules for sending mail to FreeBSD

2002-12-28 Thread John Martinez

On Saturday, December 28, 2002, at 04:22  PM, Greg 'groggy' Lehey wrote:



No, this means that your DNS is flaky.  As somebody observed, this is
a transient error.  Your MTA retries about every 30 minutes for about
5 days, and sooner or later the reverse lookup succeeds, and your mail
is delivered.



I just change my sendmail config (the .mc file) to send a resolvable 
domain name in the EHLO/HELO part of the SMTP conversation. I use an 
unresolvable domain name inside of my home network, and my mail server 
is internal, so of course servers like FreeBSD's would reject my 
hostname as unresolvable.

If you're using sendmail, check out confDOMAIN_NAME.

-john


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: What are the SMTP rules for sending mail to FreeBSD

2002-12-28 Thread Kris Kennaway
On Sat, Dec 28, 2002 at 10:34:28PM -0500, Fuzzy wrote:
 
 On Sun, 29 Dec 2002, Greg 'groggy' Lehey wrote:
 
  On Saturday, 28 December 2002 at 22:32:30 +, lewiz wrote:
  No, this means that your DNS is flaky.  As somebody observed, this is
  a transient error.  Your MTA retries about every 30 minutes for about
  5 days, and sooner or later the reverse lookup succeeds, and your mail
  is delivered.
 
 I'm confused. I have an IP that has a lot of forward names,
 but the PTR points at the ISPs name. I don't have any trouble
 with sendmail sending and receiving internet email. even tho the
 PTR returns one of many name for the IP?

freebsd.org does not care if your reverse DNS mapping points back to
the name you identified yourself with, it only checks that the name
the server IDs itself as when submitting email resolves to the correct
IP address.

Many people (including me) have a working setup where reverse DNS
mappings do not give back the original hostname we ID with.

Kris



msg13535/pgp0.pgp
Description: PGP signature