#StackBounty: #gmail #email #automation Auto reply in Gmail, when using Gmail for several domains/addresses

Bounty: 50

I’m using the “Send mail as” (Use Gmail to send from your other email addresses) feature to send from my unique Gmail account interface, all the mails for:

  • myname@gmail.com
  • contact@example1.com
  • contact@example2.com

I would like to configure an auto-response, but specific to each domain, like:

Thank you for contacting us. We will answer you as soon as possible, with a maximum delay of 24 hours. Kind regards — Tech support of example1.com.

However, Gmail’s Settings > General only offers a general Out of Office AutoReply:

enter image description here

Question: how to configure an auto-reply feature in Gmail specific to each email address that I’m using Gmail with? (if not possible inside Gmail, is there a free/easy-to-use external tool?)


Get this bounty!!!

#StackBounty: #email #microsoft-outlook #newlines Prevent Outlook from adding line breaks

Bounty: 100

In my Outlook messages recently I have noticed that there are added line breaks after a certain number of characters. I suspect that these are being added to my outgoing messages only, not inbound messages, because inbound messages seem to have no added line breaks.

How can I determine if Outlook is adding line breaks to my outgoing message or if it is just the viewer showing the email as having line breaks in, but it does not actually have them?

Also, how can I disable the addition of line breaks either in the viewer or in the outgoing mail processor as the case may be?

Version is Microsoft Office 13

STEPS TO REPRODUCE

  • create test email message with the following text (no line breaks)

    1234567-10 234567-20 234567-30 234567-40 234567-50 234567-60 234567-70 34567-80 234567-90 23456-100 23456-110 23456-120 23456-130 23456-140 3456-150 23456-160 23456-170 23456-180 23456-190 23456-200

  • send message to self

  • message is received with the following line breaks (occurring every 70 characters):

1234567-10 234567-20 234567-30 234567-40 234567-50 234567-60 234567-70
234567-80 234567-90 23456-100 23456-110 23456-120 23456-130 23456-140

23456-150 23456-160 23456-170 23456-180 23456-190 23456-200

Note that I have Outlook set to use UTF-8 encodings. See below:

enter image description here


Get this bounty!!!

#StackBounty: #email #send2printer Send E-mail to printer automatically

Bounty: 50

Forgive me if this is is covered in a FAQ. I am looking for a way to send a file/web page from my playbook or smart phone to a printer, with out using Google Cloud. I used UNIX many years ago and if I remember correctly you can configure an account to send all incoming E-mail to the printer. Is it possible to do this with Ubuntu? If yes, can it also be setup to limit by the sender name?

Thanks.


Get this bounty!!!

#StackBounty: #kde #thunderbird #email #notification Thunderbird notification on KDE system tray

Bounty: 100

Is there any way to have Thunderbird notification on KDE system tray.
by Running it in Ubuntu, it doesn’t bring any icon in KDE system tray.

I use Ubuntu 14.04 with KDE


Get this bounty!!!

#StackBounty: #email #postfix #configuration #gmail Postfix can send mails to all domains except gmail

Bounty: 50

I’m encountering a strange issue with my postfix server. I can send and receive emails just fine, except gmail ones. Whenever I send a mail to e.g. someone@gmail.com, it returns

I'm sorry to have to inform you that your message could not
be delivered [...]

                   The mail system

<someone@gmail.com>: user unknown

and this is what I get in the mail.log

