Can not receive emails on Apache James email server - thunderbird

I have installed Apache James email server on a windows machine. I am using Firefox Thunderbird as email client.
I could add a new domain mydomain.com by copying the domainlist.xml in conf folder of James server and making it default domain. Further, i could add users into this domain.
My problem is that i can send emails from tuser1#mydomain.com to admin#localhost BUT i can't receive mails on tuser1#mydomain.com.
i tried to copy the lines below in my host file and restart the server,
127.0.0.1 mydomain.com
mydomain.com IN A 127.0.0.1
mydomain.com IN MX 10 mydomain.com
This is not helping.
Any suggestion on this?
Thanks,
Vijay Bhore

Found a solution to my problem.
Now, I am using hMailServer as my email server.
I added the domain 'mydomain' and few users under it.
Later i referred this link: http://csns.calstatela.edu/wiki/content/cysun/course_materials/hmailserver
I followed steps 4,5 and 6 in hMailServer Administrator.
I could easily add users in Thunderbird client and send/receive emails.
Thanks,
Vijay Bhore

Related

The IP you're using to send mail is not authorized 550-5.7.1 to send email directly to our servers

I am new to DO and I have tried to look for solution online but I didn't find any answer. I am using Ubuntu OS 20.04(LTS)X64 version.
My question is that I have 2 droplets, MailServer droplet where I have installed docker composer and mailcow to run mail mails, and another droplet named WebServer hosting my domains. I have also set up all required DS records under my domain added on WebServer droplet and pointed A record mail.mydomail.com to the IP of mail server droplet. However, whenever I try sending emails they all bounce back unless the ones sending between mydomain users(user1#mydomain.com & user2#mydomain.com). It just says that "The IP you're using to send mail is not authorized.....".
Any support to help me solve this issue will be highly appreciated. An I am wondering if that approach is possible or if there is any documentation on how someone can set up dns records on one server and configure mailserver on another server using digitalocean.
Here is how I set my DNS on mydomain.com to point to MailServer IP

Can I run an email Server with a fixed IP only?

I created a web app to do some basic content management for just myself. I want to mail some docs to the server instead of downloading then uploading them. Ive been looking at postfix but everything assumes you have a domain. Is it possible to receive email at a server with a fixed ip and no domain?
if you want anybody and any app to be able to send mail you need MX records in DNS. And MX records point at dns server names, not IP addresses.
https://serverfault.com/questions/663112/why-cant-mx-records-point-to-an-ip-address
If its just you then you can telnet to the SMTP port to send mail

No Such User Here VPN/WHM with Mail Routed through Separate Server

Ok, I am using a VPN on GoDaddy for webhosting. But on one of the websites that I am hosting, the email is handled on a separate VPN.
So I have an A record for domain.com set to the GoDaddy VPN and an A record for mail.domain.com set to the IP of the other domain and several CNAMES pointed to that A record. It's all working beautifully except for one thing....
Email from other domains on the GoDaddy VPN cannot send to this domain. So myemail#mydomain.com cannot send to email#separateemailvpn.com
I get error "No Such User Here" from my server.
I understand that the GoDaddy VPN is checking for that user locally and not finding it, but I don't know how to make it NOT check for this domain.
I am using WHM/cPanel with Exim and SpamAsassin. Thanks!
Not sure what the deal is with the downvotes, but here was my solution (probably obvious).
From Linux Terminal:
sudo su (for admin rights)
nano /etc/localdomains (erase domain from local domains)
nano /etc/remotedomains (add domain to remote domains)
Now it doesn't check that domain for users locally before it sends it out to the remote server.
Changing the mail exchanger on the server is relatively easy from WHM too. In WHM left menu, navigate to "DNS Functions >> Edit MX Entry". From there, simply select the domain name you wish to edit, and then select the desired mail exchanger to change the mail routing settings for the domain.
The options are Auto, Local Mail Exchanger, Backup Mail Exchanger, or Remote Mail Exchanger. Set to "Remote Mail Exchanger" and click Save to have WHM update the /etc/localdomains and /etc/remotedomains for you.

Plesk, Email with localy established domain where the mail server is external

i have a big problem with the setup for an Domain.
The Webservices are established on our Server but the Mail functions are on a Server of an other Company when we now want send an Email over our Server he tried to send it localy insted of sending it to an other server so he give back an no account here error.
Thanks for helping me out and friendly greetings.
Edit: OS Debian 6
Imap: Courier
Send: Postfix
CP: Plesk
Further to this, we are using Plesk 11.5.3 on a setup where a single mail service is activated for all domains.
So each domain cannot have the mail service turned on or off individually.
We had the same problem as Franco, and we fixed this by running the following command for each domain that had external email:
# /usr/local/psa/bin/mail --off domain.com
Works perfectly, and removes any previously created local email addresses from Postfix.
"The problem is because the server will attempt to deliver emails for the domain name locally by default. To resolve that problem you would need to set it to use the domain name's MX record."
The simple answer is to disable mail services for the subscription.
Untick the box for "Activate mail service on domain".

SMTP error status 5.3.5 Email looping. Using Gmail

I have a problem with SMTP configuration.
I use Gmail with my domain for ex. www.mydomain.com. When I try to send email from server under that domain to mailbox#mydomain.com I get fail report
Final-Recipient: rfc822;mailbox#mydomain.com
Action: failed
Status: 5.3.5
MX records are as in Google configuration wizard. Why is the mail looping?
10 alt2.aspmx.l.google.com
10 aspmx.l.google.com.mydomain.com
10 alt1.aspmx.l.google.com
20 aspmx2.googlemail.com
20 aspmx3.googlemail.com
My server is IIS 7, with default SMTP service.
Thank you for any help.
If someone will find this question, problem was with DNS MX records:
aspmx.l.google.com.mydomain.com
but it should be
aspmx.l.google.com
Apparently this was causing the loop.