Author Topic: Problems Sending and Receiving mail  (Read 134 times)

Colin

  • Newbie
  • *
  • Posts: 17
    • View Profile
Problems Sending and Receiving mail
« on: November 30, 2019, 04:54:54 pm »
I have recently had a lot of spam attacks after a failed blackmail scam and
now i cant send or receive any email. I don't believe that i am blocked, well not by everyone
but i think that something has gone wrong with EHCP.
If anyone could help then that would be great.
Colin

earnolmartin

  • Administrator
  • Full Member
  • *****
  • Posts: 235
    • View Profile
Re: Problems Sending and Receiving mail
« Reply #1 on: December 01, 2019, 01:22:25 pm »
Check to see if your server has been blacklisted:

https://mxtoolbox.com/blacklists.aspx

If it has, go through the instructions to try to get your server removed from them.

Next, check the log files of /var/log/mail.log and /var/log/mail.err to check for problems sending and receiving messages.  Post some of the output here for us to look at and troubleshoot.

Colin

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Problems Sending and Receiving mail
« Reply #2 on: December 28, 2019, 10:26:23 am »
Thank you ever so much for replying.
I am not sure what i am looking for other than obvious errors etc so i will have to take a stab in the dark.
Please bare with me.

mail.log  some entries:

unavailable - try again later; from=<root@tscolin> to=<admin@truestate.org>
Dec 28 16:50:40 tscolin postfix/pickup[20696]: warning: 35F9910142B: message has been queued for 21 days
Dec 28 16:50:40 tscolin postfix/pickup[20696]: 35F9910142B: uid=0 from=<root>
Dec 28 16:50:40 tscolin postfix/cleanup[21552]: 35F9910142B: message-id=<20191228165040.35F9910142B@tscolin>
Dec 28 16:50:40 tscolin opendkim[1268]: 35F9910142B: signing table references unknown key 'mail._domainkey.truestate.org'
Dec 28 16:50:40 tscolin postfix/cleanup[21552]: 35F9910142B: milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 4.7.1 Service unavailable - try again later; from=<root@tscolin> to=<admin@truestate.org>
Dec 28 16:50:40 tscolin postfix/pickup[20696]: warning: 3661D10142B: message has been queued for 27 days
Dec 28 16:50:40 tscolin postfix/pickup[20696]: 3661D10142B: uid=0 from=<root>
Dec 28 16:50:40 tscolin postfix/cleanup[21173]: 3661D10142B: message-id=<20191228165040.3661D10142B@tscolin>
Dec 28 16:50:40 tscolin opendkim[1268]: 3661D10142B: signing table references unknown key 'mail._domainkey.truestate.org'
Dec 28 16:50:40 tscolin postfix/cleanup[21173]: 3661D10142B: milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 4.7.1 Service

-------------------

Dec 28 16:54:46 tscolin pop3d: Connection, ip=[::ffff:80.229.14.66]
Dec 28 16:54:46 tscolin pop3d: LOGIN, user=admin@truestate.org, ip=[::ffff:80.229.14.66], port=[52290]
Dec 28 16:54:46 tscolin pop3d: LOGOUT, user=admin@truestate.org, ip=[::ffff:80.229.14.66], port=[52290], top=0, retr=0, rcvd=12, sent=39, time=0
Dec 28 16:54:51 tscolin pop3d: Connection, ip=[::ffff:80.229.14.66]
Dec 28 16:54:51 tscolin pop3d: LOGIN, user=paul@truestate.com, ip=[::ffff:80.229.14.66], port=[53456]
Dec 28 16:54:51 tscolin pop3d: LOGOUT, user=paul@truestate.com, ip=[::ffff:80.229.14.66], port=[53456], top=0, retr=0, rcvd=12, sent=39, time=0
Dec 28 16:54:51 tscolin pop3d: Connection, ip=[::ffff:80.229.14.66]
Dec 28 16:54:51 tscolin pop3d: LOGIN, user=paul@truestate.com, ip=[::ffff:80.229.14.66], port=[54385]
Dec 28 16:54:51 tscolin pop3d: LOGOUT, user=paul@truestate.com, ip=[::ffff:80.229.14.66], port=[54385], top=0, retr=0, rcvd=12, sent=39, time=0
Dec 28 16:54:57 tscolin pop3d: Connection, ip=[::ffff:80.229.14.66]
Dec 28 16:54:57 tscolin pop3d: LOGIN, user=sales@truestate.com, ip=[::ffff:80.229.14.66], port=[59561]
Dec 28 16:54:57 tscolin pop3d: LOGOUT, user=sales@truestate.com, ip=[::ffff:80.229.14.66], port=[59561], top=0, retr=0, rcvd=18, sent=232, time=0

