Email Protocols





Interactions between email servers and clients are governed by email protocols. The three most common email protocols are POP, IMAP and MAPI. Most email software operates under one of these (and many products support more than one).  The correct protocol must be selected, and correctly configured, if you want your email account to work.

Share tech news, updates, or what's on your mind.

Sign up to Post

Any help to error below?

"ERROR"      1544      "2020-02-14 16:06:28.994"      "Severity: 1 (Critical), Code: HM5028, Source: ADOConnection::Connect, Description: Error when connecting to database. Microsoft OLE DB Provider for SQL Server Cannot open database "hMailserver" requested by the login. The login failed. Check your database settings in hMailServer.ini."
Dear Experts, we were configuring the Exchange rule but got issue here. can you suggest?

It seems that the web GUI cannot be updated when I inserted the keyword. How can I fix it?

Hello Experts,

I need to make all emails going out of my AWS EC2 instance to relay to SES. I have authorised as a verified domain in SES. The problem now is to masquerade all FROM addresses to in sendmail. My below;

dnl FEATURE(`genericstable',`hash -o /etc/mail/genericstable.db')dnl
dnl GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA')dnl
define(`SMART_HOST', `')dnl
define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
FEATURE(`authinfo', `hash -o /etc/mail/authinfo.db')dnl

Open in new window

Hello Experts

I am configuring my Exchange Server . I want to configure SMTP settings for POP and IMAP clients

My Mail flow is OK i have an Edge Server . But i think my SMTP parameters are not publish

What should i do to have these sntp parameters publish?

I did check on one of my clients i dont have the parameters
What tools do you use to read Email DMARC XML files?
New to Exchange, New to email.  Trying to set up procedures on what to do if your exchange server ends up on the blacklist.  Is there a step by step guide.
How does this service work exactly with gmail? I understand that there are similar email tracking services, how would I identify the fact that such emails are being tracked?
My office has been using Exchange to run our email system but a month ago we switched to our own domain and moved our email system to that domain.

We're using Outlook as a client.

Meanwhile I had not cancelled the Exchange subscription and now we're getting 2 separate and unique sets of emails to the same single email address.

It seems that anyone who replies to the "mail on the old server" will have their messages routed to the "old mail server" inbox. And anyone who replies to the "mail on the new server" will go to the "new mail server" inbox.

1. If I cancel the (old) Exchange subscription, will "all NEW replies to the mail on the old server" be automatically routed to the "new mail server"?

2. What is the most efficient method to combine the two sets of mail? Is there a software or specific way to bring the "original server mail" to combine with the "new server".  I don't want to risk deleting or overwriting a bunch of old mail.

Thanks in advance for any advice!
Problem: Using Outlook to move an existing mail item from an Outlook PST or IMAP folder into a different Outlook IMAP folder causes the IOS native email client (INEC) to display the ‘wrong’ date/time – that of ‘now’, rather than the time when the item was received or sent.

Whether or not relevant, such a move also changes the item’s ‘modified date’ as displayed in Outlook as follows: a) A move whilst Outlook online changes that date b) A move whilst Outlook offline does NOT change that date upon the move, but does change it to the time at which you subsequently go back online. (and that time is also what is seen in IOS)

Possibly the iCloud server is imposing today’s date/time as described by Nicolson (Search Nicolson “RFC 3501 section 6.3.11” re: Gmail.)

However, some items in IOS display a different date from what Outlook shows as ‘Modified’, it seems likely that IOS is not using whatever variable Outlook uses for ‘Modified Date’.

Moving an item between folders in the same Outlook PST does NOT change the item’s ‘modified date’ as seen in Outlook.

Moving in INEC or iCloud Web: Moving a message between folders within Icloud Web or INEC does NOT 13change the modified date/time shown in Outlook IMAP folder, or the date/time shown in Icloud Web or INEC.

Gmail Behavior: By comparison, using Outlook to move mail items into Gmail IMAP folders also causes the Outlook ‘modified’ time to change. But the INEC client (and the Gmail app) show the ‘correct’ timestamp – …
We have an Exchange 2010 with a couple of receive connector.  I have configured one for receiving incoming mail from the Internet
Most of the incoming mail is working fine

The thing is that with some  remote domains (that seem badly configurated like the smtp FQDN banner is an invalid domain name (.local) or the reverse DNS does not match and these servers try the StartTLS the receive connector selected by Exchange is the "Default" one even thoug my "Default" one is bound only to receive from my local private subnet.  Checking Anonymous users permission this connector solved the problem  but that seems odd since it's bound to my local subnet only.  Server was checked and is not an open relay as the security right to relay has not been added on the Default Receive connector

Any logical explanation ?
Can a forward be placed on a Gmail account which has been moved the the Vault? (Leaver)

We have many cases raised for a shared mailbox type setup for a leaver's mailbox so that historical email and forwarding can be put in place for another staff member.
I'm receving the following error message when trying to amend the default email address policy on our new Exchange 2016 server.

'The recipient policy "Default Policy" with mailbox manager settings cannot be managed by the current version of Exchange Management Console.

How can I amend the default email address policy?
I have a costumer that forwarded her gmails to another user while she was on vacation. I went in the account and tried to stop the forwarding emails but there is no email so I can disable the forwarding but the other user is still receiving the emails.
Dear Experts, we have Exchange 2016 server on 2012R2 platform. Clients can access mailboxes via outlook (pop/imap/exchange) or OWA. After renewed SSL certificate, our users could not access their mailboxes via pop/imap anymore. Those services are still running on Exchange server.

When we tested the connection on MS outlook, it could login to server successfully but could not send test email, so I think there is something wrong with SMTP and SSL.

We tried to restart pop3/imap services but it did not help. Also tried to assign new SSL to SMTP but could not. Can you suggest?

we are having some issues connecting our printers with our SMTP server.
we are using port 587 and if configure the printer to use startTLS the connection will fail, without it just.
i tried to configure a receive connector on our exchange server with our printer banding and i assigned the SSL cserticect to the receive connector but still not working.
any recommendation?

I am using this script to import distribution groups from Exchange 2016 crossforests. Everything is working including Contacts creation, adding and Primary SMTP address setup.

The only thing that's not working is the addition of the secondary smtp. I am getting the following error:

Exception setting "EmailAddresses": "Cannot convert value "System.Object[]" to type "Microsoft.Exchange.Data.ProxyAddressCollection". Error: "Conversion from System.Management.Automation.PSObject to
Microsoft.Exchange.Data.ProxyAddress has not been implemented.""
At C:\CrossForestMigration\Groups\DistributionGroupImportFrom.ps1:268 char:8
+ ... $GroupToUpdate.EmailAddresses = $GroupToUpdate.EmailAddre ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
+ FullyQualifiedErrorId : ExceptionWhenSetting
I have a particular user who is having email delivery issues. When sending a calendar invite or email to a another user (internal or external) they are getting the following:

Remote Server returned '554 5.6.0 STOREDRV.Submit.Exception:InvalidParticipantException; Failed to process message due to a permanent exception with message Participant is invalid: "Can't parse a participant from string """. Validation status: InvalidAddressFormat. InvalidParticipantException: Participant is invalid: "Can't parse a participant from string """. Validation status: InvalidAddressFormat.'

More info:

We are currently in the middle of a mail migration and currently have a hybrid exchange environment set up. The email delivery issue is appearing from the O365 exchange.
Please help me make a SMTP server.
I have a user who opens email messages that have been saved to a network location and they don't fully display. If you maximize or minimize it and then restore it to a window, it displays correctly. I've run diagnostics on the laptop and updated everything Dell has for this machine but the problem persists. It doesn't happen with messages in the user's mailbox. We save pertinent email messages in our various project folders. This appears to be the only user experiencing this
I have a php email contact form I am trying to get to work with GoDaddy,  I contacted their tech support and after a while they gave me the mail_test.php which gives every configuration they have.  I need help getting the SMTP portion of the mail_test.php to work with my script.  I am including all the info that is needed but let me know what other info is needed.  Any help is appreciated.

Here is my script for the mail contact form
    $to = ""; // this is your Email address
    $from = $_POST['email']; // this is the sender's Email address
    $name = $_POST['name'];
    $subject = "Form submission";
    $subject2 = "Copy of your form submission";
    $message = $name . " wrote the following:" . "\n\n" . $_POST['message'];

    $headers = "From:" . $from;
    $headers2 = "From:" . $to;
    mail($from,$subject2,$message2,$headers2); // sends a copy of the message to the sender
    echo "Mail Sent. Thank you " . $name . ", we will contact you shortly.";
    // You can also use header('Location: thank_you.php'); to redirect to another page.
<form action="" id="contactform" method="post"> 
                            <input type="text" name="name" class="textfield" id="name" value="" />
                            <div class="clear"></div>             

Open in new window

I had this question after viewing Our Exchange Send Connector logs directory is empty.


I am tasked with decommissioning an Exchange 2007 server (yes no joke!), but before I do I need to ensure what hosts are using the SMTP receive and send connectors. There is one send and several receive connectors.

I have enabled verbose protocol logging on both the receive and send connectors. I have restarted the Exchange transport service and even the server (several times). The path to the logs are as follows:

ReceiveProtocolLogPath                  : D:\Program Files\Exchange\TransportRoles\Logs\ProtocolLog\SmtpReceive
SendProtocolLogPath                     : D:\Program Files\Exchange\TransportRoles\Logs\ProtocolLog\SmtpSend

The logs for the SMTPsend directory is empty and the smtp receive has 3 logs dating back to 2014. Nothing new is being generated. I have tried to create from mail traffic by running a telnet SMTP session to send tests mails (which runs ok).

Any ideas Im stmpted at this stage.

I am trying to set up scan to email on a network multifunction. The new multifunction is an upgrade so all the network settings were migrated over from the old one that was always able to scan to email and scan to a network file share. I put in the SMTP server and username and credentials. I put in the correct ports and made sure it  uses SMTP authentication and not POP or anything like that. It hasnt had any issues printing and it can scan to a network share but not to an email. From the machine itself it even does a succesfull SMTP server connection but it fails to scan and send anything to an email. BTW this is a Ricoh      Aficio MP C400SR.
How to decide to set dmarc to quarantine or reject? I am reviewing the dmarc reports but don't know what to set. Right now is set to none for collecting dmarc reports. What to do?
How can I use CFIMAP to read email? I I am starting off with trying to open a connection and then close it. When I try to close it I get an error that there is no connection. My code looks like:
server = ""
username = ""
password = "password"
connection = "conn"> 

connection = "conn">

Open in new window

but I get the error:
there is no connection available with name [conn]

I have confirmed that I am using the correct server, username and password. I am hoping someone can tell me what I am missing.
How do i find out if my linux server using sendmail or postfix to send email outside.

when i did send email out using the following command

mailx -s syslog-conf myemail < /etc/syslog/sylog.conf

I am getting "postdrop: warning: unable to look up public/pickup: No such file or directory

But i do see the file

Email Protocols





Interactions between email servers and clients are governed by email protocols. The three most common email protocols are POP, IMAP and MAPI. Most email software operates under one of these (and many products support more than one).  The correct protocol must be selected, and correctly configured, if you want your email account to work.