The mail, Mail and mailx command line utilities
1
vote
1answer
332 views
Stopping postfix - are messages queued when postfix is idle?
I am running some scans on my server tonight and would like to disable email notifications since there is a chance for a LOT of them to be sent out.
I am planning to issue
service postfix stop
...
0
votes
1answer
32 views
Weird logging behavior in Berkeley mail on a Mac
I use Berkeley mail (/usr/bin/mail) on an iMac. It has just started behaving in strange ways. If I type "~v", to open an editor, I get "[LogLevel VERBOSE]" or sometimes "[LogLevel DEBUG]" and the ...
2
votes
0answers
32 views
How can I change the from address in *nix mail globally?
I know that you can change the from address in *nix mail by specifying command-line options. However, is there a way to set it globally, so that it is respected by forwarding?
I tried modifying the ...
1
vote
0answers
35 views
systemd MAILTO-replacement failing
I'm trying to setup systemd to notify me via email if a unit fails, like Cron can be set up to do. I followed the guide on the Arch Linux wiki.
So I set-up a sendmail shell script in ...
1
vote
0answers
40 views
BSD Mail - Single Sending Address
I've been working on sending HTML emails using BSD mail and so far I've been successful. I've even been able to modify, not change though, the sender.
Current Command:
cat $htmlFile | mail -s ...
0
votes
0answers
35 views
Invalid mail alert
When I log in to Unix, I get new mail alert:
[YOU HAVE NEW MAIL]
I checked my mail and I don't have any:
$ mail
Mail [5.2 UCB] [AIX 5.X] Type ? for help.
"/var/spool/mail/userId": 0 messages
No ...
0
votes
0answers
2k views
How to set up smtp and send emails?
I'm new to raspberry pi.
I installed the raspian OS on it. I want to send emails from it using my gmail account. I want to send from the command line interface and from php scripts.
I followed this ...