15:32 dovecot: imap-login: Login: user=<kontakt@minzkraut.com>, method=PLAIN, rip=37.120.177.241, lip=37.120.177.241, mpid=20955, TLS, session=<jaW3/4ZRAqsleLHx>
15:32 postfix/smtpd[20956]: connect from v22017054597548976.hotsrv.de[37.120.177.241]
15:32 postfix/smtpd[20956]: 4B34140DE2: client=v22017054597548976.hotsrv.de[37.120.177.241], sasl_method=PLAIN, sasl_username=kontakt@minzkraut.com
15:32 postfix/cleanup[20961]: 4B34140DE2: message-id=<592801bf80ad3c84cefbba9d68947b6a@minzkraut.com>
15:32 postfix/qmgr[17940]: 4B34140DE2: from=<kontakt@minzkraut.com>, size=1123, nrcpt=1 (queue active)
15:32 postfix/smtpd[20956]: disconnect from v22017054597548976.hotsrv.de[37.120.177.241]
15:32 spamd[17176]: spamd: connection from localhost [::1]:44313 to port 783, fd 5
15:32 spamd[17176]: spamd: setuid to vmail succeeded
15:32 spamd[17176]: spamd: creating default_prefs: /home/vmail/.spamassassin/user_prefs
15:32 spamd[17176]: config: cannot create user preferences file /home/vmail/.spamassassin/user_prefs: No such file or directory
15:32 spamd[17176]: spamd: failed to create readable default_prefs: /home/vmail/.spamassassin/user_prefs
15:32 spamd[17176]: spamd: processing message <592801bf80ad3c84cefbba9d68947b6a@minzkraut.com> for vmail:2000
15:32 spamd[17176]: plugin: eval failed: bayes: (in learn) locker: safe_lock: cannot create tmp lockfile /home/vmail/.spamassassin/bayes.lock.v22017054597548976.hotsrv.de.17176 for /home/vmail/.spamassassin/bayes.lock: No such file or directory
15:32 spamd[17176]: spamd: clean message (0.0/4.5) for vmail:2000 in 0.0 seconds, 1199 bytes.
15:32 spamd[17176]: spamd: result: . 0 - scantime=0.0,size=1199,user=vmail,uid=2000,required_score=4.5,rhost=localhost,raddr=::1,rport=44313,mid=<592801bf80ad3c84cefbba9d68947b6a@minzkraut.com>,autolearn=unavailable autolearn_force=no
15:32 postfix/pipe[20963]: 4B34140DE2: to=<someone@gmail.com>, relay=spamassassin, delay=0.14, delays=0.06/0.01/0/0.07, dsn=5.1.1, status=bounced (user unknown)
15:32 postfix/cleanup[20961]: 6C497422EF: message-id=<20170609133221.6C497422EF@v22017054597548976.hotsrv.de>
15:32 postfix/bounce[20966]: 4B34140DE2: sender non-delivery notification: 6C497422EF
15:32 postfix/qmgr[17940]: 6C497422EF: from=<>, size=3001, nrcpt=1 (queue active)
15:32 dovecot: imap(kontakt@minzkraut.com): Logged out in=1056 out=1358
15:32 postfix/qmgr[17940]: 4B34140DE2: removed
15:32 dovecot: lda(kontakt@minzkraut.com): sieve: msgid=<20170609133221.6C497422EF@v22017054597548976.hotsrv.de>: stored mail into mailbox 'INBOX'
15:32 postfix/pipe[20967]: 6C497422EF: to=<kontakt@minzkraut.com>, relay=dovecot, delay=0.08, delays=0.03/0.01/0/0.04, dsn=2.0.0, status=sent (delivered via dovecot service)
15:32 postfix/qmgr[17940]: 6C497422EF: removed
15:32 spamd[17175]: prefork: child states: II
15:32 dovecot: imap-login: Login: user=<kontakt@minzkraut.com>, method=PLAIN, rip=37.120.177.241, lip=37.120.177.241, mpid=20970, TLS, session=<PxS9/4ZRCqsleLHx>
15:32 dovecot: imap(kontakt@minzkraut.com): Logged out in=90 out=937

I already grepped for “Gmail” in my dovecot and postfix configs, but there was nothing.
What am I missing here?

EDIT: postconf -n

alias_maps = $alias_database
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
dovecot_destination_recipient_limit = 1
html_directory = no
inet_protocols = ipv4
local_transport = local
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 52428800
mydomain = v22017054597548976.hotsrv.de
myhostname = $mydomain
mynetworks = 127.0.0.0/8
newaliases_path = /usr/bin/newaliases
readme_directory = /usr/share/doc/postfix
sample_directory = /usr/share/doc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_tls_security_level = may
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unknown_client_hostname
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unauth_pipelining, reject_non_fqdn_recipient
smtpd_relay_restrictions =
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = mysql:/etc/postfix/mysql-virtual_sender_permissions.cf
smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated, reject_unknown_helo_hostname, reject_unknown_recipient_domain, reject_unknown_sender_domain
smtpd_tls_cert_file = /etc/apache2/certs/
smtpd_tls_key_file = /etc/apache2/certs/
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_use_tls = yes
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
virtual_gid_maps = static:2000
virtual_mailbox_base = /
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
virtual_mailbox_limit = 0
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
virtual_transport = dovecot
virtual_uid_maps = static:2000

