Skip to content

Instantly share code, notes, and snippets.

Working hard

Francesco fvigotti

Working hard
Block or report user

Report or block fvigotti

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
fvigotti / docker.service
Created Sep 13, 2018
graceful docker/kubernetes shutdown sample
View docker.service
Description=Docker Application Container Engine
Documentation= docker.socket
raymadrona /
Created Jan 23, 2018
Backup with Percona XtraBackup
# Install xtrabackup package.
# On production server must be installed in the slave.
wget$(lsb_release -sc)_all.deb
sudo dpkg -i percona-release_0.1-4.$(lsb_release -sc)_all.deb
zmwangx / Postfix: sender-dependent SASL
Last active Oct 1, 2019
Postfix: sender-dependent SASL authentication — relay to multiple SMTP hosts, or relay to the same host but authenticate as different users (e.g., two Gmail accounts)
View Postfix: sender-dependent SASL

This is a sequel to "Postfix: relay to authenticated SMTP".

I would like to send mail from two different Gmail accounts using Postfix. Here is the relevant section in the Postfix documentation: Configuring Sender-Dependent SASL authentication.

As a concrete example, here's how to set up two Gmail accounts (only relevant sections of the config files are listed below):

    # sender-dependent sasl authentication
    smtp_sender_dependent_authentication = yes
    sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay
You can’t perform that action at this time.