Teto | 19 May 2013 17:16
Picon

Speed up gmail message removal

Hi,

Having fought a lot before having a proper working setup (mutt + msmtp
+ offlineimap), I am still puzzled by gmail mechanisms.
I have read this post
http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/5265
and even if I don't know imap specs I can't help but wonder if it's
not possible to move a mail from Inbox to Trash on the webserver
instead of removing it from Inbox and then reupload it. I want to
delete 15 MB messages but uploading 15MB is hard for my connection and
i have this kind of errors:

Copy message 206480 (33527 of 44298) gmail-remote:[Gmail]/All Mail ->
gmail-local
Copy message from gmail-remote:[Gmail]/All Mail:
Establishing connection to imap.gmail.com:993
Thread 'Copy message from gmail-remote:INBOX' terminated with exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/offlineimap/threadutil.py",
line 156, in run
Thread.run(self)
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.7/dist-packages/offlineimap/folder/Base.py",
line 330, in copymessageto
message = self.getmessage(uid)
File "/usr/lib/python2.7/dist-packages/offlineimap/folder/IMAP.py",
line 217, in getmessage
imapobj.select(self.getfullname(), readonly = True)
File "/usr/lib/python2.7/dist-packages/offlineimap/imaplibutil.py",
(Continue reading)

Johan Herland | 19 May 2013 14:23
Gravatar

[PATCH] mbnames: Allow custom sorting of mailboxes

mutt-sidebar shows mailboxes in the order they are listed in the file
written by mbnames. Therefore, to allow customization of the order with
which mailboxes are listed, introduce the new 'sortkey' directive in
the [mbnames] section.

'sortkey' specifies a function that will be called once for each
mailbox (passing a dict with 2 items: 'accountname' and 'foldername'),
and should return a suitable sort key that mailbox.

If 'sortkey' is not given, we default to the current alphabetical
sorting provided by using (d['accountname'], d['foldername']) as sort
key.

Signed-off-by: Johan Herland <johan <at> herland.net>
---

(Please keep me CCed, as I'm not subscribed.)

This is just to scratch my own itch which I encountered while trying to
get offlineimap and mutt-sidebar to play nice together.

I already sent this as a pull request on GitHub [1] before reading the
SubmittingPatches document. Sorry about that.

Have fun! :)

...Johan

[1]: https://github.com/OfflineIMAP/offlineimap/pull/34

(Continue reading)

Alan Schmitt | 15 May 2013 12:18

messages created in the new folder with the trashed flag

Hello,

I'm am seeing several messages in a "new/" folder with the trashed
flag:

# schmitta at top in ~/.Maildir/INBOX [12:16:26]
$ ls -1 new
1368606618_0.23494.top.irisa.fr,U=681593,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,
1368606921_0.23494.top.irisa.fr,U=681596,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,
1368607527_0.23494.top.irisa.fr,U=681600,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,
1368607527_1.23494.top.irisa.fr,U=681601,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,
1368607527_3.23494.top.irisa.fr,U=681599,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,
1368607830_0.23494.top.irisa.fr,U=681602,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,
1368610858_0.23494.top.irisa.fr,U=681619,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,T
1368610858_1.23494.top.irisa.fr,U=681621,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,T
1368610858_2.23494.top.irisa.fr,U=681623,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,T
1368612373_0.23494.top.irisa.fr,U=681625,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,

This seems to pose problems to some mail viewer (such as mu4e), as mails
in the new folder should not have any flag. Is it a bug of offlineimap
that these messages have these flags?

Is there a way to tell offlineimap to not download any message with a
trashed flag?

Thanks,

Alan

_______________________________________________
(Continue reading)

BITS | 14 May 2013 03:50

4 Lời Khuyên Quan Trọng Khi Lập Kế Hoạch E.Marketing

Xem Email này ở cửa sổ lớn » - Email này không có ích cho tôi »

4 Lời khuyên quan trọng khi lập kế hoạch Email Marketing