EDIT2: Here is the master.cf of postfix, also note that I can send to gmail just fine using mail or sendmail

#
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master" or
# on-line: http://www.postfix.org/master.5.html).
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       -       -       -       smtpd -o content_filter=spamassassin
#smtp      inet  n       -       -       -       1       postscreen
#smtpd     pass  -       -       -       -       -       smtpd
#dnsblog   unix  -       -       -       -       0       dnsblog
#tlsproxy  unix  -       -       -       -       0       tlsproxy
#submission inet n       -       -       -       -       smtpd
#  -o syslog_name=postfix/submission
#  -o smtpd_tls_security_level=encrypt
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_reject_unlisted_recipient=no
#  -o smtpd_client_restrictions=$mua_client_restrictions
#  -o smtpd_helo_restrictions=$mua_helo_restrictions
#  -o smtpd_sender_restrictions=$mua_sender_restrictions
#  -o smtpd_recipient_restrictions=
#  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#smtps     inet  n       -       -       -       -       smtpd
#  -o syslog_name=postfix/smtps
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_reject_unlisted_recipient=no
#  -o smtpd_client_restrictions=$mua_client_restrictions
#  -o smtpd_helo_restrictions=$mua_helo_restrictions
#  -o smtpd_sender_restrictions=$mua_sender_restrictions
#  -o smtpd_recipient_restrictions=
#  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#628       inet  n       -       -       -       -       qmqpd
pickup    unix  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      unix  n       -       n       300     1       qmgr
#qmgr     unix  n       -       n       300     1       oqmgr
tlsmgr    unix  -       -       -       1000?   1       tlsmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       -       -       -       smtp
relay     unix  -       -       -       -       -       smtp
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
retry     unix  -       -       -       -       -       error
discard   unix  -       -       -       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       -       -       -       lmtp
anvil     unix  -       -       -       -       1       anvil
scache    unix  -       -       -       -       1       scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# ====================================================================
#
# Recent Cyrus versions can use the existing "lmtp" master.cf entry.
#
# Specify in cyrus.conf:
#   lmtp    cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
#
# Specify in main.cf one or more of the following:
#  mailbox_transport = lmtp:inet:localhost
#  virtual_transport = lmtp:inet:localhost
#
# ====================================================================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus     unix  -       n       n       -       -       pipe
#  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
#
# ====================================================================
# Old example of delivery via Cyrus.
#
#old-cyrus unix  -       n       n       -       -       pipe
#  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
#
# ====================================================================
#
# See the Postfix UUCP_README file for configuration details.
#
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix  -       n       n       -       2       pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman   unix  -       n       n       -       -       pipe
  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  ${nexthop} ${user}
# Dovecot LDA
dovecot   unix  -       n       n       -       -       pipe
        flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${recipient}
spamassassin unix -     n   n   -   -   pipe
    flags=DROhu user=vmail:vmail argv=/usr/bin/spamc -f -e
    /usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop}


Get this bounty!!!

#StackBounty: #html #email #url #mailto #outlook-web-app Outlook webmail access mailto body is blank

Bounty: 50

I am trying to create a mailto url for Outlook (web version).

On Outlook everything works perfectly fine, but now I have to implement it on web version OWA as well, so I am struggling with this url:

<a href='https://company.domain.com/owa/?ae=Item&a=New&t=IPM.Note&to=someone@expample.com&subject=Hello%20again&body=Body%20Text' target=_blank>testy</a>

Because the body part is empty. Any ideas on what’s happening?


Get this bounty!!!

#StackBounty: #ubuntu #email #postfix #sendmail #smtp Send mails on Ubuntu 16.04 – Failed to authenticate on SMTP server with username …

Bounty: 50

