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

Several of my personal accounts were hacked by my former employer (files were altered). I confronted them, mentioned the platforms but only sent them evidence of my Google account being hacked knowing that they might try to sweep it under the rug.

They conducted an “internal investigation” and concluded that the Apple Mail on my work device triggered those sign-ins. Besides the fact that their explanation doesn’t explain why my other accounts were hacked, I tested their theory and couldn’t replicate it. I looked it up and some people said that pull requests from Apple Mail don’t trigger logins. Can anyone confirm?

In addition, I did more digging and downloaded my Facebook data and this is what I found. It shows everything including the browser used, which a third-party app is not.

The hacks coincide with both a complaint I submitted to IT about their questionable practices and false allegations (made by IT a week after my complaint) that led to my dismissal.

magento2.3 – magento2 smtp send mail

I have a problem, i composered smtp in github and i want create send mail

I have file app/code/Mageplaza/HelloWorld/etc/email_templates.xml

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Email:etc/email_templates.xsd">
<template   id="helloworld_options_helloworld_group_email_template_invalid" 
            label="Email template invalid" 
            file="email/helloworld_email_template_invalid.html" 
            type="html" 
            module="Mageplaza_HelloWorld" 
            area="frontend"
/>
</config>

I have file app/code/Mageplaza/HelloWorld/view/frontend/email/helloworld_emai_template_invalid.html

<!--@subject Email Subject @-->
<!--@vars
{"store url = """:"Store Url",
"skin url="images/logo_email.gif" _area='frontend'":"Email Logo Image",
"htmlescape var=$recipient_name":"Recipient Name",
"htmlescape var=$recipient_email":"Recipient Email"}
@-->

