Roundcube Community Forum

Miscellaneous => Roundcube Discussion => Topic started by: sblantipodi on October 07, 2013, 04:36:19 PM

Title: Sender address rejected: Domain not found (in reply to RCPT TO command)
Post by: sblantipodi on October 07, 2013, 04:36:19 PM
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:
QuoteSender 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?
Title: Re: Sender address rejected: Domain not found (in reply to RCPT TO command)
Post by: SKaero on October 07, 2013, 08:27:22 PM
Make sure localhost isn't in your mail_domain in the main.inc.php.
Title: Re: Sender address rejected: Domain not found (in reply to RCPT TO command)
Post by: sblantipodi on October 08, 2013, 06:39:38 AM
Quote from: SKaero on October 07, 2013, 08:27:22 PM
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!
Title: Re: Sender address rejected: Domain not found (in reply to RCPT TO command)
Post by: sblantipodi 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?
Title: Re: Sender address rejected: Domain not found (in reply to RCPT TO command)
Post by: sblantipodi on October 08, 2013, 03:49:46 PM
(in reply to RCPT TO command)
Title: Re: Sender address rejected: Domain not found (in reply to RCPT TO command)
Post by: JohnDoh 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.
Title: Re: Sender address rejected: Domain not found (in reply to RCPT TO command)
Post by: sblantipodi on October 09, 2013, 03:32:42 AM
that was the solution to the problem. thanks