Khi triển khai một chiến dịch email marketing, bạn có thể thấy được hiệu quả qua thông kê chiến dịch. Hiệu quả này chính là tăng lượng khách hàng trung thành và dẫn đến doanh số bán hàng tăng lên. Cách tốt nhất để chiến dịch có hiệu quả cao là lập kế hoạch trước. Rất nhiều yếu tố sẽ ảnh hưởng đến việc lập kế hoạch của bạn, sau đây chúng tôi đưa ra 4 yếu tố chính mà bạn phải chú ý đầu tiên trong bước lập kế hoạch email marketing.

1. Mục tiêu chiến dịch?
2. Đối tượng là ai?
3. Thời hạn của chiến dịch?
4. Xác định mối tương quan với những chiến dịch trước của bạn?

XEM CHI TIẾT TẠI ĐÂY 


Vì sao nên chọn BITS thiết kế website?

Công ty TNHH TM-DV BITS là một trong số những công ty thiết kế web uy tín trong lĩnh vực thiết kế website. Khách hàng thiết kế website của BITS đã có những ấn tượng, những lời khen tốt đẹp dành cho BITS trong các năm tháng làm việc tận tụy.
» Xem các ý kiến khách hàng dành cho BITS

- Khách hàng được tư vấn các chức năng phù hợp nhất và báo giá chi phí tiết kiệm nhất cho việc kinh doanh của mình một cách nhiệt tình và hoàn toàn miễn phí.
- Đặc biệt: Quí khách được xem trước kết quả cuối cùng của website, được yêu cầu chỉnh sửa, thiết kế lại cho đến khi vừa ý trước khi ký kết hợp đồng (chỉ có tại BITS).

CHÚNG TÔI CHỈ KÝ HĐ VỚI KHÁCH HÀNG KHI KHÁCH HÀNG HÀI LÒNG VỚI LAYOUT WEBSITE

» Xem chi tiết nội dung dịch vụ thiết kế website

Ngoài ra, khách hàng lựa chọn BITS còn vì:

  • Chi phí thiết kế website hợp lý nhất, cạnh tranh nhất.
  • Thời gian thiết kế website và hoàn thành website ngắn.
  • Chất lượng website của quý khách được bảo đảm độ bảo mật cao.
  • Trang quản trị nội dung chuyên nghiệp, đẹp mắt, rất dễ sử dụng.
  • Tất cả website do BITS thiết kế đều dễ dàng có thứ hạng cao trên Google một cách tự nhiên.
  • Dich vu hậu mãi, hỗ trợ nhiệt tình cùng nhiều ưu đãi khác sau khi website của quý khách đã hoàn thành.
  • Đối với chúng tôi, chất lượng sản phẩm của quý khách là ưu tiên hàng đầu.
  • Bảo hành vĩnh viễn, hỗ trợ chu đáo, nhiệt tình trong suốt thời gian quý khách sử dụng.

» Xem những dự án website BITS đã thực hiện

Quý khách đã có website? Làm sao để đẩy mạnh việc kinh doanh online, tăng doanh thu, tăng số lượng khách hàng một cách nhanh chóng, hiệu quả cao với chi phí thấp?

Sử dụng dịch vụ Email Marketing.
- BITS tự hào là nhà cung cấp dịch vụ Email Marketing hàng đầu tại Việt Nam. 
- Dịch vụ E.mail M.arketing có thể gửi hàng chục ngàn Email tới danh sách Email mà quí khách định sẵn chỉ với 1 cú click chuột. Vì vậy, trong thời đại bủng nổ thông tin hiện này có thể nói dịch vụ E.mail m.arketing chính là giải pháp marketing online hiệu quả nhất đối với doanh nghiệp vì Email marketing có được những đặc tính mang tầm chiến lược.
-  Những đối tác tiêu biểu của chúng tôi :  KFC Việt Nam, Vitek VTB, Mobifone,...

