A ver, que creo que me estoy comiendo algo: # grep sexonoticias /etc/postfix/access sexonoticias.net 550 Spammers not welcome here! # grep /etc/postfix/access /etc/postfix/main.cf smtp_sender_restrictions = hash:/etc/postfix/access
He probado tambi�n "hash:/etc/postfix/access.db".
# pwd
/etc/postfix
# postmap access
# ls -l access*
-rw-r--r-- 1 root root 21948 Jul 9 13:02 access
-rw-r--r-- 1 root root 45056 Jul 9 13:06 access.db
# /etc/init.d/postfix reload
Reloading Postfix configuration...done.
# _
En syslog.....
Jul 9 13:06:10 genus postfix-script: refreshing the Postfix mail system
Jul 9 13:06:10 genus postfix/master[30578]: reload configuration
Bien, y ahora la prueba de fuego:
$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 genus.cyberchat2000.com ESMTP Postfix
HELO hue
250 genus.cyberchat2000.com
MAIL FROM: <[EMAIL PROTECTED]>
250 Ok
RCPT TO: <[EMAIL PROTECTED]>
250 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
uolass
.
250 Ok: queued as 26EE5D738
QUIT
221 Bye
Connection closed by foreign host.
$ _
Y en syslog...
[...]
Jul 9 13:12:40 genus postfix/qmgr[7392]: 7A9C6D738: from=<[EMAIL PROTECTED]>,
size=358 (queue active)
Jul 9 13:12:40 genus postfix/local[7424]: 7A9C6D738: to=<[EMAIL PROTECTED]>,
relay=local, delay=10, status=sent ("|/usr/bin/procmail")
[...]
�Por qu� el mensaje llega?
--
David Serrano <[EMAIL PROTECTED]> - Linux Registered User #87069
pgp4SDyaCIc9v.pgp
Description: PGP signature