<!--@styles
body {background: #F6F6F6; margin: 0; padding: 0;}
body, td {
color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif;
}
@-->

<body>
<div>
    <table cellspcing="0" cellpadding="0" border="0" height="100%" width="100%">
        <tr>
            <td align="center" valign="top" style="padding:20px 0 20px 0">
                <!-- (header starts here) -->
                <table bgcolor="FFFFFF" cellspacing="0" cellpadding="10" border="0" width="650" style="border:1px solid #E0E0E0">
                    <!-- (middle starts here) -->
                    <tr>
                        <td valign="top">
                            <h1 style="font-size:22px; font-weight: normal; line-height: 22px; margin:0 0 11px 0">Dear {{var email}},</h1>
                            This is the email that send from our magento system
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p>Congratulation you signup complete</p>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p>You has buy a ticket {{var name}} with type is {{var typeId}}</p>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p>A ticket {{var typeId}} has changes about status: {{var statusId}} </p>        
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <a href="{{store url="ticket/frontend/manageaticket/"}}uniqueCode/{{var uniqueCode}}"><span>View Detail Ticket</span></a>
                            <br/>
                            view: {{store url="ticket/frontend/manageaticket/"}}uniqueCode/{{var uniqueCode}}
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor="#EAEAEA" align="center" style="background:#EAEAEA; text-align: center;">
                            <center>
                                <p style="font-size:12px; margin:0">
                                    Thank you again, <strong>{{var store.getFrontendName()}}</strong>
                                </p>
                            </center>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
</body>

I have file app/code/Mageplaza/HelloWorld/Helper/Email.php

<?php

namespace MageplazaHelloWorldHelper;
use MagentoFrameworkAppHelperAbstractHelper;
use MagentoCustomerModelSession as CustomerSession;
use MagentoFrameworkExceptionMailException;
use MagentoFrameworkAppHelperContext;
use MagentoFrameworkTranslateInlineStateInterface;
use MagentoFrameworkMailTemplateTransportBuilder;
use MagentoFrameworkMessageManagerInterface;
use MagentoStoreModelStoreManagerInterface;
use MagentoFrameworkUrlInterface;

class Email extends AbstractHelper {
const EMAIL_APPROVAL_INVALID = 'helloworld_options/helloworld_group/email_template_invalid';
/**
 * @var StateInterface
 */
protected $_inlineTranslation;

/**
 * @var TransportBuilder
 */
protected $_transportBuilder;

/**
 * @var CustomerSession
 */
protected $_customerSession;

/**
 * @var StoreManagerInterface
 */
protected $_storeManager;

/**
 * @var UrlInterface
 */
protected $_url;

protected $_template;

protected $_messageManager;

public function __construct(
    Context $context,
    StateInterface $inlineTranslation,
    TransportBuilder $transportBuilder,
    ManagerInterface $messageManager,
    StoreManagerInterface $storeManager,
    CustomerSession $customerSession,
    UrlInterface $url
) {
    parent::__construct($context);
    $this->_inlineTranslation = $inlineTranslation;
    $this->_transportBuilder = $transportBuilder;
    $this->_customerSession = $customerSession;
    $this->_storeManager = $storeManager;
    $this->_messageManager = $messageManager;
    $this->_url = $url;
}

protected function getConfigValue($path, $storeId) {
    return $this->scopeConfig->getValue(
        $path,
        MagentoStoreModelScopeInterface::SCOPE_STORE,
        $storeId
    );
}

protected function getTemplateId($xmlPath) {
    return $this->getConfigValue($xmlPath, $this->_storeManager->getStore()->getId());
}

protected function generateTemplate($emailTemplateVariables, $senderInfo, $receiverInfo) {
    $template = $this->_transportBuilder->setTemplateIdentifier($this->_template)
        ->setTemplateOptions(
            (
                'area' => MagentoFrameworkAppArea::AREA_FRONTEND,
                'store' => $this->_storeManager->getStore()->getId(),
            )
        )
        ->setTemplateVars($emailTemplateVariables)
        ->setFrom($senderInfo)
        ->addTo($receiverInfo('email'), $receiverInfo('name'))
        ->setReplyTo($senderInfo('email'), $senderInfo('name'));

    return $this;
}

public function sendEmail($template, $emailTemplateVariables){
    $result = (
        'error' => false
    );
    $this->_template = $this->getTemplateId($template);

    $this->_inlineTranslation->suspend();

    $senderInfo = (
        'email' => $this->getConfigValue( 'trans_email/ident_custom2/email', $this->_storeManager->getStore()->getId()),
        'name' => $this->getConfigValue( 'trans_email/ident_general/name', $this->_storeManager->getStore()->getId())
    );

    $receiverInfo = (
        'email' => $emailTemplateVariables('email'),
        'name' => $emailTemplateVariables('name')
    );

    $this->generateTemplate($emailTemplateVariables, $senderInfo, $receiverInfo);

    try {
        $transport = $this->_transportBuilder->getTransport();
        $transport->sendMessage();
        $result = (
            'error' => false,
            'message' => 'Email is sent successfully'
        );
    } catch (Exception $e) {
        $result = (
            'error' => true,
            'message' => $e->getMessage()
        );
    }

    $this->_inlineTranslation->resume();

    return $result;
}

public function sendEmailHelloWorldInvalid($emailTempVariables) {
    $this->sendEmail(self::EMAIL_APPROVAL_INVALID, $emailTempVariables);
}
}

And i have file app/code/Mageplaza/HelloWorld/Controller/Adminhtml/Post/SendMail.php

<?php

namespace MageplazaHelloWorldControllerAdminhtmlPost;

use MagentoFrameworkEventObserverInterface;
use MageplazaHelloWorldHelperEmail;

class SendMail implements ObserverInterface

{
private $helperEmail;

public function __construct(
    Email $helperEmail
) {
    $this->helperEmail = $helperEmail;
}
public function execute(MagentoFrameworkEventObserver $observer)
{
    $data('name') = 'Boll';
    $data('email') = 'abc@gmail.com';

    return $this->helperEmail->sendEmailHelloWorldInvalid($data);
}
}

I don’t know which file I am missing. Help me please!

linux – Postfix, Dovecot Virtual Mail Server Unable to Restrict Access Different Hostname for SMTP, IMAP & POP3

I want to restrict access for SMTP for smtp.example.com, IMAP for imap.example.com & POP3 for pop3.example.com for my own mail server which i am building using POSTFIX & Dovecot i tried different ways and documentation but unable to do this all domains are accessible all services on the same server whole setup is on the same server not on different.

How this can be possible to restrict access for service on specific domain/hostname?

automation – How to add new label to gmail mail basing on previous labels + specific string

I’m trying to configure some automation when it comes to labelling my Gmail mailbox.
Currently, I want to apply label “X” to every new message that match the specific string “abc” and DON’T have label “Y”.

The problem I’m facing is that whenever someone responds to old thread with label “Y”, the filter is being triggered and this mail have to labels “X” and “Y”.

TLDR: I don’t want to label threads with specific label, but it is not working.

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.

iptables – Blocking everything from sending mail except postfix

How could I use iptables to block anything except the Postfix user from sending mail? It would be useful in case a web app such as wordpress got infected with malware and started sending spam.

We have just had a case where this has happened and the server was blacklisted with spamhaus. Our server hosts our website and our mail on the same IP address would be good in case there is vulnerabilities in the future.

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

theming – How to add variable to customize mail which is send after completed order?

I have created a custom field “field_jour” (type = selection list) in Commerce Order Type, for Checkout process.

I would like to customize Mail which is send when order is completed
(file = modules/commerce/modules/order/templates/commerce-order-receipt.html.twig)

1/ In File “commercemodulesordersrcEntityOrder.php”, I added

  public function getJour() {
    return $this->get("field_jour")->value;
  }

2/ In File “commercemodulesordersrcEntityOrderInterface.php”, I added ;

  public function getJour()  

3/ In File “commercemodulesordertemplatescommerce-order-receipt.html.twig” I added :

  {{ commerce_order.getJour }}        (first try)
  {{ getJour }}                    (second try)     

4/ Maybe, I should edit File “commercemodulesordersrcMailOrderReceiptMail.php” or any other file in Commerce Folder, but I don’t know how and what …

But it doesn’t work. “field_jour” value doesn’t appear in mail.

==> Is someone can help me please ?
Thank you in advance

Can you share SharePoint Online content (pages, sites etc) with Mail Enabled Security Groups Synced from On Prem AD?

I have been advising all my users to use mail enabled security groups for permissions and sharing content in SharePoint. I know for permissions, best practice is to use mail enabled security groups in SharePoint groups. And this works for mail enabled security groups that are synced from On Prem AD > AAD (a typical hybrid scenario).

However, I came across a case where a few users were not able to share (using the share button in SPO) to mail enabled security groups. I thought this might be a permissions issue or a bug. I raised this request with Microsoft support after doing some troubleshooting and was told this is the intended design. Mail Enabled security groups do not sync with SPO directory.

What is the recommended method of sharing content content from SharePoint? I was advised to create security groups in AAD which would work.

Thank you