Search results

  1. T

    Form submissions not being emailed after last week’s custombuild updates

    Not sure if this should go under email or PHP, but email notifications of web form submissions are being silently discarded. Not sure if it’s by PHP or exim. Has anyone run into this and fixed it? If I configure the forms to send via SMTP it works, but sending via PHP’s mail() function...
  2. T

    Solved Install pear package for php2_release, etc?

    I installed a pear package using `pear install package`, but it was only installed in php1_release (/usr/local/php83/lib/php/). How do I install pear packages for other versions of PHP?
  3. T

    Exim rejecting mail: “Remote host address is the local host”

    I retired an old server (old.server.com) and moved its accounts to a new server (new.server.com). The A record for old.server.com points to new.server.com. Exim is rejecting mail to [email protected] with the message “[email protected] R=lookuphost defer (-1): remote host address is the...
  4. T

    Solved IMAP account -- keep old mail available but reject any new mail?

    I have a client who is changing email addresses. Is there a way I can set things up on the server so that any new email to her old address bounces, but she has access to her old email, both sent and received? She is using IMAP. Basically, I want dovecot to continue to allow her to log in but...
  5. T

    Training spamassassin

    I followed the steps at https://docs.directadmin.com/other-hosting-services/preventing-spam/incoming-spam.html#how-to-teach-spamassassin but ended up confused for two reasons: I couldn’t tell if the guide was for all email addresses or just system users. No ham script as reported here...
  6. T

    Solved The query to Validity was blocked.

    Anybody else getting this in their email headers with spamassassin enabled? The validity page says to sign up for an account and give them the server’s IP address, which I did, but no change in the results. I suspect it’s because the relevant IP address is the DNS server I’m querying, not my...
  7. T

    Monthly per-user limit?

    Is it possible to set a limit on how many emails a user can send per month? E.g., they can send no more than x emails on any given day (I know how to do this) and no more than y emails in a month.
  8. T

    Solved Enable xmlrpc.php for one site only

    I am using the technique here ( https://help.poralix.com/articles/how-to-block-access-to-xmlrpc-php-serverwide-on-directadmin ) to disable xmlrpc.php, but I would like to enable it for one site only. How do I do that? The technique is to add <Location ~ "/xmlrpc.php"> Order allow,deny...
  9. T

    Solved Rebuild awstats static .html for previous months

    I am moving users from a non-DirectAdmin server to a DA server and trying to copy over their awstats history. I have copied the .txt data files such as awstats012023.DOMAIN.txt to /home/USER/domains/DOMAIN/awstats/.data/ Using this script...
  10. T

    Default charset and collation

    I created databases a few days ago and the default charset was utf8mb4 and the default collation utf8mb4_general_ci. Today I created a database and its default charset was latin1 and collation latin1_swedish_ci. As far as I know, I have done nothing to change the defaults. Can anyone help me...
  11. T

    Solved Let’s Encrypt error: No domains pointing to this server to generate the certificate for.

    After banging my head against this error for too long today and finding other threads where people were also struggling with it, I wanted to post the solution that worked for my situation in case it might be helpful to others. This page pointed me in the right direction...
  12. T

    Why was this email discarded?

    My customer is having trouble receiving email from domains that use protection.outlook.com. Can you help me understand why this particular email was deleted? Relevant lines from /var/log/exim/mainlog-20210822: The discarded line says “R=domain_filter”. This client has the DA adult filter...
  13. T

    Question about esf_skip_hosts

    I have easy spam fighter enabled. A client cannot receive emails from a vendor because the vendor uses zoho.com and the vendor’s domain does not have DKIM correctly configured. If I add *.zoho.com to /etc/virtual/esf_skip_hosts, will that fix the problem? 2020-09-29 16:00:57 1kNLo1-007Cr1-LV...
  14. T

    Is it possible to customize the message easy spam fighter gives when it rejects mail?

    In the file /etc/exim.easy_spam_fighter/check_message.conf, there is this line: I would like to tweak that message. Is there a way to do that that will persist through custombuild updates to easy_spam_fighter and exim_conf?
  15. T

    Permissions error when restoring from backup onto new server

    I am moving users from one server to another by creating an admin backup for the user on the old server and then restoring the user on the new server. I have done this before and it has worked well, and it has worked well today so far. However, I have run into a snag with a certain user...
  16. T

    [solved] Trying to raise user’s send limit

    A user just called me -- she can’t send any more emails today because she has hit the per-address limit of 200. I am trying to raise her quota via the control panel (HTM_EMAIL_POP_MODIFY), but I get this error when I change the “Send Limit” field to 500: max_per_email_send_limit is -1 in...
  17. T

    [solved] Deleting user timed out; now I can’t delete the user

    I deleted a user via DA:2222, but the connection timed out and the user is still shown in CMD_ALL_USER_SHOW. When I try again to delete the user, I get this message: How can I remove the lock file?
  18. T

    PHP segfault after upgrading today

    CentOS 7.7 up to date kernel: httpd[29992]: segfault at 0 ip 00007f499677ef37 sp 00007fff50042828 error 4 in libphp7.so[7f4996227000+e44000] If I disable PHP2 (5.6) in options.conf, the error goes away. However, some clients need 5.6. PHP settings in options.conf: #PHP Settings...
  19. T

    How to force PHP 5.6 for files without extensions

    This server runs PHP 7.2 and 5.6. build options | grep php PHP (default): 7.2 as mod_php PHP (additional): 5.6 as php-fpm One of the sites running PHP 5.6 has this in its .htaccess: <FilesMatch "^[^.]+$"> ForceType application/x-httpd-php </FilesMatch> This is so that URLs like...
  20. T

    Trouble upgrading pecl and pear

    New install of DA on a new CentOS 7 server. pecl upgrade: pear.php.net is using a unsupported protocol - This should never happen. pear.php.net is using a unsupported protocol - This should never happen. upgrade failed Googling that error suggests that the solution is "pear upgrade". However...
Back
Top