Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Send mail with mailx only works for root user

Featured Replies

Hi,

I'm struggling to find a solution. I installed heirloom-mailx following this site https://ubuntuforums.org/showthread.php?t=1711217. I can send emails (using gmail) as root user. The problem is with non-root user: the messages go to a query folder (/var/spool/mqueue) and never are sent. I have little experience with linux. Could you help me?

 

System: Cubieboard 1

Armbian Legacy Jessie server 3.4.112

.mailrc
set sendmail="/usr/bin/msmtp"
set message-sendmail-extra-arguments="-a gmail"
========================================================================================
.msmtprc
#Gmail account
defaults
logfile ~/msmtp.log

account gmail
auth on
host smtp.gmail.com
from XXX@gmail.com
auth on
tls on
# tls_trust_file /etc/ssl/cert.pem
tls_trust_file /usr/share/ca-certificates/mozilla/Equifax_Secure_CA.crt
user XXX@gmail.com
password XXX
port 587

account default : gmail
========================================================================================
/var/log/mail.info
Oct 30 21:08:52 localhost sm-mta[4429]: u9U129DY004614: to=<XXX@gmail.com>, ctladdr=<root@localhost> (0/0), delay=22:06:43, xdelay=00:00:00, mailer=esmtp, pri=11910461, relay=alt4.gmail-smtp-in.l.google.com., dsn=4.0.0, stat=Deferred: Connection timed out with alt4.gmail-smtp-in.l.google.com.


Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.