unavailable - try again later; from=<root@tscolin> to=<admin@truestate.org>
Dec 28 17:01:40 tscolin postfix/pickup[20696]: warning: 42D5210142B: message has been queued for 27 days
Dec 28 17:01:40 tscolin postfix/pickup[20696]: 42D5210142B: uid=0 from=<root>
Dec 28 17:01:40 tscolin postfix/cleanup[21552]: 42D5210142B: message-id=<20191228170140.42D5210142B@tscolin>
Dec 28 17:01:40 tscolin opendkim[1268]: 42D5210142B: signing table references unknown key 'mail._domainkey.truestate.org'
Dec 28 17:01:40 tscolin postfix/cleanup[21552]: 42D5210142B: milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 4.7.1 Service unavailable - try again later; from=<root@tscolin> to=<admin@truestate.org>
Dec 28 17:01:40 tscolin postfix/pickup[20696]: warning: 433EF10142B: message has been queued for 14 days
Dec 28 17:01:40 tscolin postfix/pickup[20696]: 433EF10142B: uid=0 from=<root>
Dec 28 17:01:40 tscolin postfix/cleanup[21552]: 433EF10142B: message-id=<20191228170140.433EF10142B@tscolin>
Dec 28 17:01:40 tscolin opendkim[1268]: 433EF10142B: signing table references unknown key 'mail._domainkey.truestate.org'
Dec 28 17:01:40 tscolin postfix/cleanup[21552]: 433EF10142B: milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 4.7.1 Service unavailable - try again later; from=<root@tscolin> to=<admin@truestate.org>
Dec 28 17:01:40 tscolin postfix/pickup[20696]: warning: 43A7110142B: message has been queued for 7 days
Dec 28 17:01:40 tscolin postfix/pickup[20696]: 43A7110142B: uid=0 from=<root>
Dec 28 17:01:40 tscolin postfix/cleanup[21552]: 43A7110142B: message-id=<20191228170140.43A7110142B@tscolin>
Dec 28 17:01:40 tscolin opendkim[1268]: 43A7110142B: signing table references unknown key 'mail._domainkey.truestate.org'
Dec 28 17:01:40 tscolin postfix/cleanup[21552]: 43A7110142B: milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 4.7.1 Service unavailable - try again later; from=<root@tscolin> to=<admin@truestate.org>
Dec 28 17:01:40 tscolin postfix/pickup[20696]: warning: 4412110142B: message has been queued for 21 days
Dec 28 17:01:40 tscolin postfix/pickup[20696]: 4412110142B: uid=0 from=<root>
Dec 28 17:01:40 tscolin postfix/cleanup[21552]: 4412110142B: message-id=<20191228170140.4412110142B@tscolin>
Dec 28 17:01:40 tscolin opendkim[1268]: 4412110142B: signing table references unknown key 'mail._domainkey.truestate.org'
Dec 28 17:01:40 tscolin postfix/cleanup[21552]: 4412110142B: milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 4.7.1 Service

---------------------
mail.err   i have 5 copies and a few zipped  this is the one named  mail.err  others are  mail.err1 err2  etc

