Emails sent through smtp server is not received to educational domain accounts - smtp

I am trying to send email using flask_mail that has configuration as:
MAIL_SERVER = "smtp.gmail.com"
MAIL_USERNAME = "dummy#gmail.com"
username is my personal verified gmail account.
The smtp server is able to send emails to #gmail and #xyz.edu accounts as I see no error.
But I cannot see emails in #xyz.edu accounts.
I can see the emails sent to my other #gmail accounts.
I am not sure why I cannot see the emails sent by smtp to my #xyz.edu account.
Any help is appreciated.
Thanks

If you can't telnet from the exchange box to that specific IP/SMTP then the problem could be on their end or on the path to their end.
The problem was with the ISP on the other end.
They need to configure
Exchange to accept mail for multiple authoritative domains.

Related

Setting up mail smtp relay service to send and receive mail

I have very limited knowledge about SMTP and IMAP/POP. SMTP --> sending message, IMAP--> Mainly for receiving messages.
I have a woocommerce website and i already did setup my email system to use SMTP relay using zoho. I believe zoho also provide mailbox services since I am able to communicate with my customer(both two and fro) using its email service. They have their app and i can receive and send mail from that app. Obviously, I have set up all the records including MX to send/receive the email to my zoho inbox.
No i want to move my email services to postmark or like sendinblue. All i can see the setting related to sending the mail but how/where will I receive the mail when user reply on that??
On the postmark website it says:
Since Postmark is not a mailbox provider there's not the ability to generate mailboxes for receiving email using IMAP or POP3.
Question 1) Does the SMTP relay server is actually a different physical machine from IMAP server for sending/receiving messages. I guess both are different but why are these companies not providing solutions like zoho. Pardon me if I did not understand the use case.
Question 2) What to do in this case ???. My case is simple. I send notifications to customers regarding their orders. If they want they can reply or enquire. I receive the email on my phone and I can reply on the same mail-chain like we have on Gmail.
Question 3)
Do i need to buy some another service along with these to receive and reply back on the email ??? Like from godaddy or somewhere else.

Java Mail API host name

I have implemented IMAP server mail box and one valid user account on that mail box for receiving email and reading mail.
Now I want to send mail through that user account. After goggling for some time , I found that we can't send mail using IMAP server.
So now the problem is I want to send mail using that mail account only. Is there any way?

How to add new 'From' email id each time sending email using PostFix server

I am new to PostFix and have setup PostFix as a server recently. In the testing, PostFix is working fine and relaying the emails with 'From' email address stored in the PostFix credentials files likes admin#mydomain.com and password : xxxxxxx
My problem is: We have a web application that allows direct email sending feature between the website users. As User 1 can send email to User 2 (user2#example.com) and vise verse. But while sending emails using the PostFix server, the user2 will always receive the admin#mydomain.com instead of user1#example.com so the user2 can not reply on the email directly to the user1.
This problem is a bigger one as we have thousands of the users that are waiting for this feature. So if someone can help me configuring the PostFix server so that at the time of sending email, user can set their email id as the 'From' field of the email using any web form and the receiving user will get the email as the email was originally generated by user1#example.com so that he can reply directly to the user 1 on his email id.
I have done some research work on the PostFix about this problem but did not find much interesting one. The approach others followed are using the smtp_generic_maps but this can work only with a limited set of email ids stored in the >>/etc/postfix/generic. But we want this solution fully dynamic so that any user can add the FROM as his/her email while internally the email will be sent using the admin#mydomain.com in PostFix.
Early response is much appreciated.
Thanks
Finally I fixed this issue by using an Grails application which doesn't require for adding fixed emails in the PostFix.
Use the Grails Mail plugin and set PostFix server as the default Mail server.
Also add inbound connection in the Postfix so that other email services will not ban you.
As well as change the port from 25 to some other port as Port 25 is being used to send Trozen horses and spamming ..
I love PostFix now.. Enjoy free mail service for your small business.
Thanks

smtp mail settings not working in moodle 2.6

I am using moodle2.6.2 with essential theme.
I have created the smtp settings with gmail account, it was working fine.
If i changed my webmail account ,it shows the error like this,
"Sender address rejected: not owned by user rathish#mywebdomain.com".
Anybody can help me ?
I wouldn't recommend using Gmail or Google apps for sending emails from Moodle.
Gmail has a daily limit for sending emails and it won't allow sending emails from aliases - the email account has to exist.
http://docs.moodle.org/26/en/Email_setup_gmail
Check with your web host, they will probably have smtp - but also check their email sending limits too - I've had a site suspended because because too many emails going out.

Preventing Recipients from getting an email. - How Email Processing Works?

When you send an email with this:
From: Jeff#yahoo.com
To: XXX#aol.com, XXX#aol.com, XXX#aol.com
CC: james#gmail.com
Which Mail Server sends the message via email to the recipients in the TO & CC field? Is it the SMTP server or the server owned by the recipient (like aol.com)?
When you write an email and send it, you will hand it off to some SMTP server you have access to. That server will then contact the recipients server (or intermediate server) and deliver the email to that SMTP server. The SMTP server on the receiving end will somehow, depending on their setup, deliver the email to their users.
In your example, you will properly give yahoo.com's SMTP server the email. Then that server will contact aol.com and deliver the email there. It will also contact gmail.com and deliver the email to their SMTP server.
You should read this part of the SMTP rfc which have a very good explanation about the process.
How you will go about preventing that an email is delivered, is to somehow control one of the SMTP servers that is contacted in the process - or not send the email at all. When you see the email delivered in your own mailbox, it is properly way to late trying to prevent the other recipients receiving the email.