Spam issues with email

Discussion in 'Installation/Configuration' started by tonytroy, Jun 5, 2023.

  1. tonytroy

    tonytroy Member

    Hey there,

    Hope everyone's fine !

    I have a debian server with ISP config 3 (following the Perfect Server Apache, BIND, Dovecot, PureFTPD, ...).

    I created emails account for a specific DN on a specific IP address, also added the DKIM settings, but I still have some spam issues, sometimes.

    Does someone know a how to fix this and never have spam issues again ?

    Thanks a lot for your help :)
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    What kind of spam issues? Do you receive spam or is your email rejected as spam by others when you send an email?
     
  3. tonytroy

    tonytroy Member

    Hi till,

    When I send emails, occasionally in get stuck in the outbox (outlook), and when it's not stuck in the outbox, half the time it ends up in the recipients' junk mail.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no 100% solution for this as it depends on the receiver, but there are various things that you can do to increase the likeliness that your emails get received.

    - Ensure you have a valid hostname and matching reverse DNS record for the IP.
    - Create an SPF Record for the domain.
    - Create a DKIM key and enable DKIM signing for the domain.
    - Ensure your system does not send spam to get and maintain a good sender IP reputation
     
    ahrasis likes this.
  5. tonytroy

    tonytroy Member

    Hey till,

    SPF record and DKIM are OK.
    I don't know how to check if the hostname and reverse DNS are matching the IP, if you know a method to do it, I'm a taker.
    Actually, I have 5 IP addresses on my server and about 4 to 5 websites on each IP address, is that a problem?
    Same thing for the spam, how can I check this?

    As I'm here, I'm gonna take a new server and install ISP config as usual, is there any tutorial to backup the datas from the old server and send it to the new one? (most important datas are emails, I can't lost the old emails). Or do I need to create a new thread for this?
     
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Use host command for example.
    Code:
    $ host mail1.namebrightmail.com.
    mail1.namebrightmail.com has address 216.87.78.68
    
    $ host 216.87.78.68
    68.78.87.216.in-addr.arpa domain name pointer mail1.namebrightmail.com.
    
    Check what?
    My signature has link to e-mail setup tutorial, read the SPF and DKIM parts.
    You should create new thread, since that new topic has nothing to do with this thread.
     
  7. tonytroy

    tonytroy Member

    Thx for your answer Taleman

    Problem is my main IP address is registered as the reverse DNS with the nameserver. But some websites i'm using for mail are not on the same IP address. In the scaleway console, i'm not able to add the same reverse DNS name for more than one IP address.

    How can I fix this ? Do I have to create another nameservers ?
     
  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Use only one IP-address for sending mail.
     

Share This Page