|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: [ripper] (ripper
evhr.net)Date: Wed Mar 06 2002 - 15:19:46 CST
Thanks it looks as if it's working !
i've still got a problem though with the check_client_access that doesn't
work here is the postconf output :
[root
smith maillog]# postconf smtpd_recipient_restrictions
smtpd_recipient_restrictions = permit_mynetworks check_sender_access
hash:/etc/postfix/sender check_client_access
mysql:/etc/postfix/pop-before-smtp.cf check_relay_domains
[root
smith maillog]#
the pop-before-smtp.conf :
user = postfix
password = ********
dbname = mail_hosting
table = relay_ip
select_field = policy
where_field = ip
hosts = localhost
the dump of the relay_ip table :
#
# Structure de la table `relay_ip`
#
CREATE TABLE relay_ip (
ip varchar(15) NOT NULL default '',
ts datetime NOT NULL default '0000-00-00 00:00:00',
policy varchar(7) NOT NULL default 'OK',
KEY ip (ip)
) TYPE=MyISAM;
The error i get in the syslog is :
Feb 27 04:58:45 smith postfix/smtpd[29258]: warning: unknown smtpd
restriction: "OK"
Feb 27 04:58:45 smith postfix/smtpd[29258]: reject: RCPT from
modemcable235.156-135-76.que.mc.videotron.ca[76.135.156.235]: 451 Server
configuration error; from=<xer
test.net> to=<keri
test.org>
(ip and email adress have been modified to preverve users security)
if somebody could help me to find out the problem it would be a big relief
!!
[ripper]
-----Message d'origine-----
De : owner-postfix-users
postfix.org
[mailto:owner-postfix-users
postfix.org]De la part de Ralf Hildebrandt
Envoye : mercredi 6 mars 2002 21:57
A : Postfix-Users
Objet : Re: Blocking 1 email adress
On Wed, Mar 06, 2002 at 09:40:57PM +0100, [ripper] wrote:
> The users of our server are getting lots of mail from root
fun.com
> containing virus is there a way to refuse mails from this user ?
in your smtpd_recipient_restrictions add:
check_sender_access hash:/etc/postfix/sender
check what they are using "postconf smtpd_recipient_restrictions"
and add the stuff above between permit_mynetworks and
check_relay_doamins
In /etc/postfix/sender use:
root
fun.com 554 Bloody spammer, die die die!
Then run "postmap sender"
-- Ralf Hildebrandt (Im Auftrag des Referat V A) Ralf.Hildebrandtcharite.de Charite Campus Virchow-Klinikum Tel. +49 (0)30-450 570-155 Referat V A - Kommunikationsnetze - Fax. +49 (0)30-450 570-916 Remember, all software sucks. Some sucks more, and some sucks less. But it sucks regardless. If I want to see something elegant I go look for a piece of art.
- To unsubscribe, send mail to majordomo
postfix.org with content (not subject): unsubscribe postfix-users
- To unsubscribe, send mail to majordomo
postfix.org with content (not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]