Re: unable to reach bsd-lists via mail [solved]

2011-06-20 Thread Christopher J. Ruwe
Thank you all for your kind help. The problem was apparently, that the HELO 
message of my postfix server did not match the rDNS.

Thanks again, cheers,
-- 
Christopher J. Ruwe
TZ GMT + 2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unable to reach bsd-lists via mail

2011-06-19 Thread Matthew Seaman
On 18/06/2011 23:29, Christopher J. Ruwe wrote:
 The mailer answers 220 mail.cruwe.de ESMTP Postfix when telnet'ed, so
 I guess that is what the mailer returns as hostname.
 
 I did not know about that DNS/rDNS issue ...

You need the name your mail server HELOs as to resolve both forwards and
reverse ---

 mail.cruwe.de  IN A   188.40.164.98
 98.164.40.188.in-addr.arpa IN PTR mail.cruwe.de

That's the thing the FreeBSD mail servers look for[*].

You don't need an A record for cruwe.de at all (at least, not for the
purposes of sending e-mail) MX records are all that is required so that
addresses of the form @cruwe.de will work:

cruwe.de IN MX 10 mail.cruwe.de

Cheers,

Matthew

[*] This HELO name doesn't have to be anything to do with the e-mail
addresses you use, so you could take the lazy path and use
vs532.sys-central.de for this purpose seeing as it already has the
correct forward and reverse mappings.  Mind you, that means you won't be
able to insert SPF records or other e-mail related bits as the zone
doesn't belong to you.

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: unable to reach bsd-lists via mail

2011-06-19 Thread Bernt Hansson

2011-06-19 08:22, Matthew Seaman skrev:

On 18/06/2011 23:29, Christopher J. Ruwe wrote:

The mailer answers 220 mail.cruwe.de ESMTP Postfix when telnet'ed, so
I guess that is what the mailer returns as hostname.

I did not know about that DNS/rDNS issue ...


You need the name your mail server HELOs as to resolve both forwards and
reverse ---


No. Our mailserver does not resolve DNS/rDNS and I can send mail
without problems to freebsd.org.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unable to reach bsd-lists via mail

2011-06-19 Thread Paul Macdonald

On 19/06/2011 13:03, Bernt Hansson wrote:

2011-06-19 08:22, Matthew Seaman skrev:

On 18/06/2011 23:29, Christopher J. Ruwe wrote:

The mailer answers 220 mail.cruwe.de ESMTP Postfix when telnet'ed, so
I guess that is what the mailer returns as hostname.

I did not know about that DNS/rDNS issue ...


You need the name your mail server HELOs as to resolve both forwards and
reverse ---


No. Our mailserver does not resolve DNS/rDNS and I can send mail
without problems to freebsd.org.


reverse dns is definately a good thing to have in place if you want your 
mail to be accepted by remote MTA's.


I didn't see the OP post an error message in this thread, that would be 
a good place to start.



--
-
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-
t: 0131 5548070
m: 07534206249
e: p...@ifdnrg.com
w: http://www.ifdnrg.com
-
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
-


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unable to reach bsd-lists via mail

2011-06-19 Thread Christopher J. Ruwe
On Sun, 19 Jun 2011 13:13:22 +0100
Paul Macdonald p...@ifdnrg.com wrote:

 On 19/06/2011 13:03, Bernt Hansson wrote:
  2011-06-19 08:22, Matthew Seaman skrev:
  On 18/06/2011 23:29, Christopher J. Ruwe wrote:
  The mailer answers 220 mail.cruwe.de ESMTP Postfix when
  telnet'ed, so I guess that is what the mailer returns as hostname.
 
  I did not know about that DNS/rDNS issue ...
 
  You need the name your mail server HELOs as to resolve both
  forwards and reverse ---
 
  No. Our mailserver does not resolve DNS/rDNS and I can send mail
  without problems to freebsd.org.
 
 
 reverse dns is definately a good thing to have in place if you want
 your mail to be accepted by remote MTA's.
 
 I didn't see the OP post an error message in this thread, that would
 be a good place to start.
 
 

Thanks for all the effort ... somehow, posting an error message was the
*one* thing I forgot:

Jun 19 14:23:37 mail postfix/smtp[9416]: CE6A019C50:
to=freebsd-t...@freebsd.org, relay=mx1.freebsd.org[69.147.83.52]:25,
delay=944, delays=943/0.03/0.86/0.19, dsn=4.7.1, status=deferred (host
mx1.freebsd.org[69.147.83.52] said: 450 4.7.1 Client host rejected:
cannot find your hostname, [188.40.164.98] (in reply to RCPT TO
command))

Thanks again, cheers
-- 
Christopher J. Ruwe
TZ GMT + 2

-- 
Christopher J. Ruwe
TZ GMT + 2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unable to reach bsd-lists via mail

2011-06-19 Thread Paul Macdonald



Thanks for all the effort ... somehow, posting an error message was the
*one* thing I forgot:

Jun 19 14:23:37 mail postfix/smtp[9416]: CE6A019C50:
to=freebsd-t...@freebsd.org, relay=mx1.freebsd.org[69.147.83.52]:25,
delay=944, delays=943/0.03/0.86/0.19, dsn=4.7.1, status=deferred (host
mx1.freebsd.org[69.147.83.52] said: 450 4.7.1 Client host rejected:
cannot find your hostname, [188.40.164.98] (in reply to RCPT TO
command))

Thanks again, cheers

I'm not that familiar with postfix, but the issue does look rdns related.

