Trying to delete some system messages of a script that didn't have permissions. I can't seem to get rid of them using delete *. Is that the right command? It seems that's what's used, but after exiting mail, the messages show up again. It's told me there were no more new messages, but then...
Each time I log in as root I am told that I have "x mail messages". However, these mail messages seem to be invisible:
You have 7 mail messages.
root@orange:/home/nyan # mailx -u root
No mail for root
root@orange:/home/nyan # mailx
Mail version 8.1 6/6/93. Type ? for help...
I am trying to figure out FreeBSD internal messaging via mail. What should I look up as mostly I am finding info like this:
I want to know about the nuts and bolts of system events and mail interaction. What can you adjust.
I'm running FreeBSD 11.0-RELEASE.
On default cron is using /usr/lib/sendmail to send user emails. How can I tell/set cron to use /bin/mail instead?
crontab(5) says in the section about the MAILTO var:
This option is useful if you decide on /bin/mail instead of /usr/lib/sendmail as your mailer...
I'm trying to mail localized text from asterisk to my mail,
echo "тест" | mail -a "Content-Type: text/plain; charset=UTF-8" -s "килирилица" firstname.lastname@example.org
but mail hasn't -a key. I'm used this key in linux-system. How I can do it in FreeBSD?
I use mail/ssmtp with mail via cron to send the output of some scripts to my email. I use a google email to send them to my main email address. Sometimes the email body will say "This message has no content". Here's an example from cron of a script where the email says this.
This isn't a very important thing, but I haven't seen it mentioned yet, so here goes.
Over the last couple of weeks I have noticed that the "you have mail" notification in the shell (/bin/sh in this case) has changed in FreeBSD 11. It used to be (in all earlier releases) that you could get back...
I've set up ssmtp with my gmail account (and disabled sendmail) following these and these instructions.
I can now send mail using the following command:
echo "Hello" | mail -s subject email@example.com
I have two specific questions now:
Any user can now send mail with the above...
I'm new here and I am looking for some help in troubleshooting a mail loop on my machine.
I am running Postfix and Amavisd on FreeBSD 10.1 and I'm pretty sure the problem is just matter of something small and stupid that I can't seem to find.
I have uploaded the contents of my...
I tried to install a simple mailserver on my FreeBSD 10.2 following this tutorial:
But at the last step I get the following error:
Mar 22 09:49:27 mailsrv postfix/qmgr: F3CF119B7A5...
I just installed a new version of FreeBSD using 10.2 and I can don't see postfix-sasl package for 2.11. Is the package broken? Do I need to upgrade to 3.2?
Can anyone help?
root@mta2:~ # pkg search postfix
postfix-2.11.7_1,1 Secure alternative to widely-used Sendmail...
I rebooted a Digital Ocean droplet of FreeBSD 10.1-Release and was met with milter-greylist failing to start due to not having been compiled for GeoIP use.
So, I went to ports, tried make config and sure enough, the GeoIP option was already selected. A new compile later and still the same...
I have one machine, running up to date FreeBSD 10.2-release:
root@trap# freebsd-version -ku
root@trap# uname -a
FreeBSD trap.kg4.no 10.2-RELEASE-p7 FreeBSD 10.2-RELEASE-p7 #0: Mon Nov 2 14:19:39 UTC 2015...
I successfully set up mail/opensmtpd in a jail running other web services. I set up mail/dkimproxy for mail signing and all, works like a charm.
Now, the issue I'm having is that all sent mail has headers like these:
Received: from domain.com (domain.com [192.168.1.3])
I am trying to make my FreeBSD 10.1 jail instance relay to a Gmail account I have. I have Cyrus-SASL installed.
Here is my config:
root@mta:~ # postconf -n
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix...
I have installed mail/spamassassin, but it is not marking up mail that I send through it with either
cat msg | spamassassin > msg1
cat msg | spamc > msg2
Also, I don't see any way to startup a long running spamassassin/spamc like I
could with an rc.d script under Linux. Surely there must be...