Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 5th May 2008, 00:05
TomC TomC is offline
Join Date: Mar 2008
Posts: 37
Thanks: 2
Thanked 0 Times in 0 Posts
Default Roundcube - no bounce messages

Hi all,

today I discovered a weird behaviour of RoundCube webmail: When I send messages to a non-existing email address, there are no bounce-messages sent back to the sender. Funny enough: When I connect with Thunderbird via IMAP, everything works fine.

What I found in the mail.info is the following:

May 4 22:44:05 matrix postfix/cleanup[19887]: C694982825EA: message-id=<80364920a119c549b9ab6a2230068704@localhost>
May 4 22:44:05 matrix postfix/qmgr[32518]: C694982825EA: from=<www-data@matrix.abcde.de>, size=470, nrcpt=1 (queue active)
May 4 22:44:05 matrix postfix/smtp[19889]: C694982825EA: to=<dslfkjsdfds@t-online.de>, relay=mx00.t-online.de[]:25, delay=0.11, delays=0.04/0.01/0.03/0.03, dsn=5.1.1, status=bounced (host mx00.t-online.de[] said: 550-5.1.1 user unknown 550 5.1.1 Unknown recipient. (in reply to RCPT TO command))
May 4 22:44:05 matrix postfix/cleanup[19887]: E23E682825EE: message-id=<20080504204405.E23E682825EE@matrix.abcde.de>
May 4 22:44:05 matrix postfix/qmgr[32518]: E23E682825EE: from=<>, size=2404, nrcpt=1 (queue active)
May 4 22:44:05 matrix postfix/bounce[19890]: C694982825EA: sender non-delivery notification: E23E682825EE
May 4 22:44:05 matrix postfix/qmgr[32518]: C694982825EA: removed
May 4 22:44:05 matrix postfix/local[19891]: E23E682825EE: to=<www-data@matrix.abcde.de>, relay=local, delay=0.02, delays=0.01/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
May 4 22:44:05 matrix postfix/qmgr[32518]: E23E682825EE: removed
What strikes me is that RoundCube sends the message with www-data@... in the from-field, which is also found in the return-path-field of a correctly sent message. The "real" sender address is only found in the x-sender-field.

What on earth is that? Is it because I have configured RoundCube to use PHP mail() to sent messages? But there still should be a decent sender information?!

Any help is greatly appreciated!

Reply With Quote
Sponsored Links
Old 5th May 2008, 08:43
Hans Hans is offline
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts

I don't have a full explanation for that, but you can decide NOT to use php to send your mails. If you want to send your mails with the current username/password and smtp-server, make sure you've the following lines within your config/main.inc.php file:

$rcmail_config['virtuser_file'] = '/etc/postfix/virtusertable';
$rcmail_config['smtp_server'] = 'host.domain.tld';
$rcmail_config['smtp_user'] = '%u';
$rcmail_config['smtp_pass'] = '%p';

Where 'host.domain.tld'; is the output of the command: hostname -f

MrHostman | Managed Hosting

Last edited by Hans; 5th May 2008 at 13:32.
Reply With Quote
The Following User Says Thank You to Hans For This Useful Post:
TomC (5th May 2008)
Old 5th May 2008, 19:00
TomC TomC is offline
Join Date: Mar 2008
Posts: 37
Thanks: 2
Thanked 0 Times in 0 Posts

Thanks loads, Hans!

I tried this already, yet, I configured a different name for the smtp_server. The important hint was to use the "hostname -f" server name.

However, I still wonder, why the php mail() type of configuration does not work decently. Maybe one day I will find out... ;-) For now, I am happy with the way it works.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
roundcube mail cant delete messages NETabuse Installation/Configuration 9 17th October 2010 05:50
FTP access to roundcube pkg install directories dancn General 4 11th August 2008 20:03
UebiMiau Leave messages on server Jayock Server Operation 2 8th November 2007 20:12
roundcube aqua Installation/Configuration 3 7th May 2007 09:09
RoundCube webmail contact list disapears. kanour Installation/Configuration 1 7th April 2007 14:53

All times are GMT +2. The time now is 01:09.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.