[H-GEN] Mail access file
Mark Suter
suter at zwitterion.humbug.org.au
Thu Aug 21 07:36:14 EDT 2003
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David,
> The 150.101.179.78 is marvin's static ip address. How can I reject
> mail like this? I tried putting that ip address in /etc/mail/access
> but that does not seem to have had any effect. Yes, I did do the
> database re-build and re-start sendmail. Am I on the right track?
No. Let's take a closer look at that suspect header you gave us:
> Received: from 150.101.179.78 ([61.11.75.19])
The address on the left is whatever the mailserver called itself
with the "EHLO" command - it's red herring in this case. Here's
a complete example:
$ nc -v mail.audiovisualdevices.com.au smtp
DNS fwd/rev mismatch: mail.audiovisualdevices.com.au != eth79.qld.adsl.internode.on.net
mail.audiovisualdevices.com.au [150.101.179.78] 25 (smtp) open
220 marvin.audiovisualdevices.com.au ESMTP Sendmail 8.11.6/8.11.6; Thu, 21 Aug 2003 22:12:11 +1000
HELO a-sample-string
250 marvin.audiovisualdevices.com.au Hello dyn232.bne1.homedsl.pacific.net.au [203.143.244.232], pleased to meet you
MAIL FROM:<suter at humbug.org.au>
250 2.1.0 <suter at humbug.org.au>... Sender ok
RCPT TO:<david at audiovisualdevices.com.au>
250 2.1.5 <david at audiovisualdevices.com.au>... Recipient ok
DATA
354 Enter mail, end with "." on a line by itself
Very simple test email.
.
250 2.0.0 h7LCD3t18388 Message accepted for delivery
QUIT
221 2.0.0 marvin.audiovisualdevices.com.au closing connection
Lesson: take care when reading headers!
Yours sincerely,
- -- Mark John Suter | I know that you believe you understand
suter at humbug.org.au | what you think I said, but I am not sure
gpg key id 2C71D63D | you realise that what you heard is not
mobile 0411 262 316 | what I meant. Robert J. McCloskey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Check Keyservers or http://zwitterion.org/keys/
iD8DBQE/RK6uRYso2ixx1j0RArq4AJ9z8ZxjuNnTFjCt4qTEy+D/UtToTACfeH2J
r9Mux489xLMKT/9aQKtnItE=
=srp7
-----END PGP SIGNATURE-----
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'. See http://www.humbug.org.au/
More information about the General
mailing list