ERROR 550 Invalid recipient
Dear Community - i need your Help --- OS: FreeBSD Mail Server: OpenSMTPD --- Issue: all mails from Localhost to any external Domains with command sendmail Example: sendmail -v -f v...@bixxx.com xx...@icloud.com became ERROR 550 Invalid recipient Maybe you have any ideas..? --- My simple OpenSMTPD Config Version: --- table aliases file:/etc/mail/aliases listen on localhost action "relay" relay match from local for any action "relay" --- sendmail -v -f v...@bixxx.com vb_...@icloud.com Subject: BB Body vb_...@icloud.com... Connecting to [127.0.0.1] via relay... 220 server.biXXX.com ESMTP OpenSMTPD >>> EHLO biXXX.com 250-server.biXXX.com Hello biXXX.com [127.0.0.1], pleased to meet you 250-8BITMIME 250-ENHANCEDSTATUSCODES 250-SIZE 36700160 250-DSN 250 HELP >>> MAIL From: SIZE=17 250 2.0.0 Ok >>> RCPT To: 550 Invalid recipient: >>> DATA 503 5.5.4 Invalid command arguments: No recipient specified >>> RSET 250 2.0.0 Reset state >>> RSET 250 2.0.0 Reset state v...@bixxx.com... Using cached ESMTP connection to [127.0.0.1] via relay... >>> MAIL From:<> SIZE=1041 250 2.0.0 Ok >>> RCPT To: 250 2.1.5 Destination address valid: Recipient ok >>> DATA 354 Enter mail, end with "." on a line by itself >>> . 250 2.0.0 f0171de4 Message accepted for delivery v...@bixxx.com... Sent (f0171de4 Message accepted for delivery) Closing connection to [127.0.0.1] >>> QUIT 221 2.0.0 Bye -
Re: OpenSMTPD ERROR 550 Invalid recipient
Hi, you havematch from local for local action "local" match from any for domain action "local" match from any auth for any action "relay" in your config. So I think what you see is the expected behaviour, because sendmail did not authenticate and icloud.com is probably not in . If you want unauthenticated local connections to be able to send mails to everyone, you need to add a match from local for any. I hope this helps. Best regards, Matthias
Re: OpenSMTPD ERROR 550 Invalid recipient
It's Rspamd crashing somewhere. Check it.
OpenSMTPD ERROR 550 Invalid recipient
Dear Community - need your Help All mails from Localhost - like PHP Mail / command sendmail Example: sendmail -v -f v...@bixxx.com xx...@icloud.com became ERROR 550 Invalid recipient - Transcript of session follows - ... while talking to [127.0.0.1]: RCPT To: <<< 550 Invalid recipient: 550 5.1.1 xx...@icloud.com... User unknown DATA <<< 503 5.5.4 Invalid command arguments: No recipient specified Reporting-MTA: dns; biXXX.com but all mail from external mail client software working fine. OpenSMTPD Config: filter rspamd proc-exec "/usr/local/libexec/opensmtpd/opensmtpd-filter-rspamd" listen on localhost listen on em0 tls pki server.biXXX.com auth-optional filter rspamd listen on em0 smtps pki server.biXXX.com auth filter rspamd listen on em0 port submission tls-require pki server.biXXX.com auth filter rspamd action "local" lmtp "/var/run/dovecot/lmtp" rcpt-to virtual action "relay" relay helo server.biXXX.com match from local for local action "local" match from any for domain action "local" match from any auth for any action "relay"
Re: Error 550 Invalid recipient after update (rollback won't work)
Hi, managed to find the issue. It wasn't opensmtpd after all but a permissions issue on the systems ldap.conf that got changed for so far unknown reasons. Thanks, Michael On 2014-06-05 08:21, Michael Lechtermann wrote: Hi again, just noticed that not only I currently can not receive any mails, relayed mails are also empty. Any help would really be appreciated. Thanks, Michael Am 04.06.2014 um 15:13 schrieb Michael : Hi, after updating to opensmtpd-devel-201405202105_1,1 on FreeBSD I always get "550 Invalid recipient" when an email is being send to the server, no matter if the recipient is local or virtual. Sending mails works however, just receiving is impossible. Already tried to rollback to the previous version but that also fails now for whatever reason. I hope you can help. Thanks, Michael Config: # cat /usr/local/etc/mail/smtpd.conf # This is the smtpd server system-wide configuration file. # See smtpd.conf(5) for more information. # certificates pki mail.XXX.org ca "/etc/ssl/certs/CAcert.crt" pki mail.XXX.org certificate "/etc/ssl/certs/mail.XXX.org.crt" pki mail.XXX.org key "/etc/ssl/private/mail.XXX.org.key" # tables table aliases file:/etc/mail/aliases table ldap ldap:/usr/local/etc/mail/ldap.conf table ldap.virtusertable file:/usr/local/etc/mail/ldap.virtusertable # listeners listen on lo0 tls pki mail.XXX.org listen on lo0 port 587 tls-require pki mail.XXX.org auth listen on lo0 port 10028 tag DKIM # routing accept from any for domain virtual deliver to mda "/usr/local/bin/procmail -f -" accept for local alias deliver to mbox accept tagged DKIM for any relay accept for any relay via smtp://172.16.94.21:10027 Log: debug: smtp: new client on listener: 0x673b88 smtp: 0x80249: STATE_NEW -> STATE_CONNECTED smtp-in: New session 9ee6a70077015346 from host 0@localhost [local] smtp: 0x80249: >>> 220 localhost ESMTP OpenSMTPD smtp: 0x80249: <<< EHLO localhost smtp: 0x80249: STATE_CONNECTED -> STATE_HELO smtp: 0x80249: >>> 250-localhost Hello localhost [local], pleased to meet you smtp: 0x80249: >>> 250-8BITMIME smtp: 0x80249: >>> 250-ENHANCEDSTATUSCODES smtp: 0x80249: >>> 250-SIZE 36700160 smtp: 0x80249: >>> 250-DSN smtp: 0x80249: >>> 250 HELP smtp: 0x80249: <<< MAIL FROM: smtp: 0x80249: >>> 250 2.0.0: Ok smtp: 0x80249: <<< RCPT TO: debug: table_ldap: ldap_query: filter=(&(objectClass=rFC822localPart)(dc=de01.XXX.org)), ret=1 debug: aliases_virtual_get: 'root' resolved to 1 nodes debug: aliases_get: returned 1 aliases smtp: 0x80249: >>> 550 Invalid recipient smtp-in: Failed command on session 9ee6a70077015346: "RCPT TO: " => 550 Invalid recipient smtp-in: Received disconnect from session 9ee6a70077015346 debug: smtp: 0x80249: deleting session: disconnected -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Re: Error 550 Invalid recipient after update (rollback won't work)
Hi again, just noticed that not only I currently can not receive any mails, relayed mails are also empty. Any help would really be appreciated. Thanks, Michael Am 04.06.2014 um 15:13 schrieb Michael : > Hi, > > after updating to opensmtpd-devel-201405202105_1,1 on FreeBSD I always get > "550 Invalid recipient" when an email is being send to the server, no matter > if the recipient is local or virtual. > > Sending mails works however, just receiving is impossible. > > Already tried to rollback to the previous version but that also fails now for > whatever reason. > > I hope you can help. > > Thanks, > Michael > > > Config: > # cat /usr/local/etc/mail/smtpd.conf > # This is the smtpd server system-wide configuration file. > # See smtpd.conf(5) for more information. > > # certificates > pki mail.XXX.org ca "/etc/ssl/certs/CAcert.crt" > pki mail.XXX.org certificate "/etc/ssl/certs/mail.XXX.org.crt" > pki mail.XXX.org key "/etc/ssl/private/mail.XXX.org.key" > > # tables > table aliases file:/etc/mail/aliases > table ldap ldap:/usr/local/etc/mail/ldap.conf > table ldap.virtusertable file:/usr/local/etc/mail/ldap.virtusertable > > # listeners > listen on lo0 tls pki mail.XXX.org > listen on lo0 port 587 tls-require pki mail.XXX.org auth > listen on lo0 port 10028 tag DKIM > > # routing > accept from any for domain virtual deliver to mda > "/usr/local/bin/procmail -f -" > accept for local alias deliver to mbox > accept tagged DKIM for any relay > accept for any relay via smtp://172.16.94.21:10027 > > > Log: > debug: smtp: new client on listener: 0x673b88 > smtp: 0x80249: STATE_NEW -> STATE_CONNECTED > smtp-in: New session 9ee6a70077015346 from host 0@localhost [local] > smtp: 0x80249: >>> 220 localhost ESMTP OpenSMTPD > smtp: 0x80249: <<< EHLO localhost > smtp: 0x80249: STATE_CONNECTED -> STATE_HELO > smtp: 0x80249: >>> 250-localhost Hello localhost [local], pleased to meet > you > smtp: 0x80249: >>> 250-8BITMIME > smtp: 0x80249: >>> 250-ENHANCEDSTATUSCODES > smtp: 0x80249: >>> 250-SIZE 36700160 > smtp: 0x80249: >>> 250-DSN > smtp: 0x80249: >>> 250 HELP > smtp: 0x80249: <<< MAIL FROM: > smtp: 0x80249: >>> 250 2.0.0: Ok > smtp: 0x80249: <<< RCPT TO: > debug: table_ldap: ldap_query: > filter=(&(objectClass=rFC822localPart)(dc=de01.XXX.org)), ret=1 > debug: aliases_virtual_get: 'root' resolved to 1 nodes > debug: aliases_get: returned 1 aliases > smtp: 0x80249: >>> 550 Invalid recipient > smtp-in: Failed command on session 9ee6a70077015346: "RCPT > TO: " => 550 Invalid recipient > smtp-in: Received disconnect from session 9ee6a70077015346 > debug: smtp: 0x80249: deleting session: disconnected > > -- > You received this mail because you are subscribed to misc@opensmtpd.org > To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org > -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Error 550 Invalid recipient after update (rollback won't work)
Hi, after updating to opensmtpd-devel-201405202105_1,1 on FreeBSD I always get "550 Invalid recipient" when an email is being send to the server, no matter if the recipient is local or virtual. Sending mails works however, just receiving is impossible. Already tried to rollback to the previous version but that also fails now for whatever reason. I hope you can help. Thanks, Michael Config: # cat /usr/local/etc/mail/smtpd.conf # This is the smtpd server system-wide configuration file. # See smtpd.conf(5) for more information. # certificates pki mail.XXX.org ca "/etc/ssl/certs/CAcert.crt" pki mail.XXX.org certificate "/etc/ssl/certs/mail.XXX.org.crt" pki mail.XXX.org key "/etc/ssl/private/mail.XXX.org.key" # tables table aliases file:/etc/mail/aliases table ldap ldap:/usr/local/etc/mail/ldap.conf table ldap.virtusertable file:/usr/local/etc/mail/ldap.virtusertable # listeners listen on lo0 tls pki mail.XXX.org listen on lo0 port 587 tls-require pki mail.XXX.org auth listen on lo0 port 10028 tag DKIM # routing accept from any for domain virtual deliver to mda "/usr/local/bin/procmail -f -" accept for local alias deliver to mbox accept tagged DKIM for any relay accept for any relay via smtp://172.16.94.21:10027 Log: debug: smtp: new client on listener: 0x673b88 smtp: 0x80249: STATE_NEW -> STATE_CONNECTED smtp-in: New session 9ee6a70077015346 from host 0@localhost [local] smtp: 0x80249: >>> 220 localhost ESMTP OpenSMTPD smtp: 0x80249: <<< EHLO localhost smtp: 0x80249: STATE_CONNECTED -> STATE_HELO smtp: 0x80249: >>> 250-localhost Hello localhost [local], pleased to meet you smtp: 0x80249: >>> 250-8BITMIME smtp: 0x80249: >>> 250-ENHANCEDSTATUSCODES smtp: 0x80249: >>> 250-SIZE 36700160 smtp: 0x80249: >>> 250-DSN smtp: 0x80249: >>> 250 HELP smtp: 0x80249: <<< MAIL FROM: smtp: 0x80249: >>> 250 2.0.0: Ok smtp: 0x80249: <<< RCPT TO: debug: table_ldap: ldap_query: filter=(&(objectClass=rFC822localPart)(dc=de01.XXX.org)), ret=1 debug: aliases_virtual_get: 'root' resolved to 1 nodes debug: aliases_get: returned 1 aliases smtp: 0x80249: >>> 550 Invalid recipient smtp-in: Failed command on session 9ee6a70077015346: "RCPT TO: " => 550 Invalid recipient smtp-in: Received disconnect from session 9ee6a70077015346 debug: smtp: 0x80249: deleting session: disconnected -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org