Ir para conteúdo
View in the app

A better way to browse. Learn more.

Portal do Host

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[ Tutorial ] Corrigindo o configurador automático SPF no cPanel

Featured Replies

Postado

O arquivo SPF.pm vem com um bug, ele omite o "." no momento de adicionar o domínio na zona dns. Siga os passos abaixo paa corrigir:

# nano /usr/local/cpanel/Cpanel/SPF.pm

Localizar o trecho:

'match' => 'v=spf',

'removematch' => ( ( $overwrite || !$spf_match ) ? 'v=spf' : $spf_match ),

'domain' => $domain,

'record' => $domain,

'value' => 'v=spf1 a mx' . $safekeys . ( $is_complete ? '-all' : '?all' )

};

Incremente com o "." após o "domains," - conforme abaixo:

'match' => 'v=spf',

'removematch' => ( ( $overwrite || !$spf_match ) ? 'v=spf' : $spf_match ),

'domain' => $domain.".",

'record' => $domain.".",

'value' => 'v=spf1 a mx' . $safekeys . ( $is_complete ? '-all' : '?all' )

};

Salve o arquivo.


Postado

Eita... Essa eu não sabia... Corrigindo aqui!

Só uma coisinha Eltern, um pouco antes, nesse mesmo arquivo tem um outro bloco semelhante à esse, com algumas diferenças principalmente na linha do 'removematch' e do 'value', mas as linhas domain e record são iguais. Elas devem ser alteradas também?

Valeu por compartilhar!


Visitante
Este tópico está impedido de receber novos posts.

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Informação Importante

Concorda com os nossos termos?

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.