Roundcube Community Forum

 

Failed to set sender

Started by vol4, April 28, 2014, 08:37:46 AM

Previous topic - Next topic

vol4

Sorry for bad english.
I can't setup SSL SMTP settings with mail.ru servers...
Get error: 550 Failed to set sender 'user@domain'

user - it's my user.
domain - it's my real domain

The same error in config test page:
Server: ssl://smtp.mail.ru
Port: 465
User: user@domain
Password: *******

Trying to send email...
SMTP send:  NOT OK(Failed to set sender 'user@domain')

Sender: user@domain
Recipient: anyuser@domain

SKaero

Enable smtp_debug and post the log.

guihin

For me this configuration worked well on ubuntu 22.04 with postfix, dovecot, nginx and letsencrypt.
My Postfix is only offering STARTTLS, nothing else.

roundcube/config/config.inc.php:

# SMTP
$config['smtp_server'] = 'ssl://mail.server.tld';  # maybe localhost works too
$config['smtp_port'] = 465;
$config['smtp_timeout'] = 5;
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';
$config['smtp_auth_type'] = 'LOGIN';
$config['smtp_conn_options'] = [
  'ssl' => [
    'verify_peer' => true,
    'verify_depth' => 3,
    'peer_name' => 'mail.server.tld',
    'cafile' => '/etc/ssl/certs/ca-certificates.crt'
  ],
];