outlook – Deleting messages from Gmail’s All Mail over IMAP?

The last time I engaged this problem is messily documented at:

Fix IMAP inconsistency, “All Mail” vs. Inbox?

The description of hat usage case, however, was complicated by the fact that I was copying messages into another gmail account. Hoping to re-confront a similar problem under a simpler usage context.

I am accessing my gmail account over IMAP using Outlook 2019 desktop installation (not Office 365 Outlook web app). I use the All Mail folder almost exclusively, as it lets me see both sent and received messages. I’m very diligent in deleting messages and threads, including messages whose text are contained in the email trails of later response. I delete such messages by dragging them into the Trash folder.

When I look in the Inbox folder, however, many messages are present which are not in All Mail. Some are plain email messages, some are appointment invites, and others are appointment acceptances. Using the Gmail webmail interface, I ensured that the Inbox’s “Social” and “Promotion” message bins were empty, then resync’d all folders over IMAP. Therefore, the explanation cannot be that messages in “Social” and/or “Promotion” show up in the Outlook Inbox folder and not the All Mail folder.

All the time spent ensuring a clean unbloated mail account has been wasted. My Inbox seems to be littered with messages that I supposedly cleaned out. It would take a lifetime to go through that vetting process again.

What am I doing wrong? How can I properly delete messages from All Mail without creating this nonsensical disparity with Inbox?

smtp – a la funcion mail en laravel no le llegan los datos por postman

Estoy haciendo una api en laravel para mandar emails. en el controlador tengo el siguiente codigo

<?php

namespace AppHttpControllers;

use IlluminateHttpRequest;
use IlluminateSupportFacadesMail;
use AppMailCloudHostingProduct;
// use IlluminateBusQueueable;
// use IlluminateContractsQueueShouldQueue;
// use IlluminateMailMailable;
// use IlluminateQueueSerializesModels;

class HomeController extends Controller
{
  public function mail(Request $request)
  {

    // recibir por post los datos del formulario
    $json = $request->input('json', null);
    $params_array = json_decode($json, true);
    var_dump($params_array);


    // validar los datos
    $validate = Validator::make($params_array,(
        'name'       =>'required|alpha',
        'phone'    =>  'required'
      ));
  //  var_dump($params_array);
    if($validate->fails())
    {
      $data = array(
        'code' => 400,
        'status' =>'error',
        'message' =>'hay errores en el formulario'
      );
      var_dump($data);
    }
    else
    {
    //  Enviar los datos
      $params_array = array(
         'name'      => $request->name,
         'phone'   =>   $request->phone
       );
       var_dump($params_array);
       Mail::to('kevincorreo66@gmail.com')->
       send(new CloudHostingProduct($params_array ));
       return back()->with('success', 'Thanks for contacting us!');
    }


  }



}

en el primer var_dump de $params_array si le llegan los datos por postman pero en

 //  Enviar los datos
      $params_array = array(
         'name'      => $request->name,
         'phone'   =>   $request->phone
       );
       var_dump($params_array);
       Mail::to('kevincorreo66@gmail.com')->
       send(new CloudHostingProduct($params_array ));
       return back()->with('success', 'Thanks for contacting us!');
    }

en el segundo var_dump el array está vacio no sé si falla la validacion….

el otro archivo es

<?php

namespace AppMail;

use IlluminateBusQueueable;
use IlluminateContractsQueueShouldQueue;
use IlluminateMailMailable;
use IlluminateQueueSerializesModels;

class CloudHostingProduct extends Mailable
{
    use Queueable, SerializesModels;

    /**
     * Create a new message instance.
     *
     * @return void
     */
    public function __construct($params_array)
    {
        $this->params_array = $params_array;

    }

    /**
     * Build the message.
     *
     * @return $this
     */

    public function build()
    {
       return $this->from('66@gmail.com')->subject('New Customer Equiry')->view('mail')->with('params_array', $this->params_array);
      // var_dump($params_array);
    }
}

privacy – Was I hacked? Does the Apple Mail App on Desktop trigger a Google “signed-in device”?

This might be related to your case – or not.

On the 22nd April 2020 security company ZecOps publicly disclosed that Apple Mail had been exposed for about ten years to 0-day remote code execution vulnerability CVE-2020-9819. They claimed that the vulnerability had been widely exploited before eventually being publicly patched in iOS 13.5 after about a month on the 20th May.

Many in the security industry were extremely worried: the vulnerability allowed attackers to remotely execute code in the context of Apple Mail by sending a crafted message, without the need for user interaction. In order to access the operating system attackers would also have needed an additional privilege escalation vulnerability. Still if your hacked accounts could be reset from email accounts managed by Apple Mail, then in theory that might explain the incident.

In general I advise you to remain calm and use caution when faced with an incident. Even professionals are under pressure and have a hard time with attribution. Any big employer would steer clear of such actions as they know that they would backfire tremendously. If you were hacked, I’d rather guess it was a third party or a specific member of the IT.

Anyway for an informed option on your case I believe one would need the reports and possibly the forensic artifacts.

