Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: postfix and mail header
PostPosted: Mon Aug 29, 2005 2:27 am 
Offline
Senior Newbie

Joined: Thu Oct 21, 2004 11:48 am
Posts: 17
when i look in the file: /var/mail/username i see a heaer line like this:

Code:
Received: from 172.16.4.32 (unknown [81.181.177.254])


I use it to put some bad ips in my postfix config files to stop spam.

But i do not know which one to get from the above line and use it in my bad ips list. and what each one means. If anybody can enlighten me I would appreciatte it.

Thank you in advance

jgabios

_________________
jlin

http://www.jlin.ro
office@jlin.ro


Top
   
 Post subject:
PostPosted: Mon Aug 29, 2005 3:01 am 
Offline
Senior Member
User avatar

Joined: Tue Jan 04, 2005 7:32 am
Posts: 277
Website: http://www.betadome.com/
Location: Ă…lesund, Norway
Skype: neonnero
Twitter: neonnero
The second one (81.181.177.254) would be the actual IP address of the sender server (or client). This log line (which would also appear as an added "Received:" header in successfully transported mail) indicates that the sender tries to pass itself off with the IP address 172.16.4.32, which just belongs to a range that is used for a private network.

Code:
3. Private Address Space

   The Internet Assigned Numbers Authority (IANA) has reserved the
   following three blocks of the IP address space for private internets:

     10.0.0.0        -   10.255.255.255  (10/8 prefix)
     172.16.0.0      -   172.31.255.255  (172.16/12 prefix)
     192.168.0.0     -   192.168.255.255 (192.168/16 prefix)

Excerpt from RFC 1918, the whole document can be read here:
http://www.faqs.org/rfcs/rfc1918.html

The IP address range 81.181.176.0 - 81.181.177.255, however, belongs to "SC Estel Service Net Srl" in Romania. You might also get in touch with them if you believe they have an abusive client on their network.
http://www.ripe.net/whois?form_type=sim ... rch=Search


Top
   
 Post subject: thanks
PostPosted: Mon Aug 29, 2005 7:31 am 
Offline
Senior Newbie

Joined: Thu Oct 21, 2004 11:48 am
Posts: 17
thank you.

_________________
jlin



http://www.jlin.ro

office@jlin.ro


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group