「GNOME/Evolution」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
149行目: 149行目:
   
 
== Google コンタクト ==
 
== Google コンタクト ==
  +
Simarly とカレンダーを使用すると、進化した Google の連絡先を同期できます。
  +
[新規作成]> [アドレス帳]をクリックします。タイプとしてGoogleを選択し、ユーザーとして Google アカウントのメールを追加します。
   
  +
{{Note| Evolution が使用する古い開発者 API を Google がオフにしているため、上記は機能しません。あなたのグーグルアカウントのために Gnome オンラインアカウント(GOA)を作成する必要があります。 GOA を作成できるように {{Pkg|gnome-control-center}} をインストールし、同期するものを選択します。進化で作成された Google アドレス帳を直接削除/無効化できます。それ以外の場合は、2つのアドレス帳が表示されます}}
Simarly with the calendar, you can sync your Google contacts in evolution.
 
 
On Evolution, click on File > New > Address Book . Choose Google as type and add your Google account email as the User.
 
 
{{Note| The above does not work since Google has turned off the old developer APIs which Evolution uses. You will need to create a Gnome online account (GOA) for your google account. Install {{Pkg|gnome-control-center}} to be able to create a GOA and select what you would like to sync. You can delete/disable any google addressbooks created in evolution directly, else you will see two addressbooks}}
 
   
 
== Tudelft ウェブメール (Exchange) ==
 
== Tudelft ウェブメール (Exchange) ==

2020年8月27日 (木) 02:05時点における版

Evolution は GNOME のメールクライアントで IMAP, Microsoft Exchange Server, Novell GroupWise をサポートしています。カレンダー機能も付属しており vcal, csv, google カレンダーなどをサポートしています。Evolution で連絡先やタスク、メモなどを管理することもできます。Evolution の良いところは使いやすく GNOME 環境と統合されていることで、GNOME パネルで天気や日付と共に、カレンダーやタスク、位置などを確認できます。時計を GNOME パネルに追加するだけです。

インストール

evolution パッケージをインストールしてください。

Exchange サーバーは evolution-ews によってサポートされており、(Google カレンダーなどの) ウェブカレンダーは evolution-data-server によってサポートされています。

IMAP の設定

標準的な IMAP メールアドレスの設定方法です。Edit -> Preferences -> Mail Accounts を開いて、メールアカウントを追加して名前とメールアドレスを記述してください。それから 'forward' をクリックするとサーバータイプの入力に移ります。IMAP を選択してください。次にサーバーテキストボックスを埋めます。サーバーのアドレスとユーザー名を記入してください。残りのオプションはウィザードに従って下さい。とても簡単ですが、何か引っかかったときはガイド [1] を見て下さい。

他の IMAP の設定

Evolution から IMAP サーバーに直接接続して IMAP サーバーを PC に同期させることもできます。メールが多くなる度にハードディスクを消費しますが、同期するフォルダを制限することができます (下を参照)。また、インターネット接続がない、移動中でも、添付ファイルを含むメールの完全なコピーが閲覧できるという利点があります。

セットアップするには、offlineimap パッケージをインストールする必要があります ([2] を参照)。

Offlineimap の設定

offlineimap は ~/.offlineimaprc に書かれた設定を使うため、ファイルを作成する必要があります。大抵のユーザーは以下の .offlineimaprc を使うことができます。Gmail アカウントの最も一般的な設定です。一般的なアカウントの設定は同じですが remotehost, ssl, remoteport は適当に設定してください (下のコメントを参照)。詳しくは 公式の README を見て下さい。

[general]
accounts = MyAccount
# Set this to the number of accounts you have.
maxsyncaccounts = 1
# You can set ui = TTY.TTYUI for interactive password entry if needed.
# Setting it within this file (see below) is easier.
ui = Noninteractive.Basic

[Account MyAccount]
# Each account should have a local and remote repository
localrepository = MyLocal
remoterepository = MyGmail
# Specifies how often to do a repeated sync (if running without crond)
autorefresh = 10

[Repository MyLocal]
type = Maildir
localfolders = /home/path/to/your/maildir
# This needs to be specified so the MailDir uses a folder structure
# suitable to Evolution
sep = /