I am getting following error while configuring office365 mail on contact us form in laravel 7. please anyone can

Swift_TransportException (554)
Expected response code 250 but got code “554”, with message “554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:0A004D89, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:5C1D0000, 1.36674:0E000000, 1.61250:00000000, 1.45378:611D0000, 1.44866:00020000, 16.55847:830F0000, 17.43559:0000000024020000000000000000000000000000, 20.52176:140FE58B1600103100000000, 20.50032:140FE58B7E17000000000000, 0.35180:140FE58B, 255.23226:0A004F89, 255.27962:0A000000, 255.27962:0E000000, 255.31418:0A005089, 0.35250:1F001432, 1.36674:32000000, 1.61250:00000000, 1.45378:02000000, 1.44866:01000000, 16.55847:69000000, 17.43559:0000000038030000000000000100000000000000, 20.52176:140FE58B16000000A1220000, 20.50032:140FE58B7E17702003000136, 0.35180:D2220000, 255.23226:53000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:58000000, 4.21921:DC040000, 255.27962:FA000000, 255.1494:5D000000, 0.38698:05000780, 0.37692:01000000, 0.37948:24000100, 5.33852:00000000534D545000000100, 7.36354:0100000000000109302E3330, 4.56248:DC040000, 7.40748:010000000000010B3A346335, 7.57132:00000000000000003838302D, 1.63016:32000000, 4.39640:DC040000, 8.45434:C510E24D7698B44BBA8449F5A157D31C02000000, 5.10786:0000000031352E32302E333034352E3031343A534C32505230364D42333234343A34633565323036622D376634632D343838302D613233332D62363761343132623639336100201000000000,

email – 550 Please turn on SMTP Authentication in your mail client. server without authentication

I got this message on my Gmail when i sent to my zoho prefessional mail
i check all MX , CNAME

Everything is alright, it work perfectly on my web form , but not on gmail when sending an email to my
Zoho mail.

On my Track EMail Delivery :
Rejected relay attempt:………

Can someone have this problem before
help ?

smtp – SPF record when outgoing mail server is on the same IP as the web server

We have been happily using Zoho as an email provider for years, but recently we noticed we we’re getting a lot of emails being bounced as “blocked” at our client’s ends.
After investigating it seem that a bank of Zoho’s outgoing mail servers have been blacklisted as they had been “associated with a spam campaign”.

We have contacted our clients and they are liaising with their mail providers to have this reversed, but we know this could take a while. We have been asked, therefore, by our department head, to see if we can setup our own SMTP server for outgoing mail to get back up and running quickly.

I’ve got this set up and working, save for the SPF record. Emails are getting through currently but flagged as emails are coming from our domain example.com rather than a Zoho address.

The SPF record for example.com is currently: v=spf1 include:zoho.eu ~all

I have tried adding example.com as a second include: v=spf1 include:example.com include:zoho.eu ~all, but this is creating a recursive loop (example.com goes to example.com goes to example.com etc, etc).

How do I correctly format the SPF record to allow emails sent from our own SMTP server to pass validation?

javascript – Getting attachments of a S/MIME signed mail in Nodejs/Angular

This question is similar to the one
Getting attachments of a S/MIME signed mail

The solution suggested in the above thread were really helpful.
But we currently have a Angular/Node application which call the graph API to fetch attachments

https://graph.microsoft.com/v1.0/users/{{USER_ID}}/mailFolders/Inbox/messages/{{MESSAGE_ID}}/attachments

Response Body

{
 ...,
 "name": "smime.p7m", 
 "contentType": "multipart/signed",
 ....
}

I want to know if there is any npm package to handle S/MIME file attachment?

email – If a mail server automatically deleted old messages and I use IMAP on my devices, will I lost that mails?

My father’s work email is configured to use POP. The problem is that he receive tons of spam and he is annoyed to delete it twice (hundreds of spam mail everyday).

I was wondering to configure it in IMAP but my fear is that he could lost emails because server auto-deletes mail older the XX days.

Is there a way to not lost emails autoremoved from server while using IMAP?

Thanks in advance

rsa – Verifying S/MIME mail with openssl

I’m trying to verify an S/MIME signed email with openssl (term tooling) but I’m having a problem.
I have the mail and I can extract the chain of certificates but I’m failing at locating the actual signature of the email. I have the public key of the signer (the last certificate) and I have the plaintext, which I got with

openssl smime -verify -in <mail> -noverify -out mail_body.txt

If I understand correctly now I need the signature, decrypt it with the last certifier public key and check that with the hash of mail_body.txt but I can’t find the signature.

macos – Is there a way to get Apple mail to display like gmail?

This might be the wrong forum, but I’ll ask anyway.
I set up Apple mail and don’t like the display, compared to gmail (in Chrome/Safari).

I like the table layout where I don’t see any specific email content until I select the specific email.

Like this
enter image description here

The closest I can come in Mac mail is this below, but it still shows each emails content.
I know I can slide the window up and down from dragging the dot in between, but that’s not what I want.

Is this possible in Mac mail?
enter image description here

Dot to drag and resize the content window

enter image description here