» Xem chi tiết các tính năng
Sử dụng dịch vụ SEO Top 10 Google của BITS có gì khác?
- Với kinh nghiệm làm cho nhiều đối tác với hàng trăm từ khóa với đủ loại ngành nghề khác nhau.  Chúng tôi tự tin rằng sẽ làm hài lòng khách hàng với chi phí tốt nhất và thời gian làm rút ngắn cho khách Quý Khách.
- Chúng tôi luôn luôn tư vấn cho khách hàng từ khóa tiềm năng nhầm mang lại lợi nhuận cho KH.
* Tại sao chúng tôi lại tư vấn như thế?
- Câu trả lời là đơn giản vì Khách Hàng có lợi nhuận thì mới có chi phí trả cho chúng tôi.
* Tại sao nên làm SEO?
- Giúp Khách hàng tìm đến mình một cách tự nhiên thông qua nhu cầu tìm kiếm trên google.
- Quảng bá thương hiệu rộng hơn vì nằm ở Top 10
- Tăng traffic cho website
» Xem chi tiết các tính năng và Khách Hàng của chúng tôi

HOTLINE: 0939 222 655 (mr.Vân)


Neu ban khong muon nhan Email , Tu choi nhan Email (unsubscribe Email)
Neu ban khong the xem duoc hinh anh, Xem phien ban email tren Web (Web Version)
_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap
FDF | 9 May 2013 15:34
Picon

Synchro one way only.

Hello,

I am using offlineimap since few days only. But it helps me a lot. Thanks
for this great job.

I am running two accounts, on two differents remote server.
The first one is running perfectly.
The second one (managed by infomaniak.ch) is not. During the
synchronisation, I am receiving what is on the remote, but he other way,
nothing is done. Thus the sent message from local server are not copied to
the remote, the moved message on local are not moved on the remote, even the
read message on the local still appear as "not read" on the remote server. I
guess it could come from the offlineimap config or the remote server config.
I don't think it comes from the offlineimap config as it is the same than
for the other account, only the server names and password change. As the
synchro is done in one way, that means the connexion is done anyway. But
maybe I am missing something here.
If it is coming from the remote server config, do you have any idea of what
it could be? I don't have access to the log of the server, but I may ask for
a small parameter change if I am clear in my request.

I suspect a read-only parameter in the remote server on some folder as the
debug mode of offlineimap return me that:

"

Folder sync [XYZ]:
Syncing Drafts: IMAP -> MappedIMAP
DEBUG[]: Not syncing to read-only repository 'remote_XYZ'
Syncing INBOX: IMAP -> MappedIMAP
DEBUG[]: Not syncing to read-only repository 'remote_XYZ'

"

and
"
 DEBUG[imap]:   30:48.73 Account sync XYZ _get_untagged_response(OK) =>
['[UNSEEN 1] First unseen.']
 DEBUG[imap]:   30:48.73 Account sync XYZ _get_untagged_response(READ-ONLY)
=> ['']

"

But I can use normal imap behavior (with updating) while connecting directly
to the remote server from a mail client (Thunderbird). So should I suspect
the connection mode?
Here is my current way, which is default. when connecting directly from the
mail client, the port is the same… and it use TTLS.

"
[Account XYZ]
########## Basic settings
localrepository = local_XYZ
remoterepository = remote_XYZ
########## Advanced settings
autorefresh = 5
quick = 12
maxsize = 200000000
maxage = 90
maildir-windows-compatible = no

[Repository local_XYZ]
type = IMAP
remotehost = localhost
remoteuser = XYZ
remotepass = XXXX
localfolders = ~/Maildir
sep = .
restoreatime = no

[Repository remote_XYZ]
type = IMAP
remotehost = mail.infomaniak.ch
#ssl = yes
#remoteport = 143
remoteuser = AAA <at> XYZ.com
remotepass = XXXX
"

Thanks for your kindly help!

_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap
Andrew Ferrier | 9 May 2013 12:12
Picon
Gravatar

Bug with exit codes?

If I run an offlineimap invocation where a cert_fingerprint is not set for a server I'm connecting to with SSL, I (rightly) see this:

ERROR: Server SSL fingerprint 'XXX' for hostname YYY.com' does not match configured fingerprint. Please verify and set 'cert_fingerprint' accordingly if not set yet.

