SMTP IMAP mail service for notifications
-
@Ambarishrh said:
From my search i found out that we could use postfix which supports this, but for only this purpose setting up postfix and maintaining, i think its an overkill.
Nothing to maintain. yum -y install postfix and you are done. That's all that is needed. Postfix is auto-patched by the Linux OS and it is configured for your use out of the box. So nothing more to be done.
-
-
@scottalanmiller said:
@Ambarishrh said:
From my search i found out that we could use postfix which supports this, but for only this purpose setting up postfix and maintaining, i think its an overkill.
Nothing to maintain. yum -y install postfix and you are done. That's all that is needed. Postfix is auto-patched by the Linux OS and it is configured for your use out of the box. So nothing more to be done.
Haven't worked on postfix. https://www.linode.com/docs/email/postfix/email-with-postfix-dovecot-and-mariadb-on-centos-7
Doesn't looks like its just yum install
I need to have the SMTP & IMAP user configured and also enable the alias with +*
-
@Ambarishrh said:
@scottalanmiller said:
@Ambarishrh said:
From my search i found out that we could use postfix which supports this, but for only this purpose setting up postfix and maintaining, i think its an overkill.
Nothing to maintain. yum -y install postfix and you are done. That's all that is needed. Postfix is auto-patched by the Linux OS and it is configured for your use out of the box. So nothing more to be done.
Haven't worked on postfix. https://www.linode.com/docs/email/postfix/email-with-postfix-dovecot-and-mariadb-on-centos-7
Doesn't looks like its just yum install
That's because you are reading a document about a lot of things that are not Postfix. It's literally just the command that I gave you. All of that other stuff is just that... other stuff that you don't need.
-
@Ambarishrh said:
I need to have the SMTP & IMAP user configured and also enable the alias with +*
Postfix is your SMTP MTA. It is not part of your IMAP processing. Those are actually unrelated topics.
I think that you will find that Postfix "just works". There is nothing to configure. I literally did this twenty minutes ago for someone in another thread and tested the sending emails. It really does work.
-
Now receiving IMAP on the server is a completely different thing. The application should receive IMAP directly, not need another tool for it. If it needs an IMAP server you have way, way more issues.
I think you are looking at building a full email system here, which is not the goal. You just want to tell your system how to talk to an IMAP server, right?
-
Or, to put it another way, you are building an IMAP server when all you want is your app to act as an IMAP client. Don't build Exchange, configure Thunderbird, in other words.
-
@scottalanmiller said:
Or, to put it another way, you are building an IMAP server when all you want is your app to act as an IMAP client. Don't build Exchange, configure Thunderbird, in other words.
The app doesnt have any features to receive email. On the app settings i have fields to enter SMTP details, username, pass, server, port, SSL etc, same with IMAP. So for this to work i need to have a full system, either a mail server or a third party service that i can use. For postfix to work for this i need to have the full SMTP+IMAP configured
-
@Ambarishrh said:
The app doesnt have any features to receive email. On the app settings i have fields to enter SMTP details, username, pass, server, port, SSL etc, same with IMAP.
Yes but... those settings for SMTP require a relay, which I described in full how to configure and use.
For IMAP those are the settings for connecting to your existing IMAP system. In no way does that suggest that it will need or have any use for building your own IMAP server locally. That's not how it works.
Just put your IMAP details into the IMAP configuration and you are done. It's that simple.
Same for SMTP, you just overran the limits of the free services. None of this suggests needing to run your own servers.
-
@Ambarishrh said:
For postfix to work for this i need to have the full SMTP+IMAP configured
You are associating SMTP and IMAP. They are unrelated. Completely and totally unrelated.
Postfix is SMTP, it has no association with IMAP handling.
Just install Postfix and your sending is fixed. Just put in your IMAP details of your Gmail account and your IMAP is fixed because your application absolutely has a built in IMAP client, that's what those settings are for. Those settings cannot work unless it is a client.