I’m trying to send mails on my ubuntu server (from gmail). I have the Starter Cloud package from Scaleway. I have installed sendmail on my ubuntu server with the following tutorial.

In my Laravel application I have the following configuration (mailtrap for testing):

MAIL_DRIVER=smtp
MAIL_PORT=2525
MAIL_HOST=smtp.mailtrap.io
MAIL_USERNAME=1f129791a7e29f
MAIL_FROM_NAME="My name"
MAIL_FROM_ADDRESS=myname@gmail.com
MAIL_PASSWORD=passwordmailtrap

But when I try to send the email I’m getting the following error:

enter image description here

What could be my problem here? Or should I follow this tutorial and install/configure postfix on my server? When I try this on my local environment (Homestead) this works without problems.


Get this bounty!!!

#StackBounty: #magento-1.9 #extensions #email #third-party-module #adminnotification Magento 1.9.1 After change the order address from …

Bounty: 50

On Magento system, I have placed a 1 order for wholesale customer from the admin. The customer receives a mail of new order place. After placing the order I notice the shipping address which I have selected is wrong.

I edit the shipping address and check on all the 3 checkboxes (Recalculate, Notification[customize],confirm update) below the update button. I have written a note on Notification [customize] section also. After clicking on update the message display “Order update, not yet applied. Customer has been sent an email with a confirmation link. Updates will be applied after confirmation.

But the customer didn’t get any mail related to address change. We have used mandrill for sending a mail. I have checked is mandrill outbound but seems that the mail is not triggered from the Magento. Other than this mail all the mail is going to customer. Can anyone please tell me what is the problem? Why the address change/notification mail is not triggered from Magento ?


Get this bounty!!!

#StackBounty: #magento-1.9 #email #adminnotification #notification Magento 1.9.1 After change the order address from admin notification…

Bounty: 50

On Magento system, I have placed a 1 order for wholesale customer from the admin. The customer receives a mail of new order place. After placing the order I notice the shipping address which I have selected is wrong.

I edit the shipping address and check on all the 3 checkboxes (Recalculate, Notification[customize],confirm update) below the update button. I have written a note on Notification [customize] section also. After clicking on update the message display “Order update, not yet applied. Customer has been sent an email with a confirmation link. Updates will be applied after confirmation.

But the customer didn’t get any mail related to address change. We have used mandrill for sending a mail. I have checked is mandrill outbound but seems that the mail is not triggered from the Magento. Other than this mail all the mail is going to customer. Can anyone please tell me what is the problem? Why the address change/notification mail is not triggered from Magento ?


Get this bounty!!!

#StackBounty: #email #microsoft-outlook #exchange #office365 How do you change the From: field in an email's header using Outlook o…

Bounty: 100

I have been tasked with automating a process: getting GMS email alerts to automatically create tickets in ConnectWise, AND automatically assign the proper client.

In our environment we have a SonicWALL GMS that sends out email alerts. The GMS monitors 20 different SonicWALLS for 20 different clients.

The alerts are sent from sender@domian.com.
The emails are sent to a distribution group gmsalert@domain.com.
In this distribution group is the member ticketingsystem@domain.com. When an email is received by ticketingsystem@domain.com, a ticket is automatically created in our ticketing system. This mail flow is working properly, no problems there.

Here’s the challenge: in order to get the ticketing system to automatically select the company field for the company, the FROM: field needs to be a company contact. For example: gms@clientX.com

What I need is a rule that can change the from email address: sender@domain.com to a client contact email address gms@clientX.com, based on the SonicWALL serial number in the subject or body of the email. I don’t need to redirect the email, I can get it TO the right place, I just need to change where the email is FROM, so the ticketing system assigns the correct client

I have researched this extensively. I’ve tried Outlook rules, but can’t find one that will “send as” a different user. I have researched Exchange mail flow rules that adjust message header information, even opened a ticket with Office 365 support, and they hit a dead end as well. Does anyone have any insight on how to change the From: field in an email’s header using Outlook or Exchange online?

*************EDIT***************
For clarity I have added a diagram that shows the flow and what needs to happen. The To: field does not need to change. The emails are being delivered to where they need to go. When they get to where they are going, the From: field needs to change.

mail flow diagram


Get this bounty!!!