Hi all!
Thanks Fabrice, for your thoughtful reply and for forwarding the question here.
Replying below with more details about the issue:
> I guess you're talking about this wiki page:
> These error messages are insufficient to understand what's wrong. Is it
the /usr/bin/sendmail symlink points to "../bin/msmtp"
Also,
usr/bin/mail > /etc/alternatives/mail
usr/bin/mailx > /etc/alternatives/mailx
And these both point to /usr/bin/mail.mailutils
Please see strace.log below
execve("/usr/bin/mail", ["mail", "-s", "..."], 0xbfdd72e8 /* 41 vars */) = 0
--- SIGINT {si_signo=SIGINT, si_code=SI_KERNEL} ---
--- SIGINT {si_signo=SIGINT, si_code=SI_USER, si_pid=7110, si_uid=1001} ---
--- SIGINT {si_signo=SIGINT, si_code=SI_KERNEL} ---
--- SIGINT {si_signo=SIGINT, si_code=SI_USER, si_pid=7110, si_uid=1001} ---
--- SIGINT {si_signo=SIGINT, si_code=SI_KERNEL} ---
--- SIGINT {si_signo=SIGINT, si_code=SI_USER, si_pid=7110, si_uid=1001} ---
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb70fd9a8) = 7143
waitpid(7143, [{WIFEXITED(s) && WEXITSTATUS(s) == 65}], 0) = 7143
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7143, si_uid=1001, si_status=65, si_utime=17, si_stime=2} ---
exit_group(4132) = ?
+++ exited with 36 +++
--- ~/.msmtprc ---
# Set default values for all following accounts.
defaults
port 587
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
account geosapo
host smtp.sapo.pt
from geoadmin@sapo.pt
auth login
user geoadmin@sapo.pt
# Set a default account
account default : geosapo
|