Implement other SMTP into Virtualmin

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.3
Webmin version 2.101
Virtualmin version 7.7

Hi,
First of all sorry for my poor English, and i would like to thank the forum staff for the great help.
I would like to know how to implement other SMTP like (Gmail, outlook, own hosted emails etc.) into Virtualmin (Postfix or RoundCube) I am using Postfix.
for example:

  1. I have 3 SMTP from Gmail, Outlook, and Yahoo
  2. I have info@mydomain.com hosted in Virtualmin.
    What i want is to have all 4 emails in iinfo@mydomain.com
    Is this possible? if yes how to do it.
    If this needs so much work and support, and you advice for private support, surely I am willing to pay for that.
    Thanks so much

Yes your english is poor, to the point I don’t understand what you are trying to do.
Are you trying to display emails from all inboxes in one place ? Or something else

Hi jimr1,
thanks for your comment, and Yes i try to display emails from all inboxes in one place.
Thanks

Use an email client like gmail to unify the inbox. I have never used roundcube so I have no idea if it does unified inboxes. Or you could use thunderbird and use message rules to have a unified inbox. That said if you read email from many email clients you may wish to just copy the emails rather than moving them

So, if your mail providers support POP3 or IMAP to retrieve mail, you could use fetchmail to retrieve the mail for viewing in Usermin (by having it delivered to your usual mailbox). Usermin does not directly support multiple servers, however. Usermin has a module for fetchmail, though, so you can manage the configuration in Usermin.

I don’t use Roundcube, so I can’t say for sure whether it supports multiple mail servers.

Note this has nothing to do with SMTP. SMTP is for sending mail, not retrieving mail. You wouldn’t use the SMTP protocol or the SMTP server in a Virtualmin system (usually Postfix) to solve this problem.

Dear Joe,
Thank you so much for your explanation and support.
I find at Usermin -->Mail → Fetchmail Mail Retrieval “The fetchmail program fetchmail was not found on your system.”
As I am a newbie, maybe you can suggest any help from any of the experienced person/company?
Thanks so much,

I don’t know how that error could be more clear? You need to install fetchmail in order to use fetchmail. So use your package manager (apt on Ubuntu, or you could use the Software Packages module in Webmin, which is just a GUI for apt and dpkg) to install fetchmail.

I should mention this is not a common use case. You’re embarking on a new adventure. Most folks who ask about using GMail are trying to make GMail their mail server, (and they just need MX records and SPF/DKIM setup for that, or they want to forward to GMail from some addresses, via procmail, though that’s also kinda complicated) rather than going the other direction.

GMail (and Microsoft’s mail services, and probably Yahoo, too, though I haven’t dealt with Yahoo mail in many years) are not very interoperable. The market hasn’t demanded they provide good interop, so they don’t. You’re going to find it’s a pretty challenging project, I think, especially if you’re new to all this, as it sounds like you are. Maybe best to just pick a single mail service and use it.

1 Like

I googled the Yahoo situation, and you may need fetchyahoo (which we do not provide a GUI for, and I’d never heard of it until just now…as mentioned I haven’t seen a Yahoo mail account in more than a decade).

https://manpages.ubuntu.com/manpages/jammy/en/man1/fetchyahoo.1.html

Thanks Joe so much for your time and support.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.