so habe es probiert aber es funktioniert nicht :-(
habe mir mal das angeschaut
http://pbrisbin.com/posts/mutt_gmail_offlineimap
aber ich bekomme es nicht hin weil da immer von GMail Konten ausgegangen wird (das ich aber nicht benutze) ich habe meine Domain unter Strato gehostet aber ich weiss nicht was ich wo hinschreiben muss ich hoffe es schreibt mir einer die richtigen Daten in die configs rein :-)
auf dieser Seite sind die 3 configs zu finden
.offlinimaprc
# An example offlineimaprc which syncs two accounts. one synced to
# ~/Mail/GMail and the other synced to ~/Mail/GMX
[general]
ui = ttyui
accounts = GMail,GMX
[Account GMail]
localrepository = Gmail-Local
remoterepository = Gmail-Remote
maxsyncaccounts = 3
maxconnections = 3
[Account GMX]
localrepository = GMX-Local
remoterepository = GMX-Remote
maxsyncaccounts = 3
maxconnections = 3
[Repository Gmail-Local]
type = Maildir
localfolders = ~/Mail/GMail
[Repository GMX-Local]
type = Maildir
localfolders = ~/Mail/GMX
[Repository Gmail-Remote]
type = Gmail
remoteuser = <you@gmail.com>
remotepass = <password>
realdelete = no
# "[Gmail]/All Mail" --> all_mail
nametrans = lambda folder: re.sub('^inbox$', 'INBOX', re.sub(' +', '_', re.sub(r'.*/(.*)$', r'\1', folder).lower()))
[Repository GMX-Remote]
type = IMAP
remotehost = imap.gmx.com
remoteport = 143
remoteuser = <you@gmx.com>
remotepass = <password>
# Archive --> archive
nametrans = lambda folder: re.sub('^inbox$', 'INBOX', folder.lower())
# vim: ft=cfg
.msmtprc
# an example msmtp config file which allows sending via two accounts,
# gmail and gmx. default is gmail but each can be used via the -a
# option
# gmail
account gmail
host smtp.gmail.com
port 587
protocol smtp
auth on
from <you@gmail.com>
user <you@gmail.com>
password <password>
tls on
tls_nocertcheck
# gmx
account gmx
host mail.gmx.com
port 587
protocol smtp
auth on
from <you@gmx.com>
user <you@gmx.com>
password <password>
tls on
tls_nocertcheck
# use gmail as default
account default : gmail
# vim: ft=msmtp
.muttrc
# ~/.mutt/muttrc
# directories and commands
set alias_file = ~/.mutt/alias # alias file
set certificate_file = ~/.mutt/certificates # where to store certs
set header_cache = ~/.mutt/cache/headers # where to store headers
set message_cachedir = ~/.mutt/cache/bodies # where to store bodies
set mailcap_path = ~/.mutt/mailcap # entrys for filetypes
set signature = ~/.mutt/sig # my signature file
set tmpdir = ~/.mutt/temp # where to keep temp files
set editor = "vim +:silent+?^$" # use vim and skip to last blank line
set ispell = "aspell -e -c" # use aspell as ispell
set query_command = "mail-query '%s' ~/Mail/GMail/INBOX" # query existing mails
set print_command = "enscript -p - | psselect -r | lp" # print email in reverse page order
# maildir settings
set mbox_type = Maildir # mailbox type
set folder = ~/Mail # mailbox location
set spoolfile = "+GMail/INBOX" # GMail is default inbox
# main options
set beep_new # terminal bell on new message
unset confirmappend # don't ask, just do
set delete # don't ask, just do
set mail_check = 0 # minimum time between scans
unset markers # no ugly plus signs
unset mark_old # read/new is good enough for me
set menu_scroll # scroll in menus
set pager_index_lines = 10 # number of index lines to show
set pager_context = 5 # number of context lines to show
set pager_stop # don't go to next message automatically
set pipe_decode # strip headers and eval mimes when piping
set reverse_alias # show names from alias file in index
set sort = threads # like gmail
set sort_aux = reverse-last-date-received # like gmail
unset sort_re # always thread
set thorough_search # strip headers and eval mimes before searching
set thread_received # sort threads by date received, not sent
set tilde # show tildes like in vim
set timeout = 3 # idle time before scanning
unset wait_key # don't show "Press any key to continue"
# enriched messages
auto_view text/html # view html automatically
alternative_order text/plain text/enriched text/html # but save it for last
# formats and regexps
set alias_format = "%4n %t %-20a %r"
set date_format = "%m/%d/%y at %I:%M%P"
set index_format = "%3C %Z %[!%m/%d] %-17.17F %s"
set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
set status_format = "-%r- %v ───────────/ %f %m%?n? [+%n]?%?d? [-%d]?%?t? [*%t]? /%?p?───/ %p waiting to send /?─%>─(%P)───"
# composing mail
set askcc # always ask for CC:
set edit_headers # show headers when composing
set fast_reply # skip to compose when replying
set forward_format = "Fwd: %s" # format for subject when forwarding
set forward_quote # include message in forwards
set include # include message in replies
set realname = "Patrick Brisbin" # who am i?
set reply_to # reply to Reply-to: field, not From:
set reverse_name # reply as who it was sent to (see alternates)
# headers to show
ignore * # ignore all headers
unignore from: to: cc: date: subject: # show only these
hdr_order from: to: cc: date: subject: # and in this order
# lists and boxes
subscribe arch-announce arch-dev-public aur-general xmonad arch-haskell web-devel yesod
mailboxes +--Gmail------------- +GMail/INBOX +GMail/all_mail +GMail/arch_lists +GMail/xmonad_list +GMail/web_devel +GMail/yesod +GMail/sent_mail +GMail/notes +GMail/drafts +GMail/trash
mailboxes +--Gmx--------------- +GMX/INBOX +GMX/archive +GMX/sent +GMX/drafts +GMX/trash
source $alias_file # required for functionality
source ~/.mutt/gmail
# uncomment to conditionally source 256colors
#source `FILE=$HOME/.mutt/colors; [[ $TERM =~ 256 ]] && FILE=$HOME/.mutt/256colors; echo $FILE`
source ~/.mutt/colors
# source sidebar options if mutt -v says that patch is present
source `FILE=$HOME/.mutt/sidebar; mutt -v | grep -Fq sidebar || FILE=/dev/null; echo $FILE`
# override with account specific folder-hooks
folder-hook GMail/* source ~/.mutt/gmail
folder-hook GMX/* source ~/.mutt/gmx
# collapse all thread in ML folders
folder-hook GMail/(arch_lists|xmonad_list|web_devel|yesod) "exec collapse-all"
# alternate "me"s
alternates (pbrisbin@(gmail|gmx).com|.*@pbrisbin.com)
# these just give me headaches
bind index,pager \# noop
bind index,pager \& noop
bind index i noop
# bindings -- very vim-like
bind pager i exit
bind pager q toggle-quoted
bind pager / search
bind pager <up> previous-line
bind pager <down> next-line
bind pager k previous-line
bind pager j next-line
bind pager gg top
bind pager G bottom
bind index gg first-entry
bind index G last-entry
bind pager K previous-undeleted
bind pager J next-undeleted
bind index K previous-unread
bind index J next-unread
bind index,pager R group-reply
# macros
macro index ,i "<change-folder>!<return>" "go to inbox"
macro index ,p "<pipe-message>cat > ~/" "save message as"
macro index ,z "<shell-escape>offlineimap -q -o<return>" "sync IMAP"
macro index ,r "<tag-pattern>all<return><tag-prefix><clear-flag>N<untag-pattern>all<return>" "mark all as read"
macro index ,R "<collapse-all><tag-pattern>all<return><tag-prefix><clear-flag>N<untag-pattern>all<return><collapse-all>" "mark all as read (collapsed)"
macro index ,v "<collapse-thread>" "collapse/uncollapse thread"
macro index ,V "<collapse-all>" "collapse/uncollapse all threads"
#macro index ,s \
#"<enter-command>set my_cmd = \`$HOME/.mutt/msearch\`<return><enter-command>push \$my_cmd<return>" \
#"search mail (using mairix)"
macro index ,s \
"<enter-command>unset wait_key<enter><shell-escape>mutt-notmuch --prompt search<enter><change-folder-readonly>~/.cache/mutt_results<enter>" \
"search mail (using notmuch)"
# cc myself when replying to an ML.
#
# note: with this, you can't use `:q!` mid-compose to abort the message.
# instead, you should use `:wq` and abort from the compose menu
unhook send-hook
send-hook "~u" "push '<edit-cc>,pbrisbin@gmail.com<return>'"
# vim: ft=muttrc
meine Daten sind
imap.strato.de
smtp.strato.de
Authentifizierung zum anmelden ja
meine email Adressen
tasos@tsolakidis.de
net@tsolakidis.de
ich habe einen Ordner ~/Mail die .offlineimaprc .msmtprc .muttrc liegen in meinem Homeverzeichniss
ich hoffe es ändert einer diese files so um das sie auch für mich funktionieren
lg