Sending, receiving, reading, composing, sorting, and generally working with email. For the mail(1) command line utility, see the tag /mail-command.

learn more… | top users | synonyms (1)

0
votes
1answer
2k views

Sendmail Attachment

I was wondering if it's possible to include an attachment with sendmail. I am generating the following emailfile.eml files with the following layout From: Company Name <example@nowhere.com> To: ...
1
vote
0answers
16 views

convert attachments of type winmail.dat (TNEF) to “real” attachments in stored email messages, recursively in MailDir

Some email messages contain the attachments in a format called TNEF (Transport_Neutral_Encapsulation_Format). This attachment is usually called winmail.dat. Extraction tools exist for linux, but ...
47
votes
8answers
88k views

How do I send HTML email using linux 'mail' command?

mail -s "subject" xxxxx@gmail.com <test.html works, but only for plain text email. What is the correct way to send HTML email using the Linux command mail?
0
votes
2answers
10k views

How can I see settings of the email server?

I have root access to a Linux server (CentOS 5.10). I want to see the email server's settings such as whether SMPT is working, wheter there is an email server, port number, does it require SSL, what ...
0
votes
0answers
19 views

postfix, dovecot, rainloop, can't log in

I configured dovecot, postfix and squirellmail - everything works just fine i can send and receive emails. It's Debian Jessie 64 on ovh hosting (VPS SSD 3) I went one step ahead and i want to use ...
0
votes
1answer
139 views

Postfix/Rancid - Confused by terminology, /etc/aliases, and relaying mail from localhost

I want to send notifications from a non-domain linux server, to my corporate email, me@company.com. My main concern is receiving notifications from an installed instance of rancid. I am confused by ...
1
vote
0answers
12 views

Move from sylpheed to Thunderbird easily