However, the exit code from offlineimap is still 0, which makes this condition more difficult to detect as part of a script. In my case, the UI being used is 'basic', so that I can log the output, which makes the error harder to spot amongst the other output. If I set it to 'quiet', I just get the error message, but not the rest of the log.

I think this is probably a bug - offlineimap should be setting a non-zero exit code in this case?

Thanks,
Andrew.
_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap
Geoffrey Ferrari | 7 May 2013 16:12

Gmail, Duplicate Messages, All Mail and deletion problem

I use offlineimap 6.5.4 and I like it a lot - thanks everyone who makes this software possible!

I currently have a big problem though. For whatever reason, after many years my Gmail account contains around 1400 duplicate messages. I've been trying to delete them but, no matter what I try, offlineimap eventually downloads them again from Gmail.

My current setup is that I sync two folders from Gmail, the All Mail folder and the Bin Folder.

So here are my questions:

1) What is the correct way to delete messages from the All Mail folder? Should I just delete the local file in the All Mail folder? Move the local file to the Bin folder? Leave the original local file in All but copy it to the Bin folder? Something else?

2) Does anyone know why offlineimap keeps downloading duplicate messages from Gmail rather than simply deleting them?

Many thanks for your help,

Geoff


_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap
Trey Sizemore | 6 May 2013 04:52
Gravatar

Getting an error when trying to sync Drafts

I have begun using offllineimap today with my fastmail.fm mail account.

However, when performing a sync between local folders and remote, I'm
getting the following error:

OfflineIMAP 6.5.4
  Licensed under the GNU GPL v2+ (v2 or any later version)
*** Processing account Fastmail
Establishing connection to mail.messagingengine.com:993
Creating folder Drafts[Fastmail_Remote]
ERROR: Creating folder Drafts on repository Fastmail_Remote
  Folder 'Drafts'[Fastmail_Remote] could not be created. Server
  responded: ('NO', ['Permission denied'])
ERROR: Folder 'Drafts'[Fastmail_Remote] could not be created. Server
responded: ('NO', ['Permission denied'])
*** Finished account 'Fastmail' in 0:00
ERROR: Exceptions occurred during the run!
ERROR: Creating folder Drafts on repository Fastmail_Remote
  Folder 'Drafts'[Fastmail_Remote] could not be created. Server
  responded: ('NO', ['Permission denied'])
ERROR: Folder 'Drafts'[Fastmail_Remote] could not be created. Server
responded: ('NO', ['Permission denied'])

I have my mail setup locally in my home folder at ~/.mail/fastmail/

and the following in my .muttrc (which is likely wrong.  I realize it's
not consistent and looking for guidance):

set mbox_type=Maildir
set folder="~/.mail/fastmail/"
set mask="!^\\.[^.]"
set mbox="~/.mail/fastmail/"
set record="+Sent Items"
set postponed="~/.mail/fastmail/INBOX.drafts"
set spoolfile="~/.mail/fastmail/INBOX"

I've tried a few variations on the 'set postponed' directory, but still
getting the same error.  Also, sent messages are not being synced
either, but not seeing an error message concerning creating the remote
folder.

I created a draft message and it's showing up locally in
~/.mail/fastmail/INBOX.Drafts/cur/ but not sync'ing to the fastmail
remote server.

Any and all help appreciated.

--

-- 
  Trey Sizemore
  trey <at> fastmail.fm

_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap

Reuben Thomas | 4 May 2013 19:40
Gravatar

sslcacertfile: make a build-time option to configure this in?

For users who get offlineimap as a pre-built package, e.g. on Debian, it should be possible to avoid their having ever to read the FAQ and configure sslcacertfile, as there is a system-wide one in a well-known location.

Could this possibly be detected at build-time, or simply provided as a configure option for packagers? Users could still override the setting if they either wanted to use a different file, or didn't trust their system certificate file.
_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap
Pierig | 1 May 2013 05:05
Picon

Synchro one way only.

Hello,

I am using offlineimap since few days only. But it helps me a lot. Thanks for this great job.

