Change e-mail used to send Google Calendar invites

I have two emails a@gmail.com and b@work.com linked to Gmail from which I can send emails. Now in Google calendar I can send calendar invites to emails, which are sent by a@gmail.com (It says a@gmail.com has invited you, please reply to a@gmail.com), as this is my main email and I’m the owner of this calendar.

I cannot find an option to change the email used in the invites, I even tried to create a new calendar for work appointments which belongs to b@work.com but this is also not possible as a@gmail.com is used per default and is not changeable.

My question now is how to send invitations in the name of my alternative email b@work.com and with the reply path b@work.com, or how to create a new calendar for this email address.

How send mail notification about postgresql backup?

I will use PostgreSQL on Centos7. For backuping DB i will use pg_dump. How can i send mail notification that pg_dump work success, and no situation when pg_dump doesnt work at least week for example? I think i need use something like cron, but cant find some fast guide or for this task. Give me please some advice how combine this instruments together?

tmux send keys to custom socket and session syntax

I have attempted to get the syntax of the send keys argument correct and tried a few variations I tried to piece together from the man page but I must simply be misunderstanding something.

I initialize tmux in the following manner and wish to manipulate it as seen below.

sudo -H -u username1 -g usergroup1 bash -c '/usr/bin/tmux -S /home/shares/tmux_sessions/sock_file new -d -s "sess-tv0-i" mycommand -arg1 -arg2' sudo -H -u username1 -g usergroup1 bash -c '/usr/bin/tmux -S /home/shares/tmux_sessions/sock_file new -d -s "sess-tv1-i" mycommand -arg1 -arg2' sudo -H -u username1 -g usergroup1 bash -c '/usr/bin/tmux -S /home/shares/tmux_sessions/sock_file new -d -s "sess-tv2-i" mycommand -arg1 -arg2' 

I attempt to send keys to an individual session however my command below seems to send the command to all sessions which is undesired, i wish to send keys to only 1 session at a time.

tmux -S /home/shares/tmux_sessions/sock_file send-keys C-c -t sess-tv0-i I have also tried the following below with failure.  tmux -S /home/shares/tmux_sessions/sock_file target-session -t sess-tv0-i send-keys C-c unknown command: target-session  tmux target-session -t sess-tv0-i send-keys C-c error connecting to /tmp/tmux-0/default (No such file or directory)  tmux -S /home/shares/tmux_sessions/sock_file -t sess-tv0-i send-keys C-c tmux: unknown option -- t usage: tmux [-2CluvV] [-c shell-command] [-f file] [-L socket-name]             [-S socket-path] [command [flags]] 

Thanks for any advice or for pointing me in the right direction.

MacOS iMessages can send text but not images using SMS via iPhone

I have until recently been able to send both text messages and images to SMS-contacts from my Mac (10.14.3) over my iPhone (12.1.4). (They have never had iPhones).

Recently this stopped working, now I can only send pure text messages from my Mac, but images are immediately refused with the red exclamation mark and “Not delivered”. Clicking then say that “Your message could not be sent. Click ‘Try Again’ to send this message”, and still doesn’t work.

I can send both texts and images directly on the phone. I have tried logging out and in again on both devices, reregistering iMessage, but to no avail.

What should I try next?

How to configure simplenews to send HTML newsletters by email?

I’m using Drupal 8, simplenews module, and would like to send newsletters monthly in HTML format. The problem is that i tried to configure mimemail, htmlmail, and swiftmailer, all to HTML format, but with no success. The testing email is always plain text.

Does anybody have a simple setup guides to make sending HTML newsletters work?

Thanks

Is it possible to send all new windows to a specified virtual desktop in windows 10?

So I use virtual desktops primarily for RDP — the first desktop is the host computer and each new desktop is a different full screen RDP session. This works out very well, but when an alert dialog pops up on the host computer and I’m focused on a full screen virtual desktop the alert message is effectively hidden.

What’d i’d like to do if possible is send all new windows to the first virtual desktop, regardless of which desktop I am looking at. Is this a feature that is supported by windows, or are there any utilities that can do something like this (I’m also open to open source utilities with basic Virtual desktop management functionality, If it can move windows between desktops I think I can make it do what I want)

