geoad...@sapo.pt writes: > I was going throught msmtp docs at the debian wiki,but I'm still > having trouble setting msmtp-mta.
I guess you're talking about this wiki page: https://wiki.debian.org/msmtp I've just reviewed it and updated it with a few improvements. > [...] what would be the best channel to request support on this? I don't know why you think I could particularly help you on msmtp, I don't use it (I use mpop though). I *think* you can discuss your issue on debian-user@lists.debian.org (I have added it in Cc), to which I suggest you subscribe. Another possibility, if you are quite sure that there is an software issue behind this, is to file a new bugreport (with e.g. the "reportbug" tool) targetting the software you think is the culprit. > The msmtp is working fine following the instruction on the wiki and > elsewhere (this email is sent using msmtp), however web apps (in my > case GNU Social), and anything else calling the mail command return > errors: > eg > > mail -s teste another@external.email < /dev/null > > returns: > > mail: Null message body; hope that's ok > mail: cannot send message: Process exited with a non-zero status > > and: > $ echo $? > 36 These error messages are insufficient to understand what's wrong. Is it all? I suspect the process which "mail" talks about is in fact /usr/bin/sendmail, which resolves as one of the msmtp programs; you can check that by following the /usr/bin/sendmail symlink, and by using strace to see which child process of "mail" is the cause of this error message: strace -e trace=process -o /tmp/strace.log mail -s ... If I understood correctly, there is a msmtp daemon running somewhere. Have you looked at its logs? > I tried uninstalling mailutils and msmtp-mta, then trying reinstalling > the msmtp-mta only but then the mail command is not found. I think uninstalling mailutils is a bad idea here. > Also started msmtpd daemin manually, but doesn't seem to make a > difference. > > I understood msmtp + msmtp-mta would suffice, but it appears not? > > I've tried several support channels, but few people seem to know > enough to help. > > Could you help on this? > > Thanks! > > josely -- Fabrice Bauzac-Stehly PGP 01EEACF8244E9C14B551C5256ADA5F189BD322B6 old PGP 015AE9B25DCB0511D200A75DE5674DEA514C891D