I am running two accounts, on two differents remote server.
The first one is running perfectly.
The second one (managed by infomaniak.ch) is not. During the synchronisation, I am receiving what is on the remote, but he other way, nothing is done. Thus the sent message from local server are not copied to the remote, the moved message on local are not moved on the remote, even the read message on the local still appear as "not read" on the remote server. I guess it could come from the offlineimap config or the remote server config. I don't think it comes from the offlineimap config as it is the same than for the other account, only the server names and password change. As the synchro is done in one way, that means the connexion is done anyway. But maybe I am missing something here.
If it is coming from the remote server config, do you have any idea of what it could be? I don't have access to the log of the server, but I may ask for a small parameter change if I am clear in my request.

I suspect a read-only parameter in the remote server on some folder as the debug mode of offlineimap return me that:

"

Folder sync [XYZ]:
Syncing Drafts: IMAP -> MappedIMAP
DEBUG[]: Not syncing to read-only repository 'remote_XYZ'
Syncing INBOX: IMAP -> MappedIMAP
DEBUG[]: Not syncing to read-only repository 'remote_XYZ'


"

But I can use normal imap behavior (with updating) while connecting directly to the remote server from a mail client (Thunderbird). So should I suspect the connexion mode?
Here is my current way, which is default. when connecting directly from the mail client, the port is the same… and it use TTLS.

"
[Account XYZ]
########## Basic settings
localrepository = local_XYZ
remoterepository = remote_XYZ
########## Advanced settings
autorefresh = 5
quick = 12
maxsize = 200000000
maxage = 90
maildir-windows-compatible = no

[Repository local_XYZ]
type = IMAP
remotehost = localhost
remoteuser = XYZ
remotepass = XXXX
localfolders = ~/Maildir
sep = .
restoreatime = no

[Repository remote_XYZ]
type = IMAP
remotehost = mail.infomaniak.ch
#ssl = yes
#remoteport = 143
remoteuser = AAA <at> XYZ.com
remotepass = XXXX

"

Thanks for your kindly help!




_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap
Rainer M Krug | 30 Apr 2013 10:46
Picon

Problem connecting to gmail after new installation of Ubuntu Raring Ringtail

Hi

I don't manage to get offlineimap to connect to gmail after a new installation of Ubuntu 13.04. Offlineimap installed from source (6.5.4) and same config files.

I get the following reply:
##################
10:37:30 ~$ offlineimap
OfflineIMAP 6.5.4
  Licensed under the GNU GPL v2+ (v2 or any later version)
*** Processing account Gmail
Establishing connection to imap.gmail.com:993
ERROR: Server SSL fingerprint 'b0ba392bba326e6feb1add4d04fa0fb86cd173fa' for hostname 'imap.gmail.com' does not rt_fingerprint' accordingly if not set yet.
*** Finished account 'Gmail' in 0:00
^CTerminating NOW (this may take a few seconds)...
ERROR: Exceptions occurred during the run!
ERROR: Server SSL fingerprint 'b0ba392bba326e6feb1add4d04fa0fb86cd173fa' for hostname 'imap.gmail.com' does not rt_fingerprint' accordingly if not set yet.
##################

Ok - I added 
cert_fingerprint=b0ba392bba326e6feb1add4d04fa0fb86cd173fa

to .offlineimaprc, although I have  sslcacertfile = /etc/ssl/certs/ca-certificates.crt already there (ca-certificates are installed)

Now I get:

##################
10:37:44 ~$ offlineimap
OfflineIMAP 6.5.4
  Licensed under the GNU GPL v2+ (v2 or any later version)
*** Processing account Gmail
Establishing connection to imap.gmail.com:993
Establishing connection to localhost:143
ERROR: While attempting to sync account 'Gmail'
  [AUTHENTICATIONFAILED] Authentication failed.
*** Finished account 'Gmail' in 0:06
^CTerminating NOW (this may take a few seconds)...
ERROR: Exceptions occurred during the run!
ERROR: While attempting to sync account 'Gmail'
  [AUTHENTICATIONFAILED] Authentication failed.
10:40:03 ~$
Any suggestions what is going on here?

Thanks,

Rainer


--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax (F):       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer <at> krugs.de

Skype:      RMkrug
_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap

Gmane