Send 25.000 Lithuania web visitors real targeted geo traffic for $5

I will drive 25.000 real targeted Lithuanian web visitors. It is real targeted geo traffic from Lithuania. Add Extra 25.000 web visitors from Lithuania for only $ 5. We support web visitors from Lithuania. Contact us for other countries. We can target search keywords as well. – Geo Traffic Lithuania web visitors. TARGETED WEB TRAFFIC FEATURES:Real genuine visitors with unique IP.Can be tracked by Google Analytics.Boost Alexa ranks.A tracking link providedAvailable support 24/7100% Satisfaction Guaranteed.Google Adsense safe.SEO friendly.No Proxies, No Adblock, No Iframes WHAT DO I NEED FROM YOU? – Site URL – 1 Keyword F. A. Q. 1. Do you accept non-English keywords and non-English Sites? Yes, we can accept non-English websites but you have to send me your keywords. 2. Do you accept all Sites? No, we don’t accept illegal Websites & terrorism, SEOClerk Gigs, Adf.ly, Viruses, Songs, Casino Games, Nude, Sex or Pornographic, Religion, Drugs, Dating, Black Magic, Astrology, Esoteric, music, Alcoholic drinks and websites with pop up windows, Frame Breakers and Force Javascript 3. Do you guarantee any conversions from your traffic? No, we do not guarantee any conversions, deals or affiliates from our traffic. We can not send users who are interested in your products or services. Our traffic is mainly used for improving Alexa and SEO rank only. If you need traffic to improve your site Alexa rank then you have found the best service that will achieve your goal. 4. Can you send visitors from any country? No, we do not support sending traffic from all countries. If you did not find your country on our pages, then contact us before you order by sending a private message. 5. What is the meaning of the Expected delivery days? It is the max days that we need to complete your order. When the Expected delivery is 10 days that means we will deliver the order before 10 days. It can be 7, 8, 9 or 10 Days Maximum Days To Complete.

by: minutesuae
Created: —
Category: Traffic
Viewed: 206


Ubuntu 16.04 + Postfix + Dovecot => Send ok, but not Receiving

I’m using Ubuntu 16.04, and installed iredadmin.

Postfix + Dovecot are running, but I cant receive e-mails, just send.

/var/log/mail.log (LOGS)

