Why Emails are not sending properly for new Registered users

Technical Support
  • Im using Amazon Ses
    Previous version was perfect
    After updating emails are not sending properly
    Showing error logs like this

    2020-11-09T05:58:29.322Z [4567/15105] - error: Error: spawn sendmail ENOENT
        at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
        at onErrorNT (internal/child_process.js:469:16)
        at processTicksAndRejections (internal/process/task_queues.js:84:21)
        at runNextTicks (internal/process/task_queues.js:66:3)
        at processImmediate (internal/timers.js:429:9)
    2020-11-09T05:58:29.387Z [4567/15105] - error: Error: spawn sendmail ENOENT
        at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
        at onErrorNT (internal/child_process.js:469:16)
        at processTicksAndRejections (internal/process/task_queues.js:84:21)
        at runNextTicks (internal/process/task_queues.js:66:3)
        at processImmediate (internal/timers.js:429:9)
    2020-11-09T05:58:29.455Z [4567/15105] - error: Error: spawn sendmail ENOENT
        at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
        at onErrorNT (internal/child_process.js:469:16)
        at processTicksAndRejections (internal/process/task_queues.js:84:21)
    LOGS CONTROL PANEL
     
    
  • @varun-ganesh-d spawn sendmail ENOENT means NodeBB is attempting to send emails by calling the local sendmail executable, which does not exist.

    You'll need to re-check your amazon SES configuration settings... is this via plugin or direct via ACP?

  • @julian Direct ACP

  • @varun-ganesh-d please share your email settings. You may hide any sensitive information.

  • @Varun-Ganesh-D After updating what? Do not know jack about SES but seems whacked to me that updating only NodeBB would result in such. Perchance might some other, more system wide updates also been in the lurking? 🤔

    Presuming you have cli access, what returns when thou drivest the following:

    [root@forums ~]# which sendmail
    /usr/sbin/sendmail

    Should be similar to above, and, of course, be in your $PATH.

    Rock on! 🎸


Suggested Topics


  • 0 Votes
    8 Posts
    662 Views

    Thanks @dunlix and @PitaJ for help me. Problem solved only for yours help. Thanks a lot

  • 0 Votes
    3 Posts
    759 Views

    @pichalite had problems and will have to test again and report back.

  • 0 Votes
    1 Posts
    2k Views

    I have a problem with the search.
    I have on my server two forums.
    my MongoDB has both networks.
    The search returns an error message in both.

    Network 1 9/1 11:19 [8742] - error: [plugins] filter:search.query, Unable to execute query: error processing query: ns=1.searchpost limit=50 skip=0 Tree: TEXT : query=dres, language=, tag=NULL Sort: {} Proj: { _id: 0, id: 1 } planner returned error: need exactly one text index for $text query 9/1 11:19 [8742] - error: /api/search/dres MongoError: Unable to execute query: error processing query: ns=1.searchpost limit=50 skip=0 Tree: TEXT : query=dres, language=, tag=NULL Sort: {} Proj: { _id: 0, id: 1 } planner returned error: need exactly one text index for $text query at Function.MongoError.create (/NodeBB/node_modules/mongodb/node_modules/mong odb-core/lib/error.js:31:11) at queryCallback (/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:266:34) at Callbacks.emit (/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:95:3) at null.messageHandler (/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:249:23) at Socket.<anonymous> (/NodeBB/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:265:22) at Socket.emit (events.js:95:17) at Socket.<anonymous> (_stream_readable.js:748:14) at Socket.emit (events.js:92:17) at emitReadable_ (_stream_readable.js:410:10) at emitReadable (_stream_readable.js:406:5) 9/1 11:19 [8742] - error: [plugins] filter:search.query, Unable to execute query: error processing query: ns=1.searchtopic limit=50 skip=0 Tree: TEXT : query=dres, language=, tag=NULL Sort: {} Proj: { _id: 0, id: 1 } planner returned error: need exactly one text index for $text query Network 2 9/1 11:25 [28360] - error: [plugins] filter:search.query, Unable to execute query: error processing query: ns=0.searchpost limit=20 skip=0 Tree: TEXT : query=hallo, language=, tag=NULL Sort: {} Proj: { _id: 0, id: 1 } planner returned error: need exactly one text index for $text query 9/1 11:25 [28360] - error: /api/search/hallo MongoError: Unable to execute query: error processing query: ns=0.searchpost limit=20 skip=0 Tree: TEXT : query=hallo, language=, tag=NULL Sort: {} Proj: { _id: 0, id: 1 } planner returned error: need exactly one text index for $text query at Function.MongoError.create (/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/error.js:31:11) at queryCallback (/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:266:34) at Callbacks.emit (/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:95:3) at null.messageHandler (/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:249:23) at Socket.<anonymous> (/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:265:22) at Socket.emit (events.js:95:17) at Socket.<anonymous> (_stream_readable.js:748:14) at Socket.emit (events.js:92:17) at emitReadable_ (_stream_readable.js:410:10) at emitReadable (_stream_readable.js:406:5) 9/1 11:25 [28360] - error: [plugins] filter:search.query, Unable to execute query: error processing query: ns=0.searchtopic limit=20 skip=0 Tree: TEXT : query=hallo, language=, tag=NULL Sort: {} Proj: { _id: 0, id: 1 } planner returned error: need exactly one text index for $text query 9/1 11:25 [28360] - error: [plugins] filter:search.query, Unable to execute query: error processing query: ns=0.searchtopic limit=20 skip=0 Tree: TEXT : query=Population Boom 89' - Gibt es eine Überbevölkerung ?, language=, tag=NULL Sort: {} Proj: { _id: 0, id: 1 } planner returned error: need exactly one text index for $text query 9/1 11:25 [28360] - error: [plugins] filter:widget.render:suggestedtopics, Unable to execute query: error processing query: ns=0.searchtopic limit=20 skip=0 Tree: TEXT : query=Population Boom 89' - Gibt es eine Überbevölkerung ?, language=, tag=NULL Sort: {} Proj: { _id: 0, id: 1 } planner returned error: need exactly one text index for $text query 9/1 11:25 [28360] - error: /api/widgets/render MongoError: Unable to execute query: error processing query: ns=0.searchtopic limit=20 skip=0 Tree: TEXT : query=Population Boom 89' - Gibt es eine Überbevölkerung ?, language=, tag=NULL Sort: {} Proj: { _id: 0, id: 1 } planner returned error: need exactly one text index for $text query at Function.MongoError.create (/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/error.js:31:11) at queryCallback (/nodebb/node_modules/mongodb/node_modules/mongo db-core/lib/cursor.js:266:34) at Callbacks.emit (/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:95:3) at null.messageHandler (/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:249:23) at Socket.<anonymous> (/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:265:22) at Socket.emit (events.js:95:17) at Socket.<anonymous> (_stream_readable.js:748:14) at Socket.emit (events.js:92:17) at emitReadable_ (_stream_readable.js:410:10) at emitReadable (_stream_readable.js:406:5)
  • 0 Votes
    2 Posts
    6k Views

    post your apache/nginx conf

  • 0 Votes
    7 Posts
    3k Views

    Actually it was an update pushed in the last couple of hours which have solved the issue. At least on one of the plugins which I have tested. I hope it will be the same way on all the plugins. Thanks for your help.