• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved 5.7.0 The message could not be sent. You are not allowed to use sendmail utility. 4.2.1 Message can not be delivered at this time

Josch

New Pleskian
Plesk Obsidian 18.0.25
Ubuntu 16.04.6 LTS

Hi,

I've got a problem with "forwarding only" emails with outgoing mail control on one domain:

When I'm trying to send an email to one of this email addresses with mail forwarding I get this in the maillog:

Code:
Mar 20 15:56:13 mail postfix/pipe[742]: 86FAC1004D2: to=<[email protected]>, relay=plesk_virtual, delay=529, delays=527/0.01/0/2.8, dsn=4.3.0, status=deferred (temporary failure. Command output: Mail handler 'limit-out' said: REPLY:554:5.7.0 The message could not be sent. You are not allowed to use sendmail utility. 4.2.1 Message can not be delivered at this time )


I found this: Mails from contact form or after scheduling tasks are not getting delivered: You are not allowed to use sendmail utility but sendmail is enabled Server-Wide:

Tools & Settings > Mail Server Settings > Allow users and scripts to use Sendmail - enabled

and Tools & Settings > Outgoing Mail Control> Subscription > domain.com > Change Limit from the corresponding domain "Sendmail Usage Policy" is set to "Default server-wide settings (Sendmail is allowed)".

I've tested some other forwarding only email addresses on other subscriptions and these seem to work. They are sent correctly. That is very strange. Any hints, what I can do/search/control next?

I've looked in the plesk database table "mail" but couldn't found differences between the problematic and the non-problematic email addresses.

Any help is appreciated :)

Thanks a lot in advance and best wishes,

Joska
 
Hmmm, may be a bug. This domain seemed to be missing in the plesk outgoing mail limits database.

After I added the domain with

Code:
/usr/local/psa/admin/sbin/mailmng-outgoing --add-subscription --main-domain-name=domain.com

the emails for that domain addresses went through.

Here is someone with a similar problem:


And that is EXACTLY what I did with that problematic domain - I moved it to another subscription and after that it seems to be deleted out of the plesk outgoing mail limits database.

Is that repairable? If not - where should i report that bug?

Best wishes,

Joska
 
Thanks, you solved my problem.

Plesk Obsidian Versión 18.0.34
CentOS Linux 7.9.2009 (Core)

Code:
[root@server /]# plesk repair mail example.com

Repairing the mail server configuration
    Reconfiguring the settings of domains: example.com ........... [OK]
    Reconfiguring the mailboxes ..................................... [2021-03-23 11:34:34.524] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/mailname_repair'] with exit code [1]
[FAILED]
    - mailname_repair failed: Restoring mailbox settings for
      [email protected]
      DEBUG setMailboxQuota(..., -1)
      Clean virtual aliasing settings for [email protected]
      Restoring auth settings for [email protected]
      Restoring antivirus settings for [email protected]
      Restoring antispam handlers for [email protected]
      Restoring autoresponder handler for [email protected]
      Restoring autoresponder database settings for
      [email protected]
      Restoring greylist settings for [email protected]
      Restoring virtual aliasing for [email protected]
      Restoring responder attachments info for
      [email protected]
      Restoring antispam settings for [email protected]
      Restoring spamassassin .qmail options
      Restoring outgoing limits for [email protected]
      mails.domain_id may not be NULL
      ERROR:__main__:This exception happened at:
      Traceback (most recent call last):
        File
      "/usr/local/psa/admin/sbin/mailname_repair/mailname_repair.py",
      line 55, in main
        File
      "/usr/local/psa/admin/sbin/mailname_repair/mailname_repair.py",
      line 18, in restore_outgoing_limits
          sys.stderr.write('Could not launch python executable!\n')
        File
      "/usr/local/psa/admin/sbin/mailname_repair/plesk_outgoing_mail_db.py",
      line 320, in create_mailname
          mail_name, domain_name).rowcount
        File
      "/usr/local/psa/admin/sbin/mailname_repair/plesk_sqlite3_db.py",
      line 139, in run
          return conn.execute(query, params)
      IntegrityError: mails.domain_id may not be NULL

Error messages: 0; Warnings: 0; Errors resolved: 0


exit status 1
[root@server /]# /usr/local/psa/admin/sbin/mailmng-outgoing --add-domain --domain-name=example.com --main-domain-name=maindomain.com
[root@server /]# plesk repair mail example.com

Repairing the mail server configuration
    Reconfiguring the settings of domains: example.com ........... [OK]
    Reconfiguring the mailboxes ..................................... [OK]

Error messages: 0; Warnings: 0; Errors resolved: 0

[root@server /]#
 
Thank you Josch, I followed the steps you provided, and after a while the problem was solved, it turned out that I didn't check this "Allow users and scripts to use Sendmail - enabled"
 
Back
Top