Author Topic: Failed to set sender  (Read 3639 times)

Offline vol4

  • Newbie
  • *
  • Posts: 1
Failed to set sender
« on: April 28, 2014, 08:37:46 AM »
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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Failed to set sender
« Reply #1 on: April 29, 2014, 02:36:42 PM »
Enable smtp_debug and post the log.

Offline guihin

  • Newbie
  • *
  • Posts: 3
Re: Failed to set sender
« Reply #2 on: February 25, 2023, 10:26:00 AM »
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:

Code: [Select]
# 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'
  ],
];