1

Topic: Roundcube Identity does not use proper SMTP parameters

==== Required information ====
- iRedMail version: 0.9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Linux/BSD distribution name and version: Centos 6
- Related log if you're reporting an issue:
====

Hi,
I am just having a short glitch.
I am trying to make sure that when using Roundcube identity it uses proper SMTP (so that the mail is actually sent from the actual Sent Box)
There is a plugin for that called : identity_smtp

What would the exact hostname be for Roundcube(below is a working configuration that i have for gmail).

Server IP/Hostname:  tls://smtp.gmail.com
Server Port:               587   
Username:                      kevin@gmail.com
Password:                    *******

Could someone advise?

----

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

2

Re: Roundcube Identity does not use proper SMTP parameters

It'd be whatever hostname/IP your server has?

3

Re: Roundcube Identity does not use proper SMTP parameters

7t3chguy wrote:

It'd be whatever hostname/IP your server has?

hi. it needs to be specific. what protocol / port no. does iredmail support natively

tls://imap.mydomain.com ?

4

Re: Roundcube Identity does not use proper SMTP parameters

tls over port 587
or ssl over 465 if you've enabled that

5

Re: Roundcube Identity does not use proper SMTP parameters

okay. yes it works. problem with the plugin(had to delete and make new input)

i was wondering that when sending mail with a different identity(bob@mydomain.com using help@mydomain.com identity), why does it not copy the message to help@mydomain.com(Sent box). instead it only shows it on bob@mydomain.com Sent box.
appreciate if someone could advise.

thanks
kevin

6

Re: Roundcube Identity does not use proper SMTP parameters

When sending as different user, mail client (it's roundcube in this case) just writes a different mail header, it doesn't copy mail to that user's mailbox.

7

Re: Roundcube Identity does not use proper SMTP parameters

ZhangHuangbin wrote:

When sending as different user, mail client (it's roundcube in this case) just writes a different mail header, it doesn't copy mail to that user's mailbox.

Is it possible to make it copy via the client or postfix?

8

Re: Roundcube Identity does not use proper SMTP parameters

Postfix does not access mailbox. If postfix was somehow configured to do this then all regular mail would get saved twice. If you set up ACLs and have access to the sent box that it should be saved to then when composing an email you can select for it to be saved into the right sent box.

9

Re: Roundcube Identity does not use proper SMTP parameters

hi 7t3chguy,
thanks for your feedback. you are right. i do have ACLs set to rli.
I guess will need to amend to include 'p' for posting purposes. Also will need to somehow make it somehow be set as default if using identity.

for example if someone uses identity : bob@mydomain.com
it will by default use 'Sent' mailbox of bob@mydomain.com

Thanks
Will try it.

10

Re: Roundcube Identity does not use proper SMTP parameters

By Default Roundcube cannot do this, maybe there's a plugin out there that does it

11

Re: Roundcube Identity does not use proper SMTP parameters

7t3chguy wrote:

By Default Roundcube cannot do this, maybe there's a plugin out there that does it

oh okay. is it possible to have dovecot  to make 2 copies = 1 in the user  account(Sent) and 1 in identity (Sent) ?

do you think so?

12

Re: Roundcube Identity does not use proper SMTP parameters

Dovecot has no idea about what mail is being sent. To it the sent folder is just a folder like any other, everything depends on how the client manages it.