Mar 19 13:08:51 construlista postfix/smtpd[17128]: >>> CHECKING RECIPIENT MAPS <<< Mar 19 13:08:51 construlista postfix/smtpd[17128]: ctable_locate: leave existing entry key fernando@construlista.com.br Mar 19 13:08:51 construlista postfix/smtpd[17128]: maps_find: recipient_canonical_maps: fernando@construlista.com.br: not found Mar 19 13:08:51 construlista postfix/smtpd[17128]: maps_find: recipient_canonical_maps: fernando: not found Mar 19 13:08:51 construlista postfix/smtpd[17128]: maps_find: recipient_canonical_maps: @construlista.com.br: not found Mar 19 13:08:51 construlista postfix/smtpd[17128]: mail_addr_find: fernando@construlista.com.br -> (not found) Mar 19 13:08:51 construlista postfix/smtpd[17128]: maps_find: canonical_maps: fernando@construlista.com.br: not found Mar 19 13:08:51 construlista postfix/smtpd[17128]: maps_find: canonical_maps: fernando: not found Mar 19 13:08:51 construlista postfix/smtpd[17128]: maps_find: canonical_maps: @construlista.com.br: not found Mar 19 13:08:51 construlista postfix/smtpd[17128]: mail_addr_find: fernando@construlista.com.br -> (not found) Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr request = lookup Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr table = mysql:/etc/postfix/mysql/virtual_alias_maps.cf Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr flags = 524352 Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr key = fernando@construlista.com.br Mar 19 13:08:51 construlista postfix/smtpd[17128]: private/proxymap socket: wanted attribute: status Mar 19 13:08:51 construlista postfix/smtpd[17128]: input attribute name: status Mar 19 13:08:51 construlista postfix/smtpd[17128]: input attribute value: 0 Mar 19 13:08:51 construlista postfix/smtpd[17128]: private/proxymap socket: wanted attribute: value Mar 19 13:08:51 construlista postfix/smtpd[17128]: input attribute name: value Mar 19 13:08:51 construlista postfix/smtpd[17128]: input attribute value: fernando@construlista.com.br Mar 19 13:08:51 construlista postfix/smtpd[17128]: private/proxymap socket: wanted attribute: (list terminator) Mar 19 13:08:51 construlista postfix/smtpd[17128]: input attribute name: (end) Mar 19 13:08:51 construlista postfix/smtpd[17128]: dict_proxy_lookup: table=mysql:/etc/postfix/mysql/virtual_alias_maps.cf flags=lock|utf8_request key=fernando@construlista.com.br -> status=0 result=fernando@construlista.com.br Mar 19 13:08:51 construlista postfix/smtpd[17128]: maps_find: virtual_alias_maps: proxy:mysql:/etc/postfix/mysql/virtual_alias_maps.cf(0,lock|fold_fix|utf8_request): fernando@construlista.com.br = fernando@construlista.com.br Mar 19 13:08:51 construlista postfix/smtpd[17128]: mail_addr_find: fernando@construlista.com.br -> fernando@construlista.com.br Mar 19 13:08:51 construlista postfix/smtpd[17128]: before input_transp_cleanup: cleanup flags = enable_header_body_filter enable_automatic_bcc enable_address_mapping enable_milters Mar 19 13:08:51 construlista postfix/smtpd[17128]: after input_transp_cleanup: cleanup flags = enable_header_body_filter enable_automatic_bcc enable_address_mapping Mar 19 13:08:51 construlista postfix/smtpd[17128]: name_mask: sendmail Mar 19 13:08:51 construlista postfix/smtpd[17128]: name_mask: verify Mar 19 13:08:51 construlista postfix/smtpd[17128]: connect to subsystem public/cleanup Mar 19 13:08:51 construlista postfix/smtpd[17128]: public/cleanup socket: wanted attribute: queue_id Mar 19 13:08:51 construlista postfix/smtpd[17128]: input attribute name: queue_id Mar 19 13:08:51 construlista postfix/smtpd[17128]: input attribute value: F0D43E0611 Mar 19 13:08:51 construlista postfix/smtpd[17128]: public/cleanup socket: wanted attribute: (list terminator) Mar 19 13:08:51 construlista postfix/smtpd[17128]: input attribute name: (end) Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr flags = 178 Mar 19 13:08:51 construlista postfix/smtpd[17128]: F0D43E0611: client=mail-ua1-f47.google.com[209.85.222.47] Mar 19 13:08:51 construlista postfix/smtpd[17128]: > mail-ua1-f47.google.com[209.85.222.47]: 250 2.1.5 Ok Mar 19 13:08:51 construlista postfix/smtpd[17128]: < mail-ua1-f47.google.com[209.85.222.47]: DATA Mar 19 13:08:51 construlista postfix/smtpd[17128]: >>> START Data command RESTRICTIONS <<< Mar 19 13:08:51 construlista postfix/smtpd[17128]: generic_checks: name=reject_unauth_pipelining Mar 19 13:08:51 construlista postfix/smtpd[17128]: reject_unauth_pipelining: DATA Mar 19 13:08:51 construlista postfix/smtpd[17128]: generic_checks: name=reject_unauth_pipelining status=0 Mar 19 13:08:51 construlista postfix/smtpd[17128]: >>> END Data command RESTRICTIONS <<< Mar 19 13:08:51 construlista postfix/smtpd[17128]: > mail-ua1-f47.google.com[209.85.222.47]: 354 End data with <CR><LF>.<CR><LF> Mar 19 13:08:51 construlista postfix/smtpd[17128]: >>> START End-of-data RESTRICTIONS <<< Mar 19 13:08:51 construlista postfix/smtpd[17128]: generic_checks: name=check_policy_service Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr request = smtpd_access_policy Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr protocol_state = END-OF-MESSAGE Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr protocol_name = ESMTP Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr client_address = 209.85.222.47 Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr client_name = mail-ua1-f47.google.com Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr client_port = 37563 Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr reverse_client_name = mail-ua1-f47.google.com Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr helo_name = mail-ua1-f47.google.com Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr sender = fernandoofj@gmail.com Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr recipient = fernando@construlista.com.br Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr recipient_count = 1 Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr queue_id = F0D43E0611 Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr instance = 42e8.5c90e9e2.e5ba4.0 Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr size = 3774 Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr etrn_domain = Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr stress = Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr sasl_method = Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr sasl_username = Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr sasl_sender = Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr ccert_subject = Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr ccert_issuer = Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr ccert_fingerprint = Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr ccert_pubkey_fingerprint = Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr encryption_protocol = TLSv1.2 Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr encryption_cipher = ECDHE-RSA-AES128-GCM-SHA256 Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr encryption_keysize = 128 Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr policy_context = Mar 19 13:08:51 construlista postfix/smtpd[17128]: 127.0.0.1:7777: wanted attribute: action Mar 19 13:08:51 construlista postfix/smtpd[17128]: input attribute name: action Mar 19 13:08:51 construlista postfix/smtpd[17128]: input attribute value: DUNNO Mar 19 13:08:51 construlista postfix/smtpd[17128]: 127.0.0.1:7777: wanted attribute: (list terminator) Mar 19 13:08:51 construlista postfix/smtpd[17128]: input attribute name: (end) Mar 19 13:08:51 construlista postfix/smtpd[17128]: check_table_result: inet:127.0.0.1:7777 DUNNO policy query Mar 19 13:08:51 construlista postfix/smtpd[17128]: generic_checks: name=check_policy_service status=0 Mar 19 13:08:51 construlista postfix/smtpd[17128]: >>> END End-of-data RESTRICTIONS <<< Mar 19 13:08:51 construlista postfix/cleanup[17133]: F0D43E0611: message-id=<CAOMs5R6Vo5iWq53JkPG54Cc0diz=ctC1=OjW-CJ=aPE+QKVuwQ@mail.gmail.com> Mar 19 13:08:51 construlista postfix/smtpd[17128]: public/cleanup socket: wanted attribute: status Mar 19 13:08:51 construlista postfix/smtpd[17128]: input attribute name: status Mar 19 13:08:51 construlista postfix/smtpd[17128]: input attribute value: 0 Mar 19 13:08:51 construlista postfix/smtpd[17128]: public/cleanup socket: wanted attribute: reason Mar 19 13:08:51 construlista postfix/smtpd[17128]: input attribute name: reason Mar 19 13:08:51 construlista postfix/smtpd[17128]: input attribute value: (end) Mar 19 13:08:51 construlista postfix/smtpd[17128]: public/cleanup socket: wanted attribute: (list terminator) Mar 19 13:08:51 construlista postfix/smtpd[17128]: input attribute name: (end) Mar 19 13:08:51 construlista postfix/smtpd[17128]: > mail-ua1-f47.google.com[209.85.222.47]: 250 2.0.0 Ok: queued as F0D43E0611 Mar 19 13:08:51 construlista postfix/qmgr[16807]: F0D43E0611: from=<fernandoofj@gmail.com>, size=3993, nrcpt=1 (queue active) Mar 19 13:08:51 construlista postfix/smtpd[17128]: < mail-ua1-f47.google.com[209.85.222.47]: QUIT Mar 19 13:08:51 construlista postfix/smtpd[17128]: > mail-ua1-f47.google.com[209.85.222.47]: 221 2.0.0 Bye Mar 19 13:08:51 construlista postfix/smtpd[17128]: match_hostname: smtpd_client_event_limit_exceptions: mail-ua1-f47.google.com ~? 127.0.0.1 Mar 19 13:08:51 construlista postfix/smtpd[17128]: match_hostaddr: smtpd_client_event_limit_exceptions: 209.85.222.47 ~? 127.0.0.1 Mar 19 13:08:51 construlista postfix/smtpd[17128]: match_list_match: mail-ua1-f47.google.com: no match Mar 19 13:08:51 construlista postfix/smtpd[17128]: match_list_match: 209.85.222.47: no match Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr request = disconnect Mar 19 13:08:51 construlista postfix/smtpd[17128]: send attr ident = smtp:209.85.222.47 Mar 19 13:08:51 construlista postfix/smtpd[17128]: private/anvil: wanted attribute: status Mar 19 13:08:51 construlista postfix/smtpd[17128]: input attribute name: status Mar 19 13:08:51 construlista postfix/smtpd[17128]: input attribute value: 0 Mar 19 13:08:51 construlista postfix/smtpd[17128]: private/anvil: wanted attribute: (list terminator) Mar 19 13:08:51 construlista postfix/smtpd[17128]: input attribute name: (end) Mar 19 13:08:51 construlista postfix/smtpd[17128]: disconnect from mail-ua1-f47.google.com[209.85.222.47] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7 Mar 19 13:08:51 construlista postfix/smtpd[17128]: master_notify: status 1 Mar 19 13:08:51 construlista postfix/smtpd[17128]: connection closed Mar 19 13:08:51 construlista postfix/10025/smtpd[17312]: connect from localhost.localdomain[127.0.0.1] Mar 19 13:08:51 construlista postfix/10025/smtpd[17312]: D0C27E0612: client=localhost.localdomain[127.0.0.1] Mar 19 13:08:51 construlista postfix/cleanup[17133]: D0C27E0612: message-id=<CAOMs5R6Vo5iWq53JkPG54Cc0diz=ctC1=OjW-CJ=aPE+QKVuwQ@mail.gmail.com> Mar 19 13:08:51 construlista postfix/10025/smtpd[17312]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 Mar 19 13:08:51 construlista postfix/qmgr[16807]: D0C27E0612: from=<fernandoofj@gmail.com>, size=4607, nrcpt=1 (queue active) Mar 19 13:08:51 construlista amavis[777]: (00777-02) Passed CLEAN {RelayedInbound}, [209.85.222.47]:37563 [209.85.222.47] <fernandoofj@gmail.com> -> <fernando@construlista.com.br>, Queue-ID: F0D43E0611, Message-ID: <CAOMs5R6Vo5iWq53JkPG54Cc0diz=ctC1=OjW-CJ=aPE+QKVuwQ@mail.gmail.com>, mail_id: cEVMAl9_ElRd, Hits: 0.86, size: 3993, queued_as: D0C27E0612, dkim_sd=20161025:gmail.com, 805 ms, Tests: [DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,DKIM_VALID_EF=-0.1,FREEMAIL_FROM=0.001,HTML_IMAGE_ONLY_16=1.048,HTML_MESSAGE=0.001,SPF_PASS=-0.001,T_REMOTE_IMAGE=0.01,URIBL_BLOCKED=0.001] Mar 19 13:08:51 construlista postfix/amavis/smtp[17139]: F0D43E0611: to=<fernando@construlista.com.br>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.97, delays=0.15/0/0.01/0.81, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as D0C27E0612) Mar 19 13:08:51 construlista postfix/qmgr[16807]: F0D43E0611: removed Mar 19 13:08:51 construlista postfix/pipe[17313]: D0C27E0612: to=<fernando@construlista.com.br>, relay=dovecot, delay=0.13, delays=0.02/0.03/0/0.08, dsn=4.3.0, status=deferred (temporary failure) Mar 19 13:08:55 construlista postfix/smtpd[17128]: auto_clnt_close: disconnect private/tlsmgr stream Mar 19 13:08:55 construlista postfix/smtpd[17128]: rewrite stream disconnect Mar 19 13:08:55 construlista postfix/smtpd[17128]: proxymap stream disconnect Mar 19 13:10:20 construlista postfix/qmgr[16807]: 5461DE060E: from=<fernandoofj@gmail.com>, size=5401, nrcpt=1 (queue active) Mar 19 13:10:20 construlista postfix/qmgr[16807]: 6C0AFE060D: from=<fernandoofj@gmail.com>, size=4579, nrcpt=1 (queue active) Mar 19 13:10:20 construlista postfix/pipe[17313]: 5461DE060E: to=<fernando@construlista.com.br>, relay=dovecot, delay=468, delays=468/0.04/0/0.17, dsn=4.3.0, status=deferred (temporary failure) Mar 19 13:10:20 construlista postfix/pipe[17639]: 6C0AFE060D: to=<fernando@construlista.com.br>, relay=dovecot, delay=506, delays=506/0.03/0/0.19, dsn=4.3.0, status=deferred (temporary failure) 