Dec 28 17:18:41 tscolin opendkim[1268]: 4FB0710142B: signing table references unknown key 'mail._domainkey.truestate.org'
Dec 28 17:18:41 tscolin opendkim[1268]: 500B110142B: signing table references unknown key 'mail._domainkey.truestate.org'
Dec 28 17:18:41 tscolin opendkim[1268]: 5089510142B: signing table references unknown key 'mail._domainkey.truestate.org'
Dec 28 17:19:41 tscolin opendkim[1268]: 5E2C310142B: signing table references unknown key 'mail._domainkey.truestate.org'
Dec 28 17:19:41 tscolin opendkim[1268]: 5F06410142B: signing table references unknown key 'mail._domainkey.truestate.org'
Dec 28 17:19:41 tscolin opendkim[1268]: 5F9FA10142B: signing table references unknown key 'mail._domainkey.truestate.org'
Dec 28 17:19:41 tscolin opendkim[1268]: 6011B10142B: signing table references unknown key 'mail._domainkey.truestate.org'
Dec 28 17:19:41 tscolin opendkim[1268]: 6087D10142B: signing table references unknown key 'mail._domainkey.truestate.org'
Dec 28 17:19:41 tscolin opendkim[1268]: 60FF610142B: signing table references unknown key 'mail._domainkey.truestate.org'
Dec 28 17:20:41 tscolin opendkim[1268]: 6E42310142B: signing table references unknown key 'mail._domainkey.truestate.org'
Dec 28 17:20:41 tscolin opendkim[1268]: 6EFBA10142B: signing table references unknown key 'mail._domainkey.truestate.org'
Dec 28 17:20:41 tscolin opendkim[1268]: 6F60810142B: signing table references unknown key 'mail._domainkey.truestate.org'
Dec 28 17:20:41 tscolin opendkim[1268]: 6FBDE10142B: signing table references unknown key 'mail._domainkey.truestate.org'
Dec 28 17:20:41 tscolin opendkim[1268]: 700E410142B: signing table references unknown key 'mail._domainkey.truestate.org'
Dec 28 17:20:41 tscolin opendkim[1268]: 705AF10142B: signing table references unknown key 'mail._domainkey.truestate.org'

They are pretty much the same on each line other than the 6th block

I have checked and removed 2 blocked services but i cant unblock spamhus as i am in a catch 22 as i dont have a working domain email to give them as i cant use email.

Thank you to anyone taking the time to help me
and wishing everyone a Happy New Year
Colin


earnolmartin

  • Administrator
  • Full Member
  • *****
  • Posts: 235
    • View Profile
Re: Problems Sending and Receiving mail
« Reply #3 on: January 04, 2020, 06:48:16 pm »
Your problem is as follows:

Quote
signing table references unknown key 'mail._domainkey.truestate.org'

The key file must exist.  Again, if you had set this up automatically in the advanced settings in the panel itself, it would have taken care of everything automatically for you.  I would suggest removing your custom configuration for DKIM and using the panel to configure it instead.

Colin

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Problems Sending and Receiving mail
« Reply #4 on: June 28, 2020, 11:51:16 am »
I Did this but it didnt work, I have since formatted the hard drive and started all over
yet i still have the same problem.

earnolmartin

  • Administrator
  • Full Member
  • *****
  • Posts: 235
    • View Profile
Re: Problems Sending and Receiving mail
« Reply #5 on: July 09, 2020, 04:56:57 pm »
You can try running this script manually with sudo:

https://github.com/earnolmartin/EHCP-Force-Edition/blob/master/ehcp/scripts/install_dkim_postfix.sh

Code: [Select]
sudo bash install_dkim_postfix.sh {DOMAIN_TO_USE_EX=google.com} add

Post any problems from that script here.  I have tested the DKIM functionality of EHCP Force on many fresh installs, and I have yet to encounter any problems with it.