Author Topic: Sender address rejected: Domain not found (in reply to RCPT TO command)  (Read 14335 times)

Offline sblantipodi

  • Newbie
  • *
  • Posts: 7
Hi,
if I send emails from thunderbird I have no problem,
if I send emails from roundcube using the same email address (same server) the recipient address reject my emails with this reason:
Quote
Sender address rejected: Domain not found (in reply to RCPT TO command)

It seems that roundcube add a localhost to the from header.
I can see  from=<myuser@localhost.mydomain.org>


Any idea on how to solve it?
How to remove that localhost?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Sender address rejected: Domain not found (in reply to RCPT TO command)
« Reply #1 on: October 07, 2013, 08:27:22 PM »
Make sure localhost isn't in your mail_domain in the main.inc.php.

Offline sblantipodi

  • Newbie
  • *
  • Posts: 7
Re: Sender address rejected: Domain not found (in reply to RCPT TO command)
« Reply #2 on: October 08, 2013, 06:39:38 AM »
Make sure localhost isn't in your mail_domain in the main.inc.php.

Hi,
many many thanks for the answer and for the help.
Unfortunantly there is no localhost there, I have this:
$rcmail_config['mail_domain'] = '';

any other idea?

Thanks!

Offline sblantipodi

  • Newbie
  • *
  • Posts: 7
Re: Sender address rejected: Domain not found (in reply to RCPT TO command)
« Reply #3 on: October 08, 2013, 01:36:16 PM »
nothig to do,
roundcubemail adds localhost in the from header.  :o

is there someone who solved this problem?

Offline sblantipodi

  • Newbie
  • *
  • Posts: 7
Re: Sender address rejected: Domain not found (in reply to RCPT TO command)
« Reply #4 on: October 08, 2013, 03:49:46 PM »
(in reply to RCPT TO command)

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Re: Sender address rejected: Domain not found (in reply to RCPT TO command)
« Reply #5 on: October 09, 2013, 02:53:17 AM »
have you checked whats set in your identity (personal settings -> identities)? since you have not specified a mail_domain on your config rc will use the mail server address as the domain by default.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline sblantipodi

  • Newbie
  • *
  • Posts: 7
Re: Sender address rejected: Domain not found (in reply to RCPT TO command)
« Reply #6 on: October 09, 2013, 03:32:42 AM »
that was the solution to the problem. thanks