Postfix main.cf

# -------------------- # INSTALL-TIME CONFIGURATION INFORMATION # # location of the Postfix queue. Default is /var/spool/postfix. queue_directory = /var/spool/postfix  # location of all postXXX commands. Default is /usr/sbin. command_directory = /usr/sbin  # location of all Postfix daemon programs (i.e. programs listed in the # master.cf file). This directory must be owned by root. # Default is /usr/libexec/postfix daemon_directory = /usr/lib/postfix/sbin  # location of Postfix-writable data files (caches, random numbers). # This directory must be owned by the mail_owner account (see below). # Default is /var/lib/postfix. data_directory = /var/lib/postfix  # owner of the Postfix queue and of most Postfix daemon processes. # Specify the name of a user account THAT DOES NOT SHARE ITS USER OR GROUP ID # WITH OTHER ACCOUNTS AND THAT OWNS NO OTHER FILES OR PROCESSES ON THE SYSTEM. # In particular, don't specify nobody or daemon. PLEASE USE A DEDICATED USER. # Default is postfix. mail_owner = postfix  # The following parameters are used when installing a new Postfix version. # # sendmail_path: The full pathname of the Postfix sendmail command. # This is the Sendmail-compatible mail posting interface. # sendmail_path = /usr/sbin/sendmail  # newaliases_path: The full pathname of the Postfix newaliases command. # This is the Sendmail-compatible command to build alias databases. # newaliases_path = /usr/bin/newaliases  # full pathname of the Postfix mailq command.  This is the Sendmail-compatible # mail queue listing command. mailq_path = /usr/bin/mailq  # group for mail submission and queue management commands. # This must be a group name with a numerical group ID that is not shared with # other accounts, not even with the Postfix account. setgid_group = postdrop  # external command that is executed when a Postfix daemon program is run with # the -D option. # # Use "command .. & sleep 5" so that the debugger can attach before # the process marches on. If you use an X-based debugger, be sure to # set up your XAUTHORITY environment variable before starting Postfix. # debugger_command =     PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin     ddd $  daemon_directory/$  process_name $  process_id & sleep 5  debug_peer_level = 2  # -------------------- # CUSTOM SETTINGS #  # SMTP server response code when recipient or domain not found. unknown_local_recipient_reject_code = 550  # Do not notify local user. biff = no  # Disable the rewriting of "site!user" into "user@site". swap_bangpath = no  # Disable the rewriting of the form "user%domain" to "user@domain". allow_percent_hack = no  # Allow recipient address start with '-'. allow_min_user = no  # Disable the SMTP VRFY command. This stops some techniques used to # harvest email addresses. disable_vrfy_command = yes  # Enable both IPv4 and/or IPv6: ipv4, ipv6, all. inet_protocols = all  # Enable all network interfaces. inet_interfaces = all  # # TLS settings. # # SSL key, certificate, CA # smtpd_tls_key_file = /etc/ssl/private/iRedMail.key smtpd_tls_cert_file = /etc/ssl/certs/iRedMail.crt smtpd_tls_CAfile = /etc/ssl/certs/iRedMail.crt  # # Disable SSLv2, SSLv3 # smtpd_tls_protocols = !SSLv2 !SSLv3 smtpd_tls_mandatory_protocols = !SSLv2 !SSLv3 smtp_tls_protocols = !SSLv2 !SSLv3 smtp_tls_mandatory_protocols = !SSLv2 !SSLv3 lmtp_tls_protocols = !SSLv2 !SSLv3 lmtp_tls_mandatory_protocols = !SSLv2 !SSLv3  # # Fix 'The Logjam Attack'. # smtpd_tls_exclude_ciphers = aNULL, eNULL, EXPORT, DES, RC4, MD5, PSK, aECDH, EDH-DSS-DES-CBC3-SHA, EDH-RSA-DES-CDC3-SHA, KRB5-DE5, CBC3-SHA smtpd_tls_dh512_param_file = /etc/ssl/dh512_param.pem smtpd_tls_dh1024_param_file = /etc/ssl/dh2048_param.pem  tls_random_source = dev:/dev/urandom  # Log only a summary message on TLS handshake completion — no logging of client # certificate trust-chain verification errors if client certificate # verification is not required. With Postfix 2.8 and earlier, log the summary # message, peer certificate summary information and unconditionally log # trust-chain verification errors. smtp_tls_loglevel = 1 smtpd_tls_loglevel = 1  # Opportunistic TLS: announce STARTTLS support to remote SMTP clients, but do # not require that clients use TLS encryption. smtpd_tls_security_level = may  # Produce `Received:` message headers that include information about the # protocol and cipher used, as well as the remote SMTP client CommonName and # client certificate issuer CommonName. # This is disabled by default, as the information may be modified in transit # through other mail servers. Only information that was recorded by the final # destination can be trusted. #smtpd_tls_received_header = yes  # Opportunistic TLS, used when Postfix sends email to remote SMTP server. # Use TLS if this is supported by the remote SMTP server, otherwise use # plaintext. # References: #   - http://www.postfix.org/TLS_README.html#client_tls_may #   - http://www.postfix.org/postconf.5.html#smtp_tls_security_level smtp_tls_security_level = may  # Use the same CA file as smtpd. smtp_tls_CAfile = $  smtpd_tls_CAfile smtp_tls_note_starttls_offer = yes  # Enable long, non-repeating, queue IDs (queue file names). # The benefit of non-repeating names is simpler logfile analysis and easier # queue migration (there is no need to run "postsuper" to change queue file # names that don't match their message file inode number). #enable_long_queue_ids = yes  # Reject unlisted sender and recipient smtpd_reject_unlisted_recipient = yes smtpd_reject_unlisted_sender = yes  # Header and body checks with PCRE table header_checks = pcre:/etc/postfix/header_checks body_checks = pcre:/etc/postfix/body_checks.pcre  # A mechanism to transform commands from remote SMTP clients. # This is a last-resort tool to work around client commands that break # interoperability with the Postfix SMTP server. Other uses involve fault # injection to test Postfix's handling of invalid commands. # Requires Postfix-2.7+. #smtpd_command_filter = pcre:/etc/postfix/command_filter.pcre  # HELO restriction smtpd_helo_required = yes smtpd_helo_restrictions =     permit_mynetworks     permit_sasl_authenticated     check_helo_access pcre:/etc/postfix/helo_access.pcre     reject_non_fqdn_helo_hostname     reject_unknown_helo_hostname  # Sender restrictions smtpd_sender_restrictions = #    reject_unknown_sender_domain     reject_non_fqdn_sender #    reject_unlisted_sender     permit_mynetworks     permit_sasl_authenticated     check_sender_access pcre:/etc/postfix/sender_access.pcre  # Recipient restrictions #smtpd_recipient_restrictions = #    reject_unknown_recipient_domain #    reject_non_fqdn_recipient #    reject_unlisted_recipient #    check_policy_service inet:127.0.0.1:7777 #    permit_mynetworks #    permit_sasl_authenticated #    reject_unauth_destination  smtpd_relay_restrictions = permit_mynetworks,          permit_sasl_authenticated,         reject_unauth_destination  # END-OF-MESSAGE restrictions smtpd_end_of_data_restrictions =     check_policy_service inet:127.0.0.1:7777  # Data restrictions smtpd_data_restrictions = reject_unauth_pipelining  proxy_read_maps = $  canonical_maps $  lmtp_generic_maps $  local_recipient_maps $  mydestination $  mynetworks $  recipient_bcc_maps $  recipient_canonical_maps $  relay_domains $  relay_recipient_maps $  relocated_maps $  sender_bcc_maps $  sender_canonical_maps $  smtp_generic_maps $  smtpd_sender_login_maps $  transport_maps $  virtual_alias_domains $  virtual_alias_maps $  virtual_mailbox_domains $  virtual_mailbox_maps $  smtpd_sender_restrictions $  sender_dependent_relayhost_maps  # Avoid duplicate recipient messages. Default is 'yes'. enable_original_recipient = no  # Virtual support. virtual_minimum_uid = 2000 virtual_uid_maps = static:2000 virtual_gid_maps = static:2000 virtual_mailbox_base = /var/vmail  # Do not set virtual_alias_domains. virtual_alias_domains =  # # Enable SASL authentication on port 25 and force TLS-encrypted SASL authentication. # WARNING: NOT RECOMMENDED to enable smtp auth on port 25, all end users should #          be forced to submit email through port 587 instead. # smtpd_sasl_auth_enable = yes #smtpd_sasl_security_options = noanonymous #smtpd_tls_auth_only = yes  # hostname myhostname = construlista.com.br myorigin = construlista.com.br mydomain = construlista.com.br  # trusted SMTP clients which are allowed to relay mail through Postfix. # # Note: additional IP addresses/networks listed in mynetworks should be listed #       in iRedAPD setting 'MYNETWORKS' (in `/opt/iredapd/settings.py`) too. #       for example: # #       MYNETWORKS = ['xx.xx.xx.xx', 'xx.xx.xx.0/24', ...] # mynetworks = 127.0.0.1  # Accepted local emails #mydestination = $  myhostname, localhost, localhost.localdomain, construlista.com.br, construlista.net.br, infinityenge.com, infinityenge.com.br #mydestination = localhost.$  mydomain, localhost, localhost.localdomain #working#mydestination = localhost.$  mydomain, localhost, $  mydomain mydestination = localhost, localhost.localdomain  alias_maps = hash:/etc/postfix/aliases alias_database = hash:/etc/postfix/aliases  # Default message_size_limit. message_size_limit = 15728640  # The set of characters that can separate a user name from its extension # (example: user+foo), or a .forward file name from its extension (example: # .forward+foo). # Postfix 2.11 and later supports multiple characters. recipient_delimiter = +  # The time after which the sender receives a copy of the message headers of # mail that is still queued. Default setting is disabled (0h) by Postfix. #delay_warning_time = 1h compatibility_level = 2 # # Lookup virtual mail accounts # transport_maps =     proxy:mysql:/etc/postfix/mysql/transport_maps_user.cf     proxy:mysql:/etc/postfix/mysql/transport_maps_domain.cf  sender_dependent_relayhost_maps =     proxy:mysql:/etc/postfix/mysql/sender_dependent_relayhost_maps.cf  # Lookup table with the SASL login names that own the sender (MAIL FROM) addresses. smtpd_sender_login_maps =     proxy:mysql:/etc/postfix/mysql/sender_login_maps.cf  virtual_mailbox_domains =     proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf  relay_domains =     $  mydestination     proxy:mysql:/etc/postfix/mysql/relay_domains.cf  virtual_mailbox_maps =     proxy:mysql:/etc/postfix/mysql/virtual_mailbox_maps.cf  virtual_alias_maps =     proxy:mysql:/etc/postfix/mysql/virtual_alias_maps.cf     proxy:mysql:/etc/postfix/mysql/domain_alias_maps.cf     proxy:mysql:/etc/postfix/mysql/catchall_maps.cf     proxy:mysql:/etc/postfix/mysql/domain_alias_catchall_maps.cf  sender_bcc_maps =     proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf     proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_domain.cf  recipient_bcc_maps =     proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_user.cf     proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_domain.cf  # # Postscreen # postscreen_greet_action = enforce postscreen_blacklist_action = enforce postscreen_dnsbl_action = enforce postscreen_dnsbl_threshold = 2 postscreen_dnsbl_sites =     zen.spamhaus.org=127.0.0.[2..11]*3     b.barracudacentral.org=127.0.0.[2..11]*2  postscreen_dnsbl_reply_map = texthash:/etc/postfix/postscreen_dnsbl_reply postscreen_access_list = permit_mynetworks cidr:/etc/postfix/postscreen_access.cidr  # Require Postfix-2.11+ postscreen_dnsbl_whitelist_threshold = -2 # # Dovecot SASL support. # smtpd_sasl_type = dovecot smtpd_sasl_path = private/dovecot-auth virtual_transport = dovecot dovecot_destination_recipient_limit = 1  # # Amavisd + SpamAssassin + ClamAV # content_filter = smtp-amavis:[127.0.0.1]:10024  # Concurrency per recipient limit. smtp-amavis_destination_recipient_limit = 1