I've been using Sylpheed, but it is very bug-full and hard to use, so I'm trying to move all 8gb of my mails to Thunderbird (have been losing business emails left right and center, deletes entire ...
8
votes
1answer
3k views

How to set up local mail retrieval and delivery?

$ mail No mail for lazer $ I am able to send mails using mail. I have unread mails in my inbox as I can see in Outlook. Why doesn't mail show me my mails? How can I make mail fetch them?
0
votes
1answer
15 views

How do I change Simplescan's default email?

I found one other person with this issue from long ago. I'm currently: Mint 17.1/64/i5/16GB RAM 3.13.0-37-generic In SS, if I choose, "scan to email"--> it opens Chromium? I'd like to know if I ...
5
votes
1answer
94 views

When I schedule a command with 'at', can I change where the output is mailed to?

When I schedule a job/command with at to be executed in the future, the standard output and error of the command is "mailed" to the user that did the scheduling. So after my job runs, I get a message ...
1
vote
1answer
34 views

/ Owned by postfix:root after installing iRedMail

I followed this tutorial to install iRedMail on my CentOS 7 x64 System: https://www.digitalocean.com/community/tutorials/how-to-install-iredmail-on-centos-6-5-x64 Why the *"$@*3 is / now owned by ...
0
votes
2answers
36 views

Uuencode is displaying the file contents in email body instead of attaching the file in the attachments

I want to send a simple text file as an attachment in an email. When the email is delivered, the attachment is missing, instead, the contents of the attachments are displayed in the email body. Need ...
-1
votes
1answer
1k views

Problems with postfix/dovecot unable to receive mail

Can't receive mail on my server but can send just fine. From what I can tell in the logs, it complains about timing out. I check the connection externally using telnet from my PC, I can connect to ...
4
votes
2answers
74 views

Universal inbox application?

I am looking for an application that would allow me to read (summaries of) all kinds of inboxes and social media such as Gmail, Facebook, Disqus, StackExchange, Twitter etc. Is there such a thing?
0
votes
0answers
30 views

“User is authenticated but not connected” in ThunderBird

I am getting “User is authenticated but not connected” error from my Thunderbird when I tried to configure my outlook365 account in it. I am using Thunderbird 38.8 and Ubuntu 14.04 LTS. The current ...
0
votes
0answers
16 views

Spamassassin training problem with amavisd

I wrote a Outlook add-on that uses the Tell command to train spamassassin. The user selects the messages and clicks a Spam or Ham button. It works great. I have got everything to work but I cannot get ...
0
votes
0answers
22 views

Unix Email service mail not received

I have sent the mail from the Unix server using the below command.It does not show any error messages while entering the command. But, I did not receive the I sent in my mailbox. Am I doing something ...
6
votes
1answer
2k views

Using Trash with Mutt: Does it make sense?

I come from Thunderbird, which I found to be bloatware with spontaneous hiccoughs using 20–40% of processing power, weak IMAP and local mailfolder handling and a constant 100–500MB of RAM use. But it ...
2
votes
0answers
24 views

MTA with local delivery and per user smarthost

I have some problems choosing and configuring an MTA for my desktop system. Some tools like apt-listchanges or cron rely on local mail delivery and I think having local mail delivery available is a ...
13
votes
3answers
4k views

Search for mail content with mutt

Is it possible to use to search for specific mail content using built-in functionality of Mutt? Or, as last resort, how can I configure grep to be used in Mutt ? The documentation only mentions the ...
3
votes
1answer
2k views

Mail forward: 550 5.7.1 Anonymous client does not have permissions to send as this sender

I want to install a small mailing list that forwards mails related to a specific project to all project members. So, let's say there are two members in that project userA@mailA.tld and userB@mailB.tld,...
0
votes
2answers
13k views

sendmail not working

I have a website where mails are sent. Those mails from website (contact mail, booking mail) are being sent well. But when I go to shell with ssh and give sendmail myemail@mail.com it is not sending. ...
2
votes
2answers
2k views

Setup GMX email with SSMTP

I setup the simplest outgoing email server possible with ssmtp. It is giving me the error Authorization failed (535 Authentication credentials invalid). Here is my configuration without comments: # /...
0
votes
1answer
27 views

Systemd Service for Offlineimap + gpg encrypted PW's inside tmux works manually after system start but not autmoatically

Short description, what i'm searching for: I want to have a detached tmux session automatically started as a systemd user service. Inside that, offlineimap should start and decrypt my login ...
0
votes
1answer
35 views

How to send a ghost email message?

When I was running tcpdump and watching output on my new created VPS (OS:CentOS 7.1) via SSH, a message appears suddenly: OPTIONS sip:100@My_VPS_IP SIP/2.0 Via: SIP/2.0/UDP 69.64.57.15:5596;branch=...
1
vote
1answer
32 views

How do I change FROM address using mailx on FreeBSD from command line?

I'm using following system: $ uname -a FreeBSD X 9.2-RELEASE-p17 FreeBSD 9.2-RELEASE-p17 #0 r282430: Mon May 4 13:59:58 PDT 2015 root@X:/usr/obj/usr/src/sys/R610 amd64 $ pkg info mailx mailx-0....
1
vote
1answer
50 views

Script to send mail using function

I am trying to write a bash script with a function which you use to send an email from the command line to an address and include a Cc address, a subject line, and an input file. For example, if the ...
0
votes
1answer
39 views

Send file as attachment without using mutt and uuencode

How can I send a file as an attachment via email in bash script, without using mutt and uuencode?
1
vote
1answer
28 views

Mutt - Automatic Display Sent Email

I am new to Mutt and I am trying to replicate Gmail's behaviour after sending an e-mail. It stays on the thread of the conversation and shows the sent e-mail. After sending a message in the Mutt ...
2
votes
1answer
196 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 /usr/local/bin/...
1
vote
2answers
32 views

crontab each 12 hour - when will it send an email?

I am installing new crontab job which will execute a shell script and then send the printed errors on the console to email. I know all of the required steps to do, which will be as following: 0 10,...
1
vote
0answers
17 views

moving or coping an email using doveadm

I am tring to copy some email (using doveadm) having the code 7F7029018730 in email header FROM email user spam@mydomain.com (INBOX) to account info@domain2.com (INBOX.spambox) . I tried using these ...
3
votes
1answer
807 views

How can I configure Postfix to silently drop/discard/reject mails that were sent from specific users to an external address?

How can I configure Postfix to silently drop/discard/reject mails that were sent from specific users to an external address? It should work only for specific users E.g: abc@localdomain can send ...
3
votes
1answer
482 views

Script to send mail if there has been no entry in a log file for a certain amount of time

I am new to shell scripting. How would I write a script which can send an alert mail if there is no entry in the log file for more than 3 hours.
2
votes
4answers
9k views

How to pass a CTRL-D to a command line within a script?

I am using this line ( cat bodyText.txt; uuencode backup.tar ) | mail -s "backup" myEmail@myserver.com inside a bash script that will be fired by cron. This line is almost perfect, but it hangs ...
1
vote
0answers
23 views

find-like tool to search (recursively) in MailDir folders by size, sender, recipient, attachment name regex, etc

I am not looking for a tool like locate, that works by creating an index in the MailDir, or generating other runtime files there; I am searching for real-time, direct search on live MailDirs. The ...
1
vote
0answers
15 views

In case of success login via IMAP, an email server replies without “OK” and tag

When I'm doing IMAP authentication of one the public email servers and login is successful I believe, it replies like this: * CAPABILITY IMAP4rev1 ID XLIST UIDPLUS UNSELECT MOVE LIST-STATUS There's ...
4
votes
3answers
721 views

How and where is the at command configured?

When I install a new Linux system, one of my first tasks is to have crontab send all its email to a designated email address, not root. I want to do the same for the at command. That is I would like ...
3
votes
2answers
55 views

Printing email messages from mutt — how to avoid line break?

I use mutt as email client, and recently decided to fix my email-printing setup. I know about Muttprint, but I decided not to use it. I came up with the following. On .muttrc, I have: set ...
4
votes
1answer
974 views

Procmail: Denying special privileges for “/etc/procmailrcs/default.rc”

I'm trying to setup postfix, dovecot and procmail to work together with virtual users. In the end I want to have virtual users and the possibility to add rules to sort incoming rules. For the last ...
1
vote
2answers
951 views

Remove/Delete Attachments from email server (IMAP)

I have a rather large quantity of emails on my mail server (IMAP) which contain attachments (PDF's, etc.) These attachments waste space--my HDD space on server is limited by my hosting company--and I ...
1
vote
1answer
39 views

postfix MX host not found

Im am trying to send mail using Postfix, but I get the following error for all emails: May 13 12:44:46 myhost postfix/qmgr[12169]: A6D9644526: from=<x@y.com>, size=317, nrcpt=1 (queue active) ...
1
vote
0answers
39 views

Email not received with mail command from terminal in CentOS

I am trying to send mail with the following command: echo "Hello" | mail -s "Hello" myaddr@mydomain.com and than checking the exit status as: echo $? which outputs 0 Of course myaddr and ...
1
vote
0answers
27 views

Change Postfix email recipient on Ubuntu 15.10

I installed Postfix on my Ubuntu machine and i'm using Gmail's SMTP to actually deliver the emails using this tutorial. This is the email headers: Reporting-MTA: dns; crmpicco-desktop X-Postfix-...
1
vote
1answer
36 views

Postfix smarthost sends as root

I have a Debian 8 test server that has only root. I have configured it to send emails with https://wiki.amahi.org/index.php/Gmail_As_Relay_On_Ubuntu by making use of a new gmail account eg atuxxxxx6@...
1
vote
2answers
37 views

IPV4 supportive mail function in linux

I'm working on a linux machine where changes are not allowed. But While I use sendmail function I'm getting following error. sendmail: warning: inet_protocols: IPv6 support is disabled: Address ...
1
vote
0answers
11 views

Postfix internal scheduling of email servers; loadbalancing and use cases

I've learned about the parameter smtp_randomize_addresses and am curious which use-cases where one would benefit to have the same priority for MX records and allow Postfix to randomly pick email ...
2
votes
1answer
71 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 $...
4
votes
2answers
55 views

Best way to delete select email messages from mbox file using script

I have an arbitrary email messages file in mbox format. I would like to periodically (end of the week), and automatically (via cron) purge messages from my "alerts" mbox file (new folder) just from ...
1
vote
1answer
6k views

Mail filtering with procmail in a postfix/dovecot system with virtual users

I had a postfix/dovecot system with mail users working. After unsuccessfully following a few tutorials online to enable procmail, now I have an unusable system. What I want is to enable procmail ...