[Repository MyGmail]
# Example for a gmail account
type = Gmail
# If using some other IMAP server, uncomment and set the following:-
#remotehost = imap.gmail.com
#ssl = yes
#remoteport = 993
# Specify the Gmail user name and password.
remoteuser = yourname@gmail.com
remotepass = yourpassword
# realdelete is Gmail specific, setting to no ensures that deleting
# a message sends it to 'All Mail' instead of the trash.
realdelete = no
# Use 1 here first, increase it if your connection (and the server's)
# supports it.
maxconnections = 1
# This translates folder names such that everything (including your Inbox)
# appears in the same folder (named root).
nametrans = lambda foldername: re.sub('^Sent$', 'root/Sent',
 re.sub('^(\[G.*ail\]|INBOX)', 'root', foldername))
# This excludes some folders from being synced. You will almost
# certainly want to exclude 'All Mail', 'Trash', and 'Starred', at
# least. Note that offlineimap does NOT honor subscription details.
folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail',
 '[Gmail]/Trash','[Gmail]/Spam','[Gmail]/Starred']
警告: .offlineimaprcのコード行をインデントするスペースは、その行を前の行に追加すると見なされることに注意してください。言い換えれば、設定ファイルのどの行の前にもスペースがないことを常に確認してください。
ヒント: この構成ファイルは、公式の例と http://www.linux.com の記事にある構成ファイルの両方を参照して作成されました(現在は利用できません)。

offlineimap の最初の同期と同期の自動化

offlineimap のセットアップが完了したら、通常のユーザーアカウントで実行して最初の同期を実行する必要があります

$ offlineimap

パスワードとその他すべての設定が正しく設定されていれば、offlineimap は要求されたリポジトリの同期を開始します。接続速度やメールアカウントのサイズによっては、これには長い時間がかかることがありますので、なるべく早く接続してください。別のインタフェースを使用して offlineimap を実行するには、次のように指定します。

$ offlineimap -u TTY.TTYUI

This allows interactive entry of passwords.

これにより、パスワードをインタラクティブに入力できます。 最初の同期が完了したら、自動同期を設定します。これは、crond を使用するか、起動時に offlineimap を実行するだけで実行できます。起動時に offlineimap を実行する(autorefreshを設定して)場合の不利な点は、何らかの理由でエラーが表示された場合、メールはその時点から同期を停止することです。したがって、crond を実行するには、次の行を crontab に追加する必要があります。

*/10 * * * * /path/to/scripts/runofflineimap >/dev/null 2>&1

crontab や vi に慣れていない場合は、次を実行してください。

$ crontab -e

「i」を押して入力を開始し、上の行を入力し、Escを押してエスケープしてプロンプトに戻り、「:wq」を入力して保存して終了します。 /path/to/scripts/runofflineimap は、offlineimap 自体を実行する必要があります(単一実行の場合は-oを使用)。そのためのスクリプト例を以下に示します。

#!/bin/sh
# Run offlineimap through cron to fetch email periodically
ps aux | grep "\/usr\/bin\/offlineimap"
if [ $? -eq "0" ]; then
        logger -i -t offlineimap "Another instance of offlineimap running. Exiting."
        exit 0;
else
        logger -i -t offlineimap "Starting offlineimap..."
        offlineimap -u Noninteractive.Quiet -o
        logger -i -t offlineimap "Done offlineimap..."
	exit 0;
fi

これで、IMAPサーバーのローカルコピーが自動的に同期されるはずです。エラーメッセージ(ある場合)は、/var/log/cron.d またはその変種の1つに表示されます。

offlineimap の maildir を使用する Evolution の設定

これは非常に簡単です。Evolution のアカウントアシスタントを使用して、[メールの受信]セクションで[サーバータイプ]の[Maildir形式のメールディレクトリ]を選択します。 maildir へのパスも選択します(上記の .offlineimaprc の変更バージョンを使用している場合は「ルート」フォルダー)。 「新着メールの確認」オプションは、サーバー側のコピーではなくローカルコピーのみをチェックするため、1分でも非常に短いものに変更できます。 SMTP 設定は通常の使用法に従っています(offlineimap を経由しません)。

GMAIL の設定

GMail アカウントをセットアップするには Edit -> Preferences -> Mail Accounts を選択して、あなたのメールアカウントの情報を入力してください。

