Devecot mails delivery date reset - mail-server

I have transferred mails from another mail system to dovecot on my (Virtualmin) server. Only all delivery dates of the mail have been reset it seems. I have changed the change dates to the correct delivery dates but when I look in roundcube, I see the same dates in the list of mails but when I click on a mail, the date is correct. Only in roundcube in the list of all mails are all dates the same.
It is the same as the topic below. What they said there, I was able to solve but now only in the roundcube mail list, I don't see the dates correctly.
https://serverfault.com/questions/796842/dovecot-override-reset-delivery-date
Does anyone know how I can solve this?
What they said there, I was able to solve but now only in the roundcube mail list, I don't see the dates correctly.
https://serverfault.com/questions/796842/dovecot-override-reset-delivery-date

Related

Cleaning up email distribution list of bad/invalid emails

We have a newsletter where people opt-in (everything is on the up and up here). As people leave jobs (fired, layoffs, etc.), we still send to those emails and now after a few years, we have a considerable amount of emails that need to be purged.
The inbox that is receiving the bounces/invalid emails is a gmail account. We can filter (via a search) and find the emails that need to be removed but how can we export those emails to a list so that we can clean up our distribution list? Are there any tools that would help simply this?
We are looking into mailgun and sendgrid for future send outs but we need to clean up the list before we migrate. Any help or suggestions would be appreciated.
Our tech stack is apache/coldfusion 11 (not that it matters but in case it helps).
You could use CF to log into gmail and pull all the messages. Then loop through them all to find the bounce messages. Appending those bounced email addressed to a simple flat file. If you want to get fancy you can use a database, but I think a simple text file would do in this case. One email address per line.
I just read that you are deleting those bounced email addresses from a database. IF you're confident of your coding the above idea, you could directly delete from your database rather than saving a file.

Im receiving DMARC aggregate reports from strange domains - What does this mean?

I recently published a DMARC record with my domain to try and improve my email delivery to gmail. Everything seems to be going according to plan, except that I am receiving reports from strange places like qq.com and italiaonline.it.
I didn't expect to get reports from places like these and I was wondering if this is normal and acceptable, or if I should avoid unzipping these reports. Thanks for any help!
That's what happens, DMARC shows what places may be spoofing using your email addresses.
In your report, if the IP listed is not your IP, then most likely it's someone spoofing with your email addresses. If it's your IP then either you sent emails to those places or someone has access to your SMTP and is sending mail through it without your knowledge.
Those reports you are getting has all the information in it and they are generally save to open up. If you take a look here you'll see some of the places you'll get DMARC REPORTS from.
I can confirm I got reports from mailauth-reports#qq.com but I haven't got one from italiaonline.it yet.
If you want a friendly way to parse the reports try DMARCIAN

Email server issues to outlook users

I'm using my own email server to send and receive my emails. Therefor I've set up a VPS at Tilaa.com which also acts as my webserver.
On the webserver I have DirectAdmin setup which takes care of my administrative things.
The problem is that I can receive and send emails but Outlook, Live and Hotmail refuse the receive any emails coming from my email server. Gmail does work f.e. ( Not even in junk folders )
When the receiver at Outlook/live or hotmail adds my email address to the safe list, emails do get through.
My domain is virtualfarmingworld.com
What I have done?
- Setup SPF record
- Setup DKIM record
- Setup A record mail.virtualfarmingworld.com to server IP 84.22.113.42
http://mxtoolbox.com/SuperTool.aspx?action=mx%3avirtualfarmingworld.com&run=toolpage#
Does anyone have any ideas?
Regards,
Ciryk Popeye
Ciryk,
Hotmail can be a bit tricky, if it's being blocked completely. Then most likely your IP is on their internal blacklist. If it's showing up in their SPAM folder it can be a number of reason. The headers from the email in Hotmail will tell you why it's in the SPAM folder.
Look for SRV:<value> PCL: <Value> and SCL: <Value>
PCL stands for Phising Confidence Level and SCL stands for Spam Confidence Level.
You should run your email through this Mail Tester, it really does point out a lot of issues. It may or may not solve the hotmail issue, but they have this inbox tester their that really awesome that will show you other places you're having issues mailing to. Keep in mind, the previous owner of the IP might of spammed from it and caused issues.
I also notice by helping a lot of people that after signing up to Microsoft Junk Mail Reporting System, wait a few days and then delivery results are better with hotmail. I did a scan on you IP and I think you did that already signed up?
You're also on this blacklist: http://www.dnsblchile.org/
Which is really easy to get off, normally takes a couple of hours after you filled out the form.

