Menu

#129 email interface 501 Address Syntax Error

ASSP V2
closed
None
2021-02-13
2020-12-20
No

Hello!
I did fresh install debian 10, ASSP version 2.6.3 SPAM-Evaporator build 20002, all Perl modules, then imported my old config from 1.8.x version. All works good. But when I try to setup the email interface feature, I got error. ASSP receives my email (assphelp for example), but cant send to me, error "RMabort: rcpt Expected 250, got: 501 Address Syntax Error in postmaster@assp.local".
I found, that ASSP sends SMTP Command: MAIL FROM: postmaster@assp.local\r\n, no <> in address.
So my mail server sends 501.
I found in assp.pl:
sub RMfrom { my ($fh,$l)=@_;
if($l=~/^ *250 /o) {
sendque($fh,"MAIL FROM: ".($Con{$fh}->{from}=~/(<[^<>]+>)/o ? $1 : $Con{$fh}->{from})."\r\n");

If I change to sendque($fh,"MAIL FROM: <".($Con{$fh}->{from}=~/(<[^<>]+>)/o ? $1 : $Con{$fh}->{from}).">\r\n"); - it works.
Can you check what is wrong?

Discussion

  • Thomas Eckardt

    Thomas Eckardt - 2020-12-22
     
  • Thomas Eckardt

    Thomas Eckardt - 2020-12-22

    this will be fixed in the next release

    Thomas

     
  • Stanislav Petin

    Stanislav Petin - 2020-12-22

    Thank you!
    Great product!

     
  • Stanislav Petin

    Stanislav Petin - 2020-12-22
     

    Last edit: Stanislav Petin 2020-12-22
  • Thomas Eckardt

    Thomas Eckardt - 2021-02-13
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB