Making Game: Thunderbird – show label/folder of message

Original Source Link

As you may guess, this is another Gmail labels + Thunderbird question. However, I didn’t find any answer to my doubt.
I have configured a lot of Filters on the Gmail web interface that automatically add labels to messages. Now when I open Thunderbird I can’t tell if the message shown in the inbox has a filter applied and, if so, archive it. Is there any quick way to do this?

I guess that it also translates into “Show all the folders the current message is”.

Tagged : / / /

Linux HowTo: Why won’t links within Gmail open in new tabs anymore?

Original Source Link

I recently upgraded to Firefox 3.6 and all of a sudden, clicking on links within email messages open in the same window. They used to open in a new tab using Firefox. In fact, this is still the case when using Chrome or IE7.

I can’t find any settings that might be causing this behavior. I even looked at my add ins and extensions.

Thoughts?

Works for me in Firefox 3.6.
The links in my GMail emails (which are displayed in HTML of course) are like

<href="http://..." target="_blank">

…and the target="_blank"means they should be opening in a new tab or a new window.
Possibly you have some extension which is changing the way this works.

Try running Firefox without extensions

firefox.exe -safe-mode

or with a completely new profile

firefox.exe -P some_new_profile

and see if the problem still occurs.

Using Firefox here, just notice if I right-click an email I wish to reply to and then choose “Send link…” from the contextual menu, it opens the email in a new tab. Not as easy as it could be, but functional.

I had been suffering from the same problem. Toying around with plugins, I realize that the ‘Tabs open relative’ plugin, which had to be manually installed in earlier versions of Firefox (but now seems to be there by default) is the culprit.

Disabling it, fixes the problem and all links marked with

{target="_blank"} 

(including the ones on GMail) do open in new tab/window.

Go to Preferences->Applications, and find the mailto Content Type. Change this to an application that changes the tab behavior.

Tagged : /

Making Game: Why won’t links within Gmail open in new tabs anymore?

Original Source Link

I recently upgraded to Firefox 3.6 and all of a sudden, clicking on links within email messages open in the same window. They used to open in a new tab using Firefox. In fact, this is still the case when using Chrome or IE7.

I can’t find any settings that might be causing this behavior. I even looked at my add ins and extensions.

Thoughts?

Works for me in Firefox 3.6.
The links in my GMail emails (which are displayed in HTML of course) are like

<href="http://..." target="_blank">

…and the target="_blank"means they should be opening in a new tab or a new window.
Possibly you have some extension which is changing the way this works.

Try running Firefox without extensions

firefox.exe -safe-mode

or with a completely new profile

firefox.exe -P some_new_profile

and see if the problem still occurs.

Using Firefox here, just notice if I right-click an email I wish to reply to and then choose “Send link…” from the contextual menu, it opens the email in a new tab. Not as easy as it could be, but functional.

I had been suffering from the same problem. Toying around with plugins, I realize that the ‘Tabs open relative’ plugin, which had to be manually installed in earlier versions of Firefox (but now seems to be there by default) is the culprit.

Disabling it, fixes the problem and all links marked with

{target="_blank"} 

(including the ones on GMail) do open in new tab/window.

Go to Preferences->Applications, and find the mailto Content Type. Change this to an application that changes the tab behavior.

Tagged : /

Server Bug Fix: Postfix not send emails to remote MX Record (same domain in localhost)

Original Source Link

I have a domain with mydomain.com configured in a postfix server, these domain have configured MX records to Google Suite

In the postfix server i have the user:

[email protected]

In Google Suite I have the user:

[email protected]

The MX record setup to mydomain.com

aspmx.l.google.com

When I send a mail from “[email protected]” to => “[email protected]” postfix believes that it should deliver mail locally and does not do so to the remote server at Google.

[email protected]: user unknown

Jun 4 04:08:47 correos postfix/pipe[45963]: 388E3D3F723: to=, relay=dovecot, delay=0.04, delays=0.01/0/0/0.03, dsn=2.0.0, status=sent (delivered via dovecot service)

Here no apear’s logs to Google Suite

[email protected] also needs to receive emails (which with a rule from Google Suite redirect to my postfix server)

How can I force emails to be sent to the remote MX server?

Thank you.

# Global Postfix configuration file. This file lists only a subset
# of all parameters. For the syntax, and for a complete parameter
# list, see the postconf(5) manual page (command: "man 5 postconf").
#
# For common configuration examples, see BASIC_CONFIGURATION_README
# and STANDARD_CONFIGURATION_README. To find these documents, use
# the command "postconf html_directory readme_directory", or go to
# http://www.postfix.org/.
#
# For best results, change no more than 2-3 parameters at a time,
# and test if Postfix still works after every change.



queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
inet_protocols = all
#mydestination = localhost, localhost.localdomain
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         ddd $daemon_directory/$process_name $process_id & sleep 5

sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.10.1/samples
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES


myhostname = mails.mydomain.com
mynetworks = 127.0.0.0/8
message_size_limit = 30720000
virtual_alias_domains = 
#
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf

virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf

virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
#
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination

smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/pki/dovecot/certs/dovecot.pem
smtpd_tls_key_file = /etc/pki/dovecot/private/dovecot.pem
virtual_create_maildirsize = yes
virtual_maildir_extended = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
inet_interfaces = all
smtp_tls_security_level = may

smtpd_milters = inet:127.0.0.1:8891
non_smtpd_milters = $smtpd_milters
milter_default_action = accept

tls_server_sni_maps = hash:/etc/postfix/vmail_ssl.map

Tagged : / / / /

Server Bug Fix: How to get gmail to use postfix as an SMTP server

Original Source Link

I’m trying to get gmail to send email from my vanity domain – it understandably wants to use an SMTP server set up for that domain. I tried to configure postfix to be an SMTP server for my vanity domain, but in gmail I keep getting authentication errors.
My experience seems very much the same as Postfix as SMTP server for Gmail. (“Send mail as” google option)
I found very little other helpful information online for this specific problem. Most other users who seem to ask about this problem get given “this is how to use gmail as an SMTP server” answers which are obviously not helpful. Gmail can’t send from my vanity domain which is why I (and it) need/s the SMTP server.

Here are my config files, I’ve used host.example.com for the full host and domain name of the server postfix is running on. – I’ve used vanity.domain for the vanity domain name I am trying to get to work with gmail and and user1 etc as different users.

I added Letsencrypt certificates because it was suggested gmail might reject self-signed ones. I don’t know if this is correct, or if I’ve done it correctly – I used certbot –apache on the host.domain.com – the certificates do work in the browser for host.exmaple.com.

as an aside I haven’t yet managed to get postfix to use port 587 – so I remived the :587 from where it was [vanity.domain]:587 in the configs.

main.cf (it became very long with all the tings that different guides suggested adding)

# See /usr/share/postfix/main.cf.dist for a commented, more complete version

# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on
# fresh installs.
compatibility_level = 2

# TLS parameters
smtpd_tls_cert_file=/etc/letsencrypt/live/host.example.com/fullchain.pem
#smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/letsencrypt/live/host.example.com/privkey.pem
#smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = host.example.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $myhostname, host.example.com, host, localhost.localdomain, localhost
#relayhost =[vanity.domain]:587
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all

virtual_alias_domains = vanity.domain
virtual_alias_maps = hash:/etc/postfix/virtual
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noplaintext,noanonymous
smtp_sasl_tls_security_options = noanonymous
smtp_sasl_auth_enable = yes
smtp_use_tls = yes
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt

#smtp_tls_security_level = may
#smtp_tls_protocols = !SSLv2, !SSLv3
#smtp_tls_mandatory_protocols = !SSLv2, !SSLv3
#smtp_tls_mandatory_ciphers = high
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_local_domain = 
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtp_tls_security_level = may
smtpd_tls_security_level = may
smtp_tls_note_starttls_offer = yes
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtp_tls_security_level = may
smtp_tls_protocols = !SSLv2, !SSLv3
smtp_tls_mandatory_protocols = !SSLv2, !SSLv3
smtp_tls_mandatory_ciphers = high
smtp_tls_loglevel = 1 
sender_canonical_maps = tcp:127.0.0.1:10001
sender_canonical_classes = envelope_sender
recipient_canonical_maps = tcp:127.0.0.1:10002
recipient_canonical_classes = envelope_recipient

etc/postfix/virtual:

[email protected] [email protected]
[email protected] [email protected]
[email protected] [email protected]
[email protected] [email protected]
@vanity.domain [email protected]

my log when I try to connect (ips, dates and times removed):

connect from mail-ua1-f41.google.com
Anonymous TLS connection established from mail-ua1-f41.google.com: TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
warning: mail-ua1-f41.google.com: SASL PLAIN authentication failed:
lost connection after AUTH from mail-ua1-f41.google.com
disconnect from mail-ua1-f41.google.com ehlo=2 starttls=1 auth=0/1 commands=3/4

sasl_passwd

[vanity.domain] user1:longpassword

Lastly, in gmail’s SMTP settings, I fill the following:

smtp server: host.example.com
user: user1 (I tried [email protected] and [email protected] too – I’m not sure which it should be)
password: longpassword
port: 25 (tried 587 and 465 too)
Security: TLS (tried SSL and unsecured to)

I gave up and used sendgrid instead

Tagged : / / /

Server Bug Fix: Sendmail configs and logs look correct, but I get no mail

Original Source Link

I used this tutorial to config sendmail on Ubuntu. Followed every step and when I test it, it seems to have worked, but I get no mail (not even on the spam folder)

Below is the log for a test message:

050 >>> MAIL From:<[email protected]> SIZE=345 AUTH=<>
050 250 2.1.0 OK ek1sm23505399vdc.28 - gsmtp
050 >>> RCPT To:<######@gmail.com>
050 250 2.1.5 OK ek1sm23505399vdc.28 - gsmtp
050 >>> DATA
050 354  Go ahead ek1sm23505399vdc.28 - gsmtp
050 >>> .
050 250 2.0.0 OK 1401150762 ek1sm23505399vdc.28 - gsmtp
050 <########@gmail.com>... Sent (OK 1401150762 ek1sm23505399vdc.28 - gsmtp)
250 2.0.0 s4R0WdYN007263 Message accepted for delivery
######@gmail.com... Sent (s4R0WdYN007263 Message accepted for delivery)

And this is my /var/log/mail.log

May 26 21:32:39 UX-BLUEROOM sendmail[7262]: s4R0Wdxq007262: from=christian, size=105,     class=0, nrcpts=1, msgid=<[email protected]>, [email protected]
May 26 21:32:40 UX-BLUEROOM sm-mta[7263]: s4R0WdYN007263: from=<[email protected]>, size=345, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
May 26 21:32:41 UX-BLUEROOM sm-mta[7263]: STARTTLS=client, relay=gmail-smtp-msa.l.google.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-RC4-SHA, bits=128/128
May 26 21:32:42 UX-BLUEROOM sm-mta[7263]: s4R0WdYN007263: to=<######@gmail.com>, ctladdr=<[email protected]> (1000/1000), delay=00:00:02, xdelay=00:00:02, mailer=relay, pri=30345, relay=gmail-smtp-msa.l.google.com. [173.194.75.109], dsn=2.0.0, stat=Sent (OK 1401150762 ek1sm23505399vdc.28 - gsmtp)
May 26 21:32:42 UX-BLUEROOM sendmail[7262]: s4R0Wdxq007262: to=#####@gmail.com, ctladdr=christian (1000/1000), delay=00:00:03, xdelay=00:00:03, mailer=relay, pri=30105, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (s4R0WdYN007263 Message accepted for delivery)

Google will not accept your messages without a valid domain. They’ll claim to accept them, but this is mainly to prevent spammers from figuring it out.

I know this isn’t for Google, but it’s the most comprensive source of information for properly configuring your mail server that I’ve found: http://mail.live.com/mail/troubleshooting.aspx

Tagged : / /

Server Bug Fix: ClearOS SMTP Server Setup using Gmail SMTP

Original Source Link

How to set up ClearOS SMTP server using gmail SMTP?
I’m using ClearOS as IMAP mail server. Receiving mails from pop hosting is no problem. But to setup SMTP for client using the same server is a challenge. Anybody knows how to use Google mail account as an SMTP server for ClearOS?
Thank you.

Not sure if it’s for ClearOS, but here is link explaining how to do SMTP one for you: https://www.siteground.com/kb/google_free_smtp_server/ and link two: http://mail.google.com/mail/signup

Hope this helps!

Tagged : / /

Server Bug Fix: Why Gmail App on Android version 9 now hides the message body of the postfix Undelivered Mail Returned to Sender?

Original Source Link

Is there anything I can do on postfix? I noticed that GMAIL APP in Android version 9 would hide all the Undelivered Mail Returned to Sender body message like in the following picture:

Undelivered Mail Returned to Sender displayed on GMAIL App Android v 9.0

And another unfortunate event is when I click to try to download the attachment, it displays:

enter image description here

So, this is really annoying, because it is displaying as if it was a spammy email and it has a dangerous content inside it.

HOWEVER …, I can confirm that when I go to the gmail web version or when I open it on another Gmail App on Android version below 9, the message body is not hidden, it would display normally and nicely as it should! See the picture below when opened in GMAIL App on Android version <9 or in Gmail web.

The body would display as it should in GMAIL Web and GMAIL APP on Android version less than 9

From the picture above, you can see that The Undelivered Mail Returned to Sender on my case was because the target mailbox was FULL.

I am using Postfix 3.3.3 and No custom bounce message (Postfix default), if this is somehow related (but I am sure is not):

$ postconf -d mail_version
$ mail_version = 3.3.3

I have googled around, but I have not yet found any satisfying answer related to this or even came close to as an answer.

And, before posting this question here. I tried to fix this with Postfix Custom BOUNCE Message in /etc/postfix/bounce.cf, but unfortunately, it has no effect on GMAIL App Android v9.

This question might sound silly and dead-simple, but this question was asked from a person who is on the Board of Directors who got a new smartphone with Android v9 and he is super annoyed and thinks that IT Dept. did not do their job well!

  1. Can anyone confirm if this is an issue to GMAIL App Android version
    9?
  2. Has anyone had this issue before?

Thank you in advance!

Tagged : /

Code Bug Fix: sending email from python 3.4 script, WITHOUT enabling ‘less secure apps’ in gmail

Original Source Link

i would like to send mail using a python 3.4 script, from my gmail address.
i use the following code:

import smtplib  

def sendmail():  
    sender='[email protected]'  
    receiver=['[email protected]']  
    message='text here'  
    try:  
        session=smtplib.SMTP('smtp.gmail.com',587)  
        session.ehlo()  
        session.starttls()  
        session.ehlo()  
        session.login(sender,'mypassword')  
        session.sendmail(sender,receiver,message)  
        session.quit()  
    except smtplib.SMTPException:  
        print('Error, can not send mail!')

if i ‘allow less secure apps’ in my gmail account, the script works fine. however, if i disable ‘less secure apps’, it doesn’t works (i get a warning email from google, with ‘sign-in attempt blocked’) . i would like to modify my code, to be able to send mail without enabling this thing.

i have read all the questions and answers regarding similar problems, but did not find any useful answers or methods. someone has any solution for this?

From “Allowing less secure apps to access your account” support page

Google may block sign in attempts from some apps or devices that do not use modern security standards.

A login/password is not a modern mechanism to authenticate. You should implement SASL XOAuth2.

Tagged : /

Ubuntu HowTo: Authentication failure while connecting to server imap.gmail.com

Original Source Link

Is there some persistent problem with how Thunderbird interacts with Gmail? I’ve authorized Thunderbird numerous times but am caught in a loop.

I’ve logged into the browser numerous times, check and re-checked the password. On another account, on the same pc, Thunderbird connects to this Gmail account fine. So, it’s certainly not a question of configuring the account to allow Thunderbird access.

Again, on the same pc, a different account accesses this Gmail account through Thunderbird without any problems.

Why does Thunderbird keep insisting that there’s a password problem? I’m just not that bad at typing in passwords…

Unable to login at server. Probably wrong configuration, username or
password.

Per: https://superuser.com/a/1499160/55747


Solution suggested in this thread solved my problem.

It seems, that gmail fails authentication when it detects useragent of inbuilt Thunderbird browser.

The solution is to set "general.useragent.compatMode.firefox" property to true. This is done with config editor (Options > Advanced > General > Config Editor…).

Tagged : / / / /