playSMS Forum

Where is ""? I have a problem with forward sms to email

I’ve already defined mail2sms!
All though i’ve allready forwarded all sms to email.

Everybody seams to be correct, but when an SMS arrives, no email is received!

When looking to playsms.log:
recvsms_inbox_add # saved id:24 sender:+3xxxxxxxxxxx receiver: target:axxxx

    • 2020-08-30 18:11:46 PID5f4bea6c482d5 - L2 sendmail # end with error:it was not possible to read line from socket

Changed at first smtp port. But errors were founded and returned to SSL port

After several tests with no sucess, i’v tried an sendmail test: echo “Subject: this is an email test from root” | sendmail -v

Outlook get the email without any problem.

When looking at maillog:
6275362720D7: message-id=20200830181743.6275362720D7@xxxxxxxxxxxxxxxx (my playsms server)
6275362720D7: from=root@xxxxxxxxxxxxxxxxxxx, size=287, nrcpt=1 (queue active)
6275362720D7: to=sms@xxxxxxxxxx,[]:25, delay=4.4, delays=0.06/0.01/0.58/3.8, dsn=2.0.0, status=sent (250 OK id=1kCRtg-0001nc-Pl)
C881762720DF: message-id=20200830181747.C881762720DF@xxxxxxxxxxxxxxxx
C881762720DF: from=<>, size=1902, nrcpt=1 (queue active)
6275362720D7: sender delivery status notification: C881762720DF

But about playsms allways have this error:
connect to[]:25: Connection timed out


instead of in you config.php, change it to localhost

// SMTP configuration
$core_config[‘smtp’][‘relm’] = ‘’; // yes, not realm, it’s relm
$core_config[‘smtp’][‘user’] = ‘’;
$core_config[‘smtp’][‘pass’] = ‘’;
$core_config[‘smtp’][‘host’] = ‘localhost’;
$core_config[‘smtp’][‘port’] = ‘25’;

Best regards

1 Like