ich steh iwie auf dem Schlauch und hoffe mir kann jemand herunter helfen. Ich moechte, dass sich mein gnus via ssh bei meinem Server meldet und dort nach Mails schaut. Die ssh Authentifizierung erfolgt ueber public key, dieser ist beim agent hinterlegt.
meine ~/.gnus sieht so aus:
Code: Alles auswählen
(setq gnus-select-method '(nnimap "myserver"
(nnimap-address "mail.mydomain.de")
(nnimap-stream shell)
(imap-shell-program "ssh -p1234 kiigass@mydomain.de /usr/lib/dovecot/imap")
(nnimap-expunge-on-close ask)
))
Code: Alles auswählen
Opening connection to myserver via shell...
Unable to open server nnimap+myserver due to: Process *nnimap* not running
nnimap (myserver) open error: ''. Continue? (y or n) y
Code: Alles auswählen
ich@hier:~$ ssh -p1234 kiigass@mydomain.de /usr/lib/dovecot/imap
* PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE] Logged in as kiigass
>>2 logout
* BYE Logging out
2 OK Logout completed.
imap(kiigass): Info: Disconnected: Logged out in=8 out=356
Was uebersehe ich hier? Jede Hilfe ist willkommen, vielen Dank im Vorraus!
greez Kiigass