Hello All

I'm trying to move from Opensmtpd 6.0.2p1 to 6.4.0p2 my email server hosted at 
home.
I'm running Linux on Raspberry Pi.

I didn't face any issue with the release 6.0.2. But after migrated the 
smtpd.conf file in 6.4.0p2 format, I'm not able to send or receive emails 
properly through smtp protocol.

For each attempt to send an email, I get the message "smtpd[]: no rule matched" 
which leads to result="550 Invalid recipient ».

Dec  1 20:29:45 smtpd[29376]: 641781d3ab71ac4d smtp authentication 
user=francois address=192.168.0.1 host=192.168.0.1 result=ok
Dec  1 20:29:45 smtpd[29376]: smtp: 0x22a4660: >>> 235 2.0.0: Authentication 
succeeded
Dec  1 20:29:45 smtpd[29376]: smtp: 0x22a4660: STATE_AUTH_INIT -> STATE_HELO
Dec  1 20:29:45 smtpd[29376]: smtp: 0x22a4660: IO_LOWAT <io:0x22d0338 fd=16 
to=300000 fl=W ssl=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256 ib=0 ob=0>
Dec  1 20:29:45 smtpd[29376]: smtp: 0x22a4660: IO_DATAIN <io:0x22d0338 fd=16 
to=300000 fl=R ssl=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256 ib=37 ob=0>
Dec  1 20:29:45 smtpd[29376]: smtp: 0x22a4660: <<< MAIL 
FROM:<[email protected]>
Dec  1 20:29:45 smtpd[29376]: mproc: pony -> queue : 8 IMSG_SMTP_MESSAGE_CREATE
Dec  1 20:29:45 smtpd[29377]: imsg: queue <- pony: IMSG_SMTP_MESSAGE_CREATE 
(len=8)
Dec  1 20:29:45 smtpd[29377]: queue-backend: queue_message_create() -> 1 
(cc9fdc77)
Dec  1 20:29:45 smtpd[29377]: mproc: queue -> pony : 16 IMSG_SMTP_MESSAGE_CREATE
Dec  1 20:29:45 smtpd[29376]: imsg: pony <- queue: IMSG_SMTP_MESSAGE_CREATE 
(len=16)
Dec  1 20:29:45 smtpd[29376]: smtp: 0x22a4660: >>> 250 2.0.0: Ok
Dec  1 20:29:45 smtpd[29376]: smtp: 0x22a4660: IO_LOWAT <io:0x22d0338 fd=16 
to=300000 fl=W ssl=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256 ib=0 ob=0>
Dec  1 20:29:45 smtpd[29376]: smtp: 0x22a4660: IO_DATAIN <io:0x22d0338 fd=16 
to=300000 fl=R ssl=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256 ib=30 ob=0>
Dec  1 20:29:45 smtpd[29376]: smtp: 0x22a4660: <<< RCPT TO:<[email protected]>
Dec  1 20:29:45 smtpd[29376]: mproc: pony -> lka : 293 IMSG_SMTP_EXPAND_RCPT
Dec  1 20:29:45 smtpd[29375]: imsg: lka <- pony: IMSG_SMTP_EXPAND_RCPT (len=293)
Dec  1 20:29:45 smtpd[29375]: expand: 0x11ad800: expand_insert() called for 
address:[email protected][parent=(nil), rule=(nil)]
Dec  1 20:29:45 smtpd[29375]: expand: 0x11ad800: inserted node 0x11aae10
Dec  1 20:29:45 smtpd[29375]: expand: lka_expand: address: [email protected] 
[depth=0]
Dec  1 20:29:45 smtpd[29375]: lookup: check "192.168.0.1" as NETADDR in table 
static:<anyhost> -> found
Dec  1 20:29:45 smtpd[29375]: lookup: check "redarmor.net" as DOMAIN in table 
static:<anydestination> -> found
Dec  1 20:29:45 smtpd[29375]: lookup: check « [email protected]" as MAILADDR 
in table static:indesirables -> 0
Dec  1 20:29:45 smtpd[29375]: lookup: check "192.168.0.1" as NETADDR in table 
static:<localhost> -> 0
Dec  1 20:29:45 smtpd[29375]: lookup: check "192.168.0.1" as NETADDR in table 
static:<localhost> -> 0
Dec  1 20:29:45 smtpd[29375]: no rule matched
Dec  1 20:29:45 smtpd[29375]: mproc: lka -> pony : 34 IMSG_SMTP_EXPAND_RCPT
Dec  1 20:29:45 smtpd[29375]: expand: 0x11ad800: clearing expand tree
Dec  1 20:29:45 smtpd[29376]: imsg: pony <- lka: IMSG_SMTP_EXPAND_RCPT (len=34)
Dec  1 20:29:45 smtpd[29376]: smtp: 0x22a4660: >>> 550 Invalid recipient
Dec  1 20:29:45 smtpd[29376]: 641781d3ab71ac4d smtp failed-command 
address=192.168.0.1 host=192.168.0.1 command="RCPT TO:<[email protected]>" 
result="550 Invalid recipient"

Here after an extract of my smtpd.conf :

listen on 127.0.0.1
listen on $lan_addr tls-require pki mail.example.org hostname mail.example.org
listen on $lan_addr smtps pki mail.example.org auth hostname mail.example.org 
mask-src
listen on $lan_addr port 587 tls-require pki mail.example.org auth hostname 
mail.example.org mask-src

table aliases file:/etc/aliases
table indesirables { "@qq.com » }

action distribuer mbox alias <aliases>
action relayer relay

match from any mail-from <indesirables> for any reject
match for local action distribuer
match for any action relayer

I don't understand my mistake. For information, I compiled the binaries from 
the sources, maybe I missed to set something in the Makefile.
Thanks in advance for your support.

BR, François.
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to