Hi all, I've got the following emails: [email protected] [email protected] [email protected] etc and I want all of them to be delivered to [email protected] and do not keep copies of emails on @domain1 @domain2 and @domain3. I want to be able to send as domain1, domain2 domain3 from that [email protected]. Is that possible from roundcube?
Yes, you can use multiple identities in RoundCube: https://docs.roundcube.net/doc/help/0.9/en_US/settings/identities.html#:~:text=Managing Multiple Sender Identities&text=If present, click the + icon,edited or deleted from there. Create a mailbox [email protected] in ISPConfig. Then add the other addresses as email alias. Finally you login in RoundCube as [email protected] and add the other addresses as additional identities there.
What about smtp auth? I want to use the email@domain1, email@domain2 and email@domain3 on various forms/apps to send email that appears to be from those emails and not from email@domain4 for example.
I created a fetchmail but no email is forwarding to the proper mailbox. It just stays to the origin mailbox.
Then you must create them as mailboxes and not aliases and add a sieve rule in the custom filter rules field of the mailbox to forward the email and not keep a copy. Fetchmail is not the correct tool for this. Use sieve rules to forward the incoming emails.
Hi Till, Thank you for the updates. Where can I find how to write that rule? I assume you are saying to write that rule in the area where it says "Custom mail filter recipe"?
That removed the email from the origin mailbox? I don't want to keep it, only to forward it to the [email protected]
Maybe you did not wait until the filter was written with your test. Feel free to use a search engine of your choice, e.g. google, and search for sieve filter redirect, to get more examples and a detailed description on how sieve filters work etc.
Till the sieve filter solves the problem of getting the emails but not for sending. If I add an identity lets say from email2@ I get a smtp error that that email doesn't belong to the main account or something like that (sender address rejected) Is there a way to be able to send with smtp auth from the same mailbox but for multiple domains?
There is a setting under System > server config > email where you can switch on and of if email shall be rejected on login mismatch.
@till that setting "Reject sender and login mismatch" I guess will allow lot of spam to pass? Is there an alternative more secure?
No, this is not about spam filtering at all. This setting restricts which from addresses are allowed when you send email as authenticated user from the server. Do not use the mailbox setup in the way you want to set it up, as it requires disabling this function.