Emails not going through properly to a single domain

I've searched all around, made several changes over the past two weeks, and still no luck so here I am.
We just put up a new site, and there are 3 different forms. Each form sends to a different email of theirs, a forwarder that sends to the same email of theirs (I had to make this after I figured out there was a problem with them not receiving emails from the website), and one of our emails.
Currently, they use office 365 for their email. A few days ago I figured out to change the SPF record, so I added the IP of their current website.
Here is the current SPF record:
v=spf1 include:spf.protection.outlook.com ip4:23.229.157.193 a ~all
I'm stumped. I've sent test submissions, and they receive the forward, and I receive it from my email, but the email that it's supposed to be sent to doesn't receive it.
I don't have access to their office 365 account. I tried a different option of sending the emails through swiftmailer, but GoDaddy doesn't allow me to connect to their smtp details, so that's a bust.
Has anyone encountered this problem before and know of a solution? All help is greatly appreciated.
THE SOLUTION:
After hours of calling, I was able to get the problem solved. I should have edited this earlier, but better late than never. In cPanel, there is an area for routing mail. It was set to local, rather than remote. Every email that came through went to the local emails, and since their were none, they were discarded. After changing the option to remote, the emails started flowing through. After the 3rd or 4th call, I reached someone who's actually dealt with this problem because he explained what was happening and the fix in under two minutes, unlike the others. I hope this helps anyone in the future with the same problems I encountered.
If you've configured SPF on your sending smtp server, you can configure a _dmarc
DNS record with an email address for the receiving server to send mail reports to...
Better yet, if this 'new' server is not required to be fully operational while you set up everything - you can set the _dmarc record to tell the receiving server to reject anything that doesn't pass the SPF test.
In any case, if you are setting up an email server that will send messages to any outside Internet address, and you have the ability to install software on the server - you should install and configure:
SPF, DKIM, and have a dmarc DNS record.
If you don't have these items, it's very likely much of your site's notification email will end up in the subscribers' spam box, or worse rejected by the receiving server.
Several good websites that have helped me:
unlocktheinbox.com
dmarcian.com
emailsecuritygrader
protodave.com dkim key checker
appmaildev.com domainkeys test
gettingemaildelivered.com

Sending emails to multiple recipients - best practices

My application server needs to notify users about some events via email. Usually there will be between 10-100 users to whom the notifications should be sent, but there may be a few cases where there may be a bit more (I don't think it will ever be more than 1000).
What is the best practice in such cases? Should I send a single email per user or one email with all users as recipients or group users and send one email for each group (for example 1 email for 10 users)? If it makes any difference I may add that I am using System.Net.Mail to send emails.
Thanks in advance for your suggestions
Lukasz Glaz
You should send one e-mail per user.
The alternatives either involve putting e-mails in BCC (which will increase your chances of having your mails flagged as spam), or revealing your user A's e-mail address to user B, where user A and user B are in the same "group".
You need to check with your smtp server manager - to avoid being blocked.
if you own the smtp server, than this is not a problem.
I think the best way is to send them in bulks of 50 recipients per message (it will be a little faster than one by one).
I wouldn't definetly put all recipients into a To: field. Even from one place. It's just not a good practice to show other's addresses. And it generates a problem when someone hits "Reply All" and suddenly mails all others with his crap :)
If you own the smtp server, and your application server -> smtp server connection isn't slow, I would just send every mail individually, with each single recipient in To: field. It just looks much less spam'ish then getting a mail with empty (or some bogus) To: field and being in BCC only.
Other advantage is the person recieving your mail will know what email address is used. I got plenty of them, use different ones in different places, and it helps to be able to see which one I used on which site (sometimes I need to use this address for password reset / login, and I forgot, and if all mails had me in BCC, I'm screwed). This is from your user's perspective.