Issue: Sent emails not appearing in webmail’s Sent folder despite successful delivery
Environment: Mail-in-a-Box on Ubuntu 22.04
Configuration: Dovecot with Sieve enabled
Steps to reproduce:
Send email via SMTP/webmail
Email delivers successfully (logs confirm)
Sent folder in webmail remains empty
Current configuration:
Sieve rules set for copying to Sent folder
Proper folder permissions verified
Mail delivery logs show successful sending
DKIM, SPF, DMARC all pass
Tested solutions:
Created Sent folder structure
Configured sieve rules
Updated dovecot permissions
Verified mail delivery paths
Expected behavior: Sent emails appear in webmail’s Sent folder
Actual behavior: Sent folder remains empty despite successful email delivery
With the default configuration of Mail-in-a-Box, moving sent emails to the Sent folder should work out of the box and no further configuration should be required.
Have you actively configured/changed any of the above? If so, please post the details of what you configured or changed, otherwise it will be rather difficult for forum members to help you.
I am not sure what exactly is the question but I think you are asking why Roundcube is not showing sent messages in its SENT folder when you send from other non-webmail clients. This is a known issue. Go to roundcube Settings>> Preferences>>Special Folders. See if SENT is set to SENT or to Sent Messages.
Also you may try to swtch on Show Real Names for Folders. See if this helps. Different clients create Sent Messages folder like Apple Mail and Thunderbird, Outlook. There is an option in them where to store the Sent messages.
Please explain where/how the emails are originating that are not appearing in the sent folder. Are you sending them using Roundcube webmail, an email client such as Thunderbird via SMTP, your WordPress website with a SMTP plug in, or ???
I’ve noticed that when I send emails through the webmail interface, they appear properly in the sent folder. However, when sending through either the Nodemailer SMTP implementation or the Python SMTP scripts, the sent emails don’t show up in the sent folder.
This seems to be specifically related to SMTP-based sending, as the same email address works as expected when used through the webmail interface.
Let me know if you need any additional information about my setup to help diagnose this issue.