User cannot mail themself via Exchange - email

We currently experience the problem that a user cannot send a mail to herself.
She get the error that she's not allowed to send e-mails from this address.
(You are not allowed to send on behalf of this user...)
Her e-mail address is AAA#domain.com.
(From AAA#domain.com to AAA#domain.com)
She can:
Send e-mails internally
Send e-mails externally
Receive internal e-mails
Receive external e-mails
We make use of Office 2016 and Exchange 2010 14.03.0399.000

I found out that the local address book was corrupt.
Disabled addressbook, deleted the local file and enabled it again.
This solved the issue

Related

If authentication is required to send SMTP messages, how do different mail servers send messages to each other?

To learn about email and SMTP, I wrote a basic SMTP client using sockets to push an email to my outlook account, following an example from a textbook.
I ran into a hiccup though, when the outlook mail server required me to authenticate before I could send the email. After researching the issue, I learned this is to prevent mass email spam and sender spoofing, which makes sense. I resolved this by authenticating using my outlook email and sending the email to myself.
My follow up questions that I'm having trouble finding an answer to are:
If a different mail server, such as google, needs to push an email to my outlook inbox, how does it authenticate? Does the google mail server have an account with outlook?
Is it not possible to just send mail between any two mail servers? Do the mail server admins need to white list other email servers first?
Found my answer here: How to send a mail directly to SMTP server without authentication?
Turns out, I was not connecting to an external SMTP server for outlook, but rather a server for users to perform actions with their outlook account specifically.

Exim - Restrict outgoing email to be from only one address

A bot has found a way to send bulk spam through my server. My server is not an open relay. All mails are coming from localhost. The emails are being sent from a series of FIRSTNAME_LASTNAME#mydomain.com. At mydomain, there is only 1 email account that was created that we send from.
Is there a way to restrict outgoing email that are being sent through exim to only allow emails to be sent from the 1 email account we created and block all other Sent From addressed that are being created?
You have to add the next condition to your SMTP router(s):
condition = ${if match{$sender_address}{legal#mydomain.com}{yes}{no}}
I was able to resolve this by turning on X-Headers which allowed me to locate where the emails were being executed from which in turn allowed me to eliminate an exploit from an old script.

Sending an email using javamail as if it were being sent from gmail

I'm developing a web application that uses javamail to send email messages and it works correctly.
The problem is that I don't get the email that I'm sending in the sent mail folder in the gmail account which I connect to, also I don't get bounced email as it happens if I try to send the email via gmail application.
I doubt this is due to security restrictions from javamail and cannot be done, as it would be much faster to get a possible spam list from an email server than doing it manually.but if it's for security reasons it would just be much better just not to bounce emails.
How can I use javamail as if sending the mails from gmail.com, getting the sent message in the sent mail folder and bounced mails in inbox folder?
The problem is that I don't get the email that I'm sending in the sent mail folder
Sending a mail via SMTP does not copy it to a sent folder automatically. Your sending application would have to make an IMAP connection after the SMTP connection and copy the message into the sent folder.
also I don't get bounced email
Make sure the Evelope Sender Address ("Return-Path") is set to the Gmail Adress you're using to send the messages.

Is there a reliable way to send email without having the senders smtp?

My application will be used in a manner that the user is remote from his computer running the application, receiving data via text messages sent periodically from the PC. Im sending the text message via email, using the number#carrierdomain.com. To simplify determining the user's smtp server, I've been sending the message using the destination phone carrier's smtp, instead of the whatever may or may not be available at the PC. This has worked so far with AT&T and T-Mobile, but not Verizon, as they have discontinued their smtp service.
I'm using mailsend v1.15 http://www.muquit.com/muquit/software/mailsend/mailsend.html
but Im open to alternatives.
I do have a less than ideal workaround, which is to use google or hotmail's smtp, but that requires a login/pass.
If I can send the text through regular email, using outlook, it works. I've looked at outlooks smtp logs, but that doesn't really help.
If its not being sent to a Verizon smtp server, how does it get routed, and is it something that my application can use?
Is there a reliable way to send email without having the senders smtp?
Theoretically, any smtp server can send your e-mail. However, due to the overwhelming amount of spaming on the internet, pretty much every isp has locked down their smtp server and will not allow anonymous relaying of e-mail.
If you do have the outlook client on the box you are sending the e-mail you can look at using one of the Outlook APIs:
http://msdn.microsoft.com/en-us/library/gg608200.aspx
to send the e-mail message. You are using the outlook configuration then and don't have to worry about it your code.
As long as an SMTP server is configured to allow relay from a remote domain then you can use it send email from/to virtually any address. There are downsides, however, to using any SMTP server to send an email from a specific domain - the most notable of which is that the recipient's domain will likely flag the message as spam because the domain of the SMTP server is different from that of the sender's email address.
There are other non-email APIs that can be used to send text messages, if that is something you're willing to consider. Check out:
Tropo (http://www.tropo.com)
Zeep Mobile (http://www.zeepmobile.com)
Best of luck to you.
Impossible. SMTP is the Simple Mail Transfer Protocol, without this is impossible to access to another account with Email format. You can make a php mail where you don't need to have smtp, but your access will be limited, not all ESP / ISP will allow you to delivery those emails, because they need to identify you using your SMTP and MX Lookup (Reverse MX A records) from your server. It exists more ways, but are 100% SPAMMERS and HACKERS methods and I don't recommend to use them.

Moving IMAP mail to Gmail and retaining correct times

I am trying to use gmail to manage mail from an email account I have that is imap only. My strategy was to use (getmail to retrieve mail from the server and pass it through to procmail for forwarding.
This almost works. It successfully retrieves the mail and forwards it on to my gmail account. What it does not do it keep the appropriate "sent" times. That is, an email that I received 3 months ago shows up as me having received it at the time it was forwarded.
So the question is, how can I get these mails forwarded and have their original sent times honored?
You may try to enable imap in your gmail account and use imapsync:
http://freshmeat.net/projects/imapsync/