From: Azad A (no email)
Date: Thu Aug 01 2002 - 07:07:56 EDT
Placed At :
Hi
I need to block an email id with this pattern ,the
number is getting changed an each mail.I ttried blocking it in header file ,but
its not rejecting
Below is the format given in header file and postconf -n, Theres a major spam
mail from this id
Format :
cat headercheck.map
/^(To:|From:). *pitster*@hotmail\.com/ REJECT
postconf -n
alias_maps = hash:/etc/aliases
append_at_myorigin = no
append_dot_mydomain = no
body_checks = regexp:/etc/postfix/maps/bodycheck.map
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/maps/headercheck.map
mail_name = Relay
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
maps_rbl_domains =
maximal_queue_lifetime = 3d
mydomain = satyam.net.in
myhostname = exchange.satyam.net.in
mynetworks = /etc/postfix/maps/mynetworks.map
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /etc/postfix/README/
relay_domains = /etc/postfix/maps/relay_domains.map
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_etrn_restrictions = permit_mynetworks
smtpd_recipient_restrictions =
hash:/etc/postfix/maps/access,permit_mynetworks,check_relay_domains
smtpd_sender_restrictions = hash:/etc/postfix/maps/access
Log file
Aug 1 16:17:38 exchange postfix/qmgr[32033]: 501F41B5B7:
from=<>, size=374, nrcpt=1 (queue active)
Aug 1 16:17:41 exchange postfix/smtp[8144]: 501F41B5B7: to=<>,
relay=mx2.mail.yahoo.com[64.157.4.88], delay=25, status=sent
(250 ok dirdel)
**********************************************************************************************
Quality Policy
"To be the best-in-class service provider by practising international
standards
in providing world-class services and end-to-end network solutions."
**********************************************************************************************
-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users
|
|
|