Code: Select all
$ telnet mail.blah.com 25
Trying 11.22.33.44...
Connected to mail.blah.com.
Escape character is '^]'.
220 mail.blah.com ESMTP Scalix SMTP Relay 9.2.1.24; Mon, 27 Jun 2005 13:02:51 -0600 (MDT)EHLO in.foo.org
250-mail.blah.com Hello in.foo.org [44.55.66.77], pleased to meet you
250-AUTH PLAIN LOGIN GSSAPI
250-AUTH=LOGIN
250-DSN
250 8BITMIME
MAIL From:<relaytestsend@rt.njabl.org>
250 relaytestsend@rt.njabl.org... Sender ok
RCPT To:<relaytest%rr.njabl.org@mail.ibnads.com>
250 Ok
If I try a traditional email address (without the percent sign), it does, indeed deny the email with the spam rule.
Here is the smtpd.cfg:
Code: Select all
# Accept mail for our domains
RECIPIENT accept *@blah.com
RECIPIENT accept *@mail.blah.com
# Local Relays
RELAY accept 127.0.0.1
RELAY accept .blah.com
RELAY accept .mail.blah.com
RELAY Log_Reject ALL
# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*
What's wrong?