1 (edited by tariqmusood 2022-09-08 13:45:25)

Topic: smtp not saving email in sent folder like gmail smtp user address

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I have installed iRedMail 1.6.1 with admin 1.8 on ubuntu 20.04 LTS and it is working perfectly.
smtp is also working fine, But problem is that prior we were using gmail smtp server and all outgoing emails was saving in sent folder of smtp user account automatically . I need to configure same thing in iRedMail 1.6.1. Please guide me step by step
my smtp setting is as following in php 7.4 and it is working fine.
smtp = On
smtp_server = webmail.mydomain.com
smtp_port = 465
smtp_auth = ssl
smtp_username = "noreply@mydomain.com"
smtp_password = "Password"

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: smtp not saving email in sent folder like gmail smtp user address

SMTP protocol doesn't save sent email to mailbox at all, this is what IMAP client applications usually do.
You can try to develop an iRedAPD plugin to save a copy of sent emails.

3

Re: smtp not saving email in sent folder like gmail smtp user address

ZhangHuangbin wrote:

SMTP protocol doesn't save sent email to mailbox at all, this is what IMAP client applications usually do.
You can try to develop an iRedAPD plugin to save a copy of sent emails.

Thank you for your quick response, iRedAPD is dealing with to Manage iRedAPD (white/blacklists, greylisting, throttling and more) with iRedAdmin-Pro, but I cant offord pro version. Is anything else please guide me

4

Re: smtp not saving email in sent folder like gmail smtp user address

iRedAPD works without iRedAdmin-Pro, you can also manage iRedAPD with its command line tool, or SQL command line directly.

Another solution is, improve your php script to save a copy of email to mailbox via IMAP service after sent the email.