Re: recipient does not have pgp key? can i still send an encrypted email?
On 2022-12-09 23:06, Björn Bidar wrote: "jindam, vani" writes: if yes, how? i have created gpg.conf & added auto-key-locate local,keyserver,wkd. You can't unless you use symmetric encryption (see the earlier answer you got). However if the Gnupg finds the key of the recipient through the ~auto-key-locate~ option you might be to find the key. Another method would be to ask the mail provider for the public-key of the recipient if autocrypt[1] is used. ok. another issue resolved. since few months k9 mail(1) is using this method. Gnus doesn't support it out of the box however there's a third party plugin[2] that does add such support. I haven't tested that myself. Br, Björn - [1] https://autocrypt.org/ [2] https://git.sr.ht/~pkal/autocrypt (1) https://github.com/thundernest/k-9 regards, jindam, vani -- toots: @jindam_v...@c.im others: en.wikipedia.org/wiki/User:Jindam_vani
Re: smtpmail-send-it: Sending failed: 504 5.5.2 : Helo command rejected: need fully-qualified hostname
On 2022-12-09 23:14, Björn Bidar wrote: Do you really need to add the credentials here? no,its temporary solution. i am setting up slowly and incrementally... right now, connection error is resolved, able to send emails (did not setup anything fancy). Try without them so smptmail will try to use auth-source to retrieve the credentials. These are my smtpmail settings: (use-package smtpmail added (require 'smtpmail) to ~/.emacs. i receive error: Debugger entered--Lisp error: (void-function use-package) (use-package smtpmail :config (setq smtpmail-default-smtp-server "disroot.org" smtpmail-smtp-server "disroot.org" smtpmail-smtp-service "465" smtpmail-stream-type 'ssl smtpmail-servers-requiring-authorization ".*")) eval-buffer(# nil "/home/jin/.gnus" nil t) ; Reading at buffer position 795 load-with-code-conversion("/home/jin/.gnus" "/home/jin/.gnus" nil t) load("~/.gnus" nil t) gnus-read-init-file() gnus-1(nil nil nil) gnus(nil) funcall-interactively(gnus nil) call-interactively(gnus record nil) command-execute(gnus record) execute-extended-command(nil "gnus" "gnu") funcall-interactively(execute-extended-command nil "gnus" "gnu") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) are you referring to smtpmail-multi on melpa?(1) :config (setq smtpmail-default-smtp-server "smtp.server.de" smtpmail-smtp-server "smtp.server.de" smtpmail-smtp-service "465" smtpmail-stream-type 'ssl smtpmail-servers-requiring-authorization ".*")) For me these work like this, smtpmail will try to retrieve the localdomain and sendto-domain by itself. If you add either to the hosts file they should be fine. added 178.21.23.139 disroot.org to /etc/hosts jin@localhost:~$ nslookup disroot.org Server: 8.8.8.8 Address:8.8.8.8#53 Non-authoritative answer: Name: disroot.org Address: 178.21.23.139 (1) https://melpa.org/#/smtpmail-multi regards, jindam, vani -- toots: @jindam_v...@c.im others: en.wikipedia.org/wiki/User:Jindam_vani
Re: smtpmail-send-it: Sending failed: 504 5.5.2 : Helo command rejected: need fully-qualified hostname
Do you really need to add the credentials here? Try without them so smptmail will try to use auth-source to retrieve the credentials. These are my smtpmail settings: (use-package smtpmail :config (setq smtpmail-default-smtp-server "smtp.server.de" smtpmail-smtp-server "smtp.server.de" smtpmail-smtp-service "465" smtpmail-stream-type 'ssl smtpmail-servers-requiring-authorization ".*")) For me these work like this, smtpmail will try to retrieve the localdomain and sendto-domain by itself. If you add either to the hosts file they should be fine. Br, Björn
Re: recipient does not have pgp key? can i still send an encrypted email?
"jindam, vani" writes: > if yes, how? i have created gpg.conf & added > auto-key-locate local,keyserver,wkd. You can't unless you use symmetric encryption (see the earlier answer you got). However if the Gnupg finds the key of the recipient through the ~auto-key-locate~ option you might be to find the key. Another method would be to ask the mail provider for the public-key of the recipient if autocrypt[1] is used. Gnus doesn't support it out of the box however there's a third party plugin[2] that does add such support. I haven't tested that myself. Br, Björn - [1] https://autocrypt.org/ [2] https://git.sr.ht/~pkal/autocrypt
Re: recipient does not have pgp key? can i still send an encrypted email?
vani writes: > it seems we need recipient pgp key for sending > encrypted email. if there is no pgp key, can i > still encrypted email? No, not with public-key cryptography¹, which is what is usually used. You need the recipients public key to be able to encrypt the email to them. If you and the recipient share a secret (eg. a password), you could use symmetric encryption², but you have to share the secret in some other way first, so it's rarely a solution. Best regards, Adam ¹ https://en.wikipedia.org/wiki/Public-key_cryptography ² https://en.wikipedia.org/wiki/Symmetric-key_algorithm -- "(Phew, it's hard to explain with my poor Adam Sjøgren English.)" a...@koldfront.dk
recipient does not have pgp key? can i still send an encrypted email?
it seems we need recipient pgp key for sending encrypted email. if there is no pgp key, can i still encrypted email? if yes, how? i have created gpg.conf & added auto-key-locate local,keyserver,wkd. i am trying to end an enceyted email by adding <#secure method=pgpmime mode=encrypt> regards, jindam, vani -- toots: @jindam_v...@c.im others: en.wikipedia.org/wiki/User:Jindam_vani