メールの受信

  • Server Type: POP
  • Server: pop.gmail.com
  • Username: <username>@gmail.com
  • Use Secure Connecetion: SSL encryption
  • Authenthication Type: Password

必要に応じて、**分ごとに新着メールを自動的にチェックしてください。残りはユーザー固有です。

メールの送信

  • Server type: SMTP
  • Server: smtp.gmail.com
  • Port: 587
  • Server requires authentication: Checked
  • Use Secure Connection: TSL
  • Fill in Username: <username>@gmail.com
  • Authentication: PLAIN or Login

これで、Gmailの進化の構成が完了しました。メイン画面で送受信を押して、新着メールを待ちます。それでも機能しない場合は、このリンクにアクセスしてください [3]

Gmail カレンダー

進化の中で Gmail カレンダーを使用する方法は次のとおりです。

ブラウザでカレンダーに移動します。 [カレンダーの管理]をクリックし、追加するカレンダーをクリックします。[プライベートURL]セクションで、ICAL (緑色のボタン)の URL をコピーします。

次に Evolution に進みます。ファイル->新規->カレンダーをクリックします。 [新しいカレンダー]ダイアログボックスで、次のタイプを選択します :On The Web 独自のカレンダー名を入力してから、URLをURLフィールドにコピーします。

これで、[名前]フィールドで指定した名前で、Evolution のカレンダービューに Google カレンダーが表示されます。

Variant2 (with evolution-webcal):

Evolution から -> new-> calendar をクリックします。 [新しいカレンダー]ダイアログボックスで、「Google」と入力します。独自のカレンダー名を入力できます。ユーザー名(メールではなく)を挿入します。 「リストを取得」ボタンをクリックして、使用するカレンダーを選択します。

Google コンタクト

Simarly とカレンダーを使用すると、進化した Google の連絡先を同期できます。 [新規作成]> [アドレス帳]をクリックします。タイプとしてGoogleを選択し、ユーザーとして Google アカウントのメールを追加します。

ノート: Evolution が使用する古い開発者 API を Google がオフにしているため、上記は機能しません。あなたのグーグルアカウントのために Gnome オンラインアカウント(GOA)を作成する必要があります。 GOA を作成できるように gnome-control-center をインストールし、同期するものを選択します。進化で作成された Google アドレス帳を直接削除/無効化できます。それ以外の場合は、2つのアドレス帳が表示されます

Tudelft ウェブメール (Exchange)

This is the setup for your tudelft webmail for evolution. It might also work for other webmail based email accounts.

Go to Edit -> Preferences -> Mail Accounts and make a mail account. For your Email Adress: <netid>@gmail.com . Be carefull your <netid>@student.tudelft.nl must be like this example: E.M.devries@student.tudelft.nl

Receiving mail: Server type: Microsoft Exchange Username: <netid> this is just your netid like this example: edevries OWA URL: https://webmail.tudelft.nl -> now click 'Authenticate' and fill in your password. The mailbox will be filled in automaticlly

Click Forward: The receiving options are already correct, you can select the option to automaticlly receive email every x minutes.

Click Forward: Now just fill in the name of the mailbox and you are done.

Gnome 以外で Evolution を使う

Gnome デスクトップの外で Evolution を使うには gnome-keyring をエクスポートする必要があります:

#!/bin/bash
eval \`gnome-keyring-daemon\`
export GNOME_KEYRING_PID
export GNOME_KEYRING_SOCKET
exit

Evolution を起動する前に上記のスクリプトを実行してください。実行する前に再起動したり /tmp ディレクトリのファイルを削除する必要があります。

スペルチェック

辞書をインストールしてください。pacman -Ss aspell for a list of dictionaries.

トラブルシューティング

If after some system upgrade one gets no accounts in Evolution then all is not lost. First, we can see if we got our account files in ~/.evolution/, if so, then the only solution is to just make a new account in Evolution with the same parameters. (I only lost the signatures

Failing to Synchronize with Server

If you change internet connections, such as switching VPN or restart X, Evolution may have problems connecting to the mail servers. You would see it endlessly trying to connect in the status bar at the bottom.

A possible solution is to switch to "Work Offline" select "Don't Synchronize” in the pop-up. Then after a minute has passed, go back to On-line mode. It should now have no problem fetching from the mail servers.

参照