Skip to main content

spf_installer

Comments

3 comments

  • cPanelMichael
    Hello :) You could generate a list of accounts that require SPF records by searching /var/cpanel/users/$username for the "HASSPF=1" entry. EX:
    grep HASSPF=1 /var/cpanel/users/*
    Any account with the HASSPF=1 entry already has an SPF record enabled, so you could exclude these users in your script. Thank you.
    0
  • akamaras
    Hi Michael Thank you very much for the answer!!! I could use "HASDKIM=1" in the same way, to find out the users that already have dkim keys?
    0
  • cPanelMichael
    I could use "HASDKIM=1" in the same way, to find out the users that already have dkim keys?

    Yes, the "HASDKIM=1" entry is also populated in those files the same way. Thank you.
    0

Please sign in to leave a comment.