New answers tagged

0

Option 1: If your sent message folder is "outbox" (I assume you are using Maildir format for mail, so actual path is ~/Maildir/outbox), then you can start mutt with the command: mutt -f ~/Maildir/outbox or mutt -f =outbox (= is a shortcut used by mutt to indicate a subfolder of your Maildir) Option 2: When viewing inbox, press the c key. If your ...


1

Check /etc/aliases file. In standard configuration email to all system accounts is redirected to root emai to root is redirected to non privileged OS account.


3

The package maildir-utils (at least it's called so in Debian) contains a program called mu, that has a nice functionality to display the contents of a Maildir mail message. It displays only the headers, the text/plain part plus list of attachments. See man page. Example: mu view /path/to/email-file.


2

reformime is a command (from the maildrop package on Debian/Ubuntu) which can be used to extract the body of an email file. You can get a list of MIME parts with reformime -i <your-message which gives you something like section: 1 content-type: multipart/alternative content-transfer-encoding: 8bit charset: UTF-8 content-language: en-GB starting-pos: 0 ...


3

Use mutt -f /path/to/Maildir. Or mutt -R -f /path/to/Maildir if you want mutt to open the mailbox in read-only mode. The command-line tools you're thinking of are probably MH aka Message Handling System, which is ancient and un-maintained, or New MH which is still actively maintained. I don't think the ancient mh can handle Maildir/ mailboxes, but nmh ...


1

I like the mail-in-a-box stack which uses Postfix & Dovecot. Once you have those installed you can do the following to execute a script on receipt of mail to specific addresses: create your script (ie. mail_processor.py) in the /usr/lib/dovecot/sieve-execute/ directory: #!/usr/bin/python3 from sys import stdin with open('/var/log/mail_processor.log', '...


1

I found the configuring of Dovecot to be a more elegant solution (as opposed to configuring Postfix). The steps are as follows: create your script (ie. mail_processor.py) in the /usr/lib/dovecot/sieve-execute/ directory: #!/usr/bin/python3 from sys import stdin with open('/var/log/mail_processor.log', 'a') as logfile: for line in stdin: print(...


0

I did not configure nullmailer, but I did configure Yahoo with postfix, and with Gmail. One thing you might be missing is that Yahoo (and Gmail as well) needs an App password for applications not using its Sign-in method. (source 1, 2). Once you generate that App passord, you should use it in the configuration of nullmailer. So far I didn't find information ...


1

The configuration you have described looks pretty correct to me, except perhaps for the adminaddr file which in your case I think it would better be not empty, and instead indicate a valid, publicly reachable, address. However this small correction would not solve your main issue. An error message like: 550 Request failed; Mailbox unavailable is entirely ...


Top 50 recent answers are included