zomebodi Verified User Joined Sep 3, 2023 Messages 58 Apr 18, 2025 #1 echo '_dmarc="v=DMARC1; p=none; sp=none; rua=mailto:|USERNAME|@|DOMAIN|"' >> dns_txt.conf Its posible to get the |USERNAME| ??
echo '_dmarc="v=DMARC1; p=none; sp=none; rua=mailto:|USERNAME|@|DOMAIN|"' >> dns_txt.conf Its posible to get the |USERNAME| ??
zEitEr Super Moderator Joined Apr 11, 2005 Messages 15,587 Location www.poralix.com Apr 18, 2025 #2 Hello, Do you really want to publish your system usernames in DNS? I'd rather use a forwarder for it: dmarc@|DOMAIN| -> |USERNAME|@|DOMAIN| something like this. If you still want to go your way, you might try inbuild PHP (yes PHP can be used in templates). or search for possible solution in existing threads: https://www.google.com/search?q=dmarc+site:forum.directadmin.com as I am under an impression it was already discussed here.
Hello, Do you really want to publish your system usernames in DNS? I'd rather use a forwarder for it: dmarc@|DOMAIN| -> |USERNAME|@|DOMAIN| something like this. If you still want to go your way, you might try inbuild PHP (yes PHP can be used in templates). or search for possible solution in existing threads: https://www.google.com/search?q=dmarc+site:forum.directadmin.com as I am under an impression it was already discussed here.
zomebodi Verified User Joined Sep 3, 2023 Messages 58 Apr 18, 2025 #3 zEitEr said: dmarc@|DOMAIN| -> |USERNAME|@|DOMAIN| Click to expand... How could I set it automatically when creating the user account?
zEitEr said: dmarc@|DOMAIN| -> |USERNAME|@|DOMAIN| Click to expand... How could I set it automatically when creating the user account?
zEitEr Super Moderator Joined Apr 11, 2005 Messages 15,587 Location www.poralix.com Apr 18, 2025 #4 User/Reseller Management Hooks | Directadmin Docs DirectAdmin Knowledge Base docs.directadmin.com