Under sendmail, on hosts with multiple names you have to make sure the 
hostname it uses to make the connection is the one that all your reverse 
dns is setup for.
(your rdns does resolve backwards and forwards , but the ptr cruwe.de is 
possibly not what your mail server advertises its hostname with ( not 
neccesarily the same when you telnet in the make an incoming conn).


#dig -x 188.40.164.98 +short
cruwe.de
If you mail me direct i can tell you what hostname i see, thats the one 
i'd try adding the rdns for.


Paul.


--
-
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-
t: 0131 5548070
m: 07534206249
e: p...@ifdnrg.com
w: http://www.ifdnrg.com
-
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
-


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unable to reach bsd-lists via mail

2011-06-19 Thread Christopher J. Ruwe
On Sun, 19 Jun 2011 14:12:46 +0100
Paul Macdonald p...@ifdnrg.com wrote:

 
  Thanks for all the effort ... somehow, posting an error message was
  the *one* thing I forgot:
 
  Jun 19 14:23:37 mail postfix/smtp[9416]: CE6A019C50:
  to=freebsd-t...@freebsd.org,
  relay=mx1.freebsd.org[69.147.83.52]:25, delay=944,
  delays=943/0.03/0.86/0.19, dsn=4.7.1, status=deferred (host
  mx1.freebsd.org[69.147.83.52] said: 450 4.7.1 Client host rejected:
  cannot find your hostname, [188.40.164.98] (in reply to RCPT TO
  command))
 
  Thanks again, cheers
 I'm not that familiar with postfix, but the issue does look rdns
 related.
 
 Under sendmail, on hosts with multiple names you have to make sure
 the hostname it uses to make the connection is the one that all your
 reverse dns is setup for.
 (your rdns does resolve backwards and forwards , but the ptr cruwe.de
 is possibly not what your mail server advertises its hostname with
 ( not neccesarily the same when you telnet in the make an incoming
 conn).
 
 #dig -x 188.40.164.98 +short
 cruwe.de
 If you mail me direct i can tell you what hostname i see, thats the
 one i'd try adding the rdns for.
 
 Paul.
 

I have asked my provider to set rDNS for 188.40.164.98 to
cruwe.de, which he has, and changed the $myhostname to cruwe.de (was
mail.cruwe.de before). Currently, I am waiting for DNS to permeate to
the caches and will try with freebsd-test@ again tomorrow. 

Thanks again,
-- 
Christopher J. Ruwe
TZ GMT + 2


-- 
Christopher J. Ruwe
TZ GMT + 2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


unable to reach bsd-lists via mail

2011-06-18 Thread Christopher J. Ruwe
I have a problem with my mail-server configuration so that mail sent
will not reach any freebsd adresses. The solutions offered in similar
mails already accessible via various archives did not help :-( 

I usually send mail from the domain cruwe.de with the mail-server
mail.cruwe.de.

My configration is as such, that

$ host cruwe.de
cruwe.de has address 188.40.164.98
cruwe.de mail is handled by 10 mail.cruwe.de.

and

$ host mail.cruwe.de
mail.cruwe.de has address 188.40.164.98
mail.cruwe.de mail is handled by 10 mail.cruwe.de.

Now,

$ dig cruwe.de

;  DiG 9.6.3  cruwe.de
;; global options: +cmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 32046
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;cruwe.de.  IN  A

;; ANSWER SECTION:
cruwe.de.   300 IN  A   188.40.164.98

;; Query time: 73 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Sat Jun 18 17:51:14 2011
;; MSG SIZE  rcvd: 42

is right and

[chris@dijkstra:~]$ dig -x 188.40.164.98

;  DiG 9.6.3  -x 188.40.164.98
;; global options: +cmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 40136
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;98.164.40.188.in-addr.arpa.IN  PTR

;; ANSWER SECTION:
98.164.40.188.in-addr.arpa. 267 IN  PTR cruwe.de.

;; Query time: 10 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Sat Jun 18 17:51:48 2011
;; MSG SIZE  rcvd: 66

seems to be OK.

Does anyone have an idea what could be the issue?

Thank you, cheers
-- 
Christopher J. Ruwe
TZ GMT + 2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


unable to reach bsd-lists via mail

2011-06-18 Thread Christopher J. Ruwe
I have a problem with my mail-server configuration so that mail sent
will not reach any freebsd adresses. The solutions offered in similar
mails already accessible via various archives did not help :-(

I usually send mail from the domain cruwe.de with the mail-server mail.cruwe.de.

My configration is as such, that

$ host cruwe.de
cruwe.de has address 188.40.164.98
cruwe.de mail is handled by 10 mail.cruwe.de.

and

$ host mail.cruwe.de
mail.cruwe.de has address 188.40.164.98
mail.cruwe.de mail is handled by 10 mail.cruwe.de.

Now,

$ dig cruwe.de

;  DiG 9.6.3  cruwe.de
;; global options: +cmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 32046
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;cruwe.de.  IN  A

;; ANSWER SECTION:
cruwe.de.   300 IN  A   188.40.164.98

;; Query time: 73 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Sat Jun 18 17:51:14 2011
;; MSG SIZE  rcvd: 42

is right and

[chris@dijkstra:~]$ dig -x 188.40.164.98

;  DiG 9.6.3  -x 188.40.164.98
;; global options: +cmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 40136
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;98.164.40.188.in-addr.arpa.IN  PTR

;; ANSWER SECTION:
98.164.40.188.in-addr.arpa. 267 IN  PTR cruwe.de.

;; Query time: 10 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Sat Jun 18 17:51:48 2011
;; MSG SIZE  rcvd: 66

seems to be OK.

Does anyone have an idea what could be the issue?

Thank you, cheers
-- 
Christopher J. Ruwe
TZ GMT + 2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unable to reach bsd-lists via mail

2011-06-18 Thread Jon Radel


On 6/18/11 11:53 AM, Christopher J. Ruwe wrote:


I have a problem with my mail-server configuration so that mail sent
will not reach any freebsd adresses. The solutions offered in similar
mails already accessible via various archives did not help :-(


And yet, yet, yet, here is your mail.  In duplicate no less.

Next time please:

1)  tell us what you actually mean by will not reach
2)  keep in mind that some mailing lists greylist incoming mail

In other words, be specific and patient.

--Jon Radel
j...@radel.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unable to reach bsd-lists via mail

2011-06-18 Thread Daniel Staal
On Saturday, June 18, 2011 11:53:57 AM Christopher J. Ruwe wrote:
 I have a problem with my mail-server configuration so that mail sent
 will not reach any freebsd adresses. The solutions offered in similar
 mails already accessible via various archives did not help :-(
 
 I usually send mail from the domain cruwe.de with the mail-server
 mail.cruwe.de.
 
 My configration is as such, that
 
 $ host cruwe.de
 cruwe.de has address 188.40.164.98
 cruwe.de mail is handled by 10 mail.cruwe.de.
 
 and
 
 $ host mail.cruwe.de
 mail.cruwe.de has address 188.40.164.98
 mail.cruwe.de mail is handled by 10 mail.cruwe.de.
[snip]
 
 seems to be OK.
 
 Does anyone have an idea what could be the issue?
 
 Thank you, cheers

What does you mailer return as the hostname?  (Not the box on which your 
mailer is runing, but the mail server itself.  Often it can be set 
seperately.)  The FreeBSD lists are picky about having that match the DNS 
entries for your domain.

Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unable to reach bsd-lists via mail

2011-06-18 Thread Christopher J. Ruwe
On Sat, 18 Jun 2011 15:57:08 -0400
Daniel Staal dst...@usa.net wrote:

 On Saturday, June 18, 2011 11:53:57 AM Christopher J. Ruwe wrote:
  I have a problem with my mail-server configuration so that mail sent
  will not reach any freebsd adresses. The solutions offered in
  similar mails already accessible via various archives did not
  help :-(
  
  I usually send mail from the domain cruwe.de with the mail-server
  mail.cruwe.de.
  
  My configration is as such, that
  
  $ host cruwe.de
  cruwe.de has address 188.40.164.98
  cruwe.de mail is handled by 10 mail.cruwe.de.
  
  and
  
  $ host mail.cruwe.de
  mail.cruwe.de has address 188.40.164.98
  mail.cruwe.de mail is handled by 10 mail.cruwe.de.
 [snip]
  
  seems to be OK.
  
  Does anyone have an idea what could be the issue?
  
  Thank you, cheers
 
 What does you mailer return as the hostname?  (Not the box on which
 your mailer is runing, but the mail server itself.  Often it can be
 set seperately.)  The FreeBSD lists are picky about having that match
 the DNS entries for your domain.
 
 Daniel T. Staal
 
 ---
 This email copyright the author.  Unless otherwise noted, you
 are expressly allowed to retransmit, quote, or otherwise use
 the contents for non-commercial purposes.  This copyright will
 expire 5 years after the author's death, or in 30 years,
 whichever is longer, unless such a period is in excess of
 local copyright law.
 ---
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

I am not entirely sure what you mean with what the mailer returns as
hostname. The setup is as such, that cruwe.de is a FreeBSD box and
mail.cruwe.de is a jail on cruwe.de, to which the mail ports are
forwarded by packet filter. Both cruwe.de and mail.cruwe.de are
addressed with A records.

The mailer answers 220 mail.cruwe.de ESMTP Postfix when telnet'ed, so
I guess that is what the mailer returns as hostname.

I did not know about that DNS/rDNS issue ...

$ dig mail.cruwe.de 
;  DiG 9.4.3-P4  mail.cruwe.de
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 2343
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.cruwe.de. IN  A

;; ANSWER SECTION:
mail.cruwe.de.  168 IN  A   188.40.164.98

;; Query time: 1 msec
;; SERVER: 83.133.84.53#53(83.133.84.53)
;; WHEN: Sun Jun 19 00:15:13 2011
;; MSG SIZE  rcvd: 47



$dig -x 188.40.164.98
;  DiG 9.4.3-P4  -x 188.40.164.98
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 23225
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;98.164.40.188.in-addr.arpa.IN  PTR

;; ANSWER SECTION:
98.164.40.188.in-addr.arpa. 57111 INPTR vs532.sys-central.de.

;; Query time: 1 msec
;; SERVER: 83.133.84.53#53(83.133.84.53)
;; WHEN: Sun Jun 19 00:16:08 2011
;; MSG SIZE  rcvd: 78

(The server is a rented virtual machine.) Am I right that I need to set
the rDNS of 188.40.164.98 to mail.cruwe.de to make the freebsd.org
servers accept my mail or that, should I set the rDNS to cruwe.de, I
should make the mailer on mail.cruwe.de identify itself as cruwe.de
instead of mail.cruwe.de?

Anyway, thank you very much for your help,
-- 
Christopher J. Ruwe
TZ GMT + 2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unable to reach bsd-lists via mail

2011-06-18 Thread Daniel Staal
--As of June 19, 2011 12:29:02 AM +0200, Christopher J. Ruwe is alleged to 
have said:



(The server is a rented virtual machine.) Am I right that I need to set
the rDNS of 188.40.164.98 to mail.cruwe.de to make the freebsd.org
servers accept my mail or that, should I set the rDNS to cruwe.de, I
should make the mailer on mail.cruwe.de identify itself as cruwe.de
instead of mail.cruwe.de?

Anyway, thank you very much for your help,


--As for the rest, it is mine.

In postfix, the relevant setting is 'myhostname' in main.cf for the 
hostname.


From my experience, it doesn't have to match the rDNS.  It needs to match 
the MX record.  But, you should be able to see what they are saying as a 
rejection notice from your logs.


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org