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)

1
vote
1answer
18 views

How to mark read mails as unread in Postfix

In our postfix server, the mail directories cur and new are under /home/<user>/Maildir. I don't have much of an experience with mail servers, but I am aware that new e-mails land in the new ...
1
vote
0answers
18 views

What is error code 68 for msmtp and which problems may provoke it?

Sometimes, when I send mails (from alot MUA making use of msmtp) I get the following error message: failed to send: msmtp --account=FOO -t failed with code 68: A process has ended with a ...
1
vote
2answers
27 views

What to do if you accidentally delete /var/spool/mqueue

Due to a bug in another script, there were 1000's of mails in var/spool/mqueue. I read somewhere that one should delete /var/spool/mqueue to prevent the messages from being sent. Unfortunately, ...
3
votes
2answers
72 views

What is the format for piping a message into sendmail?

I am using the following command to create messages on the fly, and send them: echo "Subject:Hello \n\n I would like to buy a hamburger\n" | sendmail email@example.com It seems that when you send ...
0
votes
1answer
21 views

Dovecot (imap) not starting

I'm running Ubuntu 14.10 installed postfix dovecot vimbadmin and roundcube. Everything works except dovecot. When I restart dovecot I get this: stop: Unknown instance: dovecot start/running, ...
2
votes
1answer
51 views

Send backup by email with crontab

I use this cron job to do a backup of /home/blah/ each day at 01:00 a.m. : 0 1 * * * tar -zcf /home/blah/backup.tgz /home/blah/ In fact I would prefer that an email is sent to me with the .tgz file ...
1
vote
0answers
33 views

Confirm DavMail connection

I am using DavMail to connect to my employers Outlook servers. Before I attempt to configure the email client to work with DavMail, I want to confirm that DavMail has been configured properly and is ...
1
vote
2answers
31 views

Postfix trivial-rewrite expands recipient incorrectly after virtual aliasing is done

I host a handful of domains on a single box (Linux, Ubuntu 13.x) and am attempting to use Postfix 2.10.2-1 to route mail to them. (I used sendmail for the past 10 years, so this is new to me.) All ...
2
votes
1answer
14 views

Check SMTP over SSL

I need to get a look at how my SSL mailserver plays with others; for non-SSL this is easy to do with (e.g.) telnet. Is there a bonified SSL/TLS client that can be used the same way?
0
votes
1answer
20 views

Backup Mails to new server

I have a custom domain hosted with Microsoft Outlook mail service. now they are not offering creating new accounts under my domain and I decided to move new server. so I configure all the things with ...
1
vote
0answers
20 views

CLI Utillity to search your gmail account

Is there a CLI utility to search your gmail account? Perhaps by opening your default browser to gmail.com and placing implementing your search?
2
votes
0answers
19 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 ...
3
votes
1answer
27 views

How can I forward local *nix mail to an external account while keeping the local copy?

On my Raspbian server, I wish to have local *nix mail delivered locally, as well as to an external address. /home/pi/.forward contains pi,foo@bar.com. I've run sudo dpkg-reconfigure exim4-config with ...
3
votes
1answer
78 views

My IP is blacklisted for sending spam, logs aren't showing anything

I have Ubuntu server which is more or less acting as a web and mysql server. There is no postfix or anything similar installed. With a help of Virtualbox there is also virtualised Ubuntu server which ...
1
vote
0answers
17 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 ...
1
vote
0answers
13 views

Generating Email alert for events in system log

How to generate email alert for every critical event logged in system log /var/log/messages. Suppose, for the following log message, I want an email alert to be generated. Oct 24 11:17:42 eforms ...
1
vote
1answer
30 views

How does Slackware Login quotes work?

I'm new to Slackware and I think It's beautiful Distro. When I login it with ssh it prints motd, quote and a line for informing mail like this Linux 3.10.17. Last login: Thu Oct 23 06:28:08 +0330 ...
1
vote
2answers
36 views

Redirect specific e-mail address sent to a user, to other email-recipients

I'd like to know if it is possible to configure postfix to redirect to many email addresses (including the original recipient) instead of only one? Here is my scenario: When an e-mail is: Sent from: ...
1
vote
1answer
21 views

Offlineimap mail count does not match Gmail's

I'm syncing my gmail account ('All Mail' and 'Sent' folder) with offlineimap to my harddrive. But it appears to me some emails are not downloaded. I disabled the conversation view in gmail and it ...
0
votes
1answer
64 views

How to configure the “mail” command to use an SMTP relay server without using sendmail service?

Since I new to redhat ver 6 linux I wanted to know how I can configure our web server that is running redhat to used out exchange 2010 relay. I already configure our exchange 2010 to allow our web ...
0
votes
0answers
25 views

Dovecot/Postfix and mail vmail directory

I've setup a Postfix/Dovecot mail server. I'm using Postfixadmin to set up a SQL users database. My question is If I ever migrate to another server and I don't have the /var/vmail directory ...
1
vote
1answer
96 views

How does the mail command work?

I am curious as to how the mail command works. My computer has postfix server installed by default with red hat and is connected to a network that includes a mail server. I had assumed that when I ...
0
votes
1answer
37 views

sMail server cannot get connect by Linux frequently

I have a mail server A build by iredmail on Centos6.5 system. The mail server have a public ip aaa. There are about 40~50 mail clients which operating system is windows in local network, they all ...
0
votes
1answer
75 views

Scripts to E-mail Myself a File

The following command e-mails myself a file: sudo mail -a FILE_ADDRESS -s "Subject of E-mail" myemail@gmail.com Question: How do I turn this command into a one-liner, so that I could just type ...
1
vote
0answers
37 views

How can I send email without using uuencode and mute?

Is it possible to send attachment from unix/AiX without using uuencode and MUTE command? We can write a Perl script which will send email properly but without attachment, can I get the perl code ...
0
votes
0answers
301 views

Unix “Mail, Mailx and sendmail” command sending blank attachment on IOS

I am using the below listed code, which sends PDF attachment properly. Attachment can be opened in desktop computer and Samsung mobile but same attachment cannot be opened in IPHONE IOS. Below is my ...
0
votes
0answers
39 views

How to run multiple queries in a KSH script

I have a KSH script that has one SQL Query and generates and emails output of the query in HTML format. I want to change the script so that it has three SQL queries and the last query generates and ...
1
vote
1answer
81 views

One-Click Script to Gmail Yourself a File

Does such a thing exist? I'd be interested in something like: You right-click a file in a file viewing manager, and click "gmail yourself this file". One click, and you're done. You open up the ...
3
votes
2answers
29 views

email alerts when serious system errors occur

I was greping syslog on a server for errors and noticed these lines that had nothing to do with what I was looking for but was alerting enough: kernel: [8456851.218586] ata2.00: irq_stat 0x08000000, ...
1
vote
0answers
150 views

How to configure postfix to send mail to external SMTP server?

I have a machine with http://phabricator.org/ set up on it and I would like to set up postfix to enable e-mail sending to my company's mailboxes (as for notification emails coming from e.g. ...
1
vote
0answers
43 views

Files associated with Thunderbird - Security mechanism for local storage

I am trying to know how Thunderbird stores the mails, associated files in the local machine. I use Ubuntu 13.10 and Thunderbird 24.6.0. When I see in the local profile folder in the location in ...
1
vote
0answers
25 views

Make sendmail email me on SYSERR errors

I'm running CentOS5 and sendmail and occasionally I get a line like this: Oct 3 15:19:50 mail sendmail[23643]: s936Is4d023643: SYSERR(root): collect: I/O error on connection from web.address.com, ...
3
votes
1answer
40 views

Mutt overheads or missing switches

I have a problem with Mutt at the moment. I have a 4GL routine that creates some quite large output files and I want them to go in a single mail ideally. The total of these files is 21889119 (sum of ...
0
votes
0answers
21 views

A problem using Mutt with Gmail

I'm using Mutt with a Gmail account via IMAP (with Exim), and keep getting warnings Mailbox was externally modified. Flags may be wrong. every time when I move with 's' command a message to ...
1
vote
1answer
165 views

Must issue a STARTTLS command first, even with it in main.cf

This is my first time setting up a linux server and I can't seem to get the email to work. Anytime I try to telnet and do the "mail from" command I get "540 5.7.0 Must issue a STARTTLS command first" ...
-2
votes
1answer
154 views

Delete all mails from inbox using linux command prompt

How can I delete emails from an individual email account? e.g. how can I empty userxyz@mydomain.com? I know the following: /var/spool/mail/mydomain /var/mail/mydomain I have many inboxes some of ...
0
votes
1answer
47 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 ...
1
vote
0answers
24 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
1answer
33 views

SSMTP returns error 550

I have a Raspberry Pi with Raspian installed on it and I am experiencing troubles sending out emails. I have installed SSMTP and usually inside my scripts I'm sending out emails to notify me when a ...
0
votes
0answers
75 views

Gmail and mutt: msmtp error

Invalid SMTP URL: ssmtp://REDACTED@gmail.com@smtp.gmail.com:465/ I can use mutt to read my Gmail, but when I try to send I get the above message. When I installed mutt a screen came up for postfix ...
0
votes
1answer
88 views

Uuencode displaying attachment content in email body

I am using uuencode with mailx to attach a zip file. In following code, the if block works perfectly and I get Deletions.zip as an attachment in the email. But, whenever the else block is executed I ...
0
votes
1answer
23 views

Mutt: Emaillist emails not be shown in inbox and still readable in some file, how to do it?

I get emails from mail lists such as best-h@list.ayy.com. I don't want them to my inbox, I want them to a new inboxes that I can only read when I select them or basically move all mails like this to a ...
1
vote
1answer
92 views

How to send a mail when someone remote connects to my server

I would like my server to send a mail to me when someone connects remotely over ssh to my server. who only gives me back the Username, TerminalID and Date. I cannot use only that, I need to check ...
-2
votes
1answer
37 views

Can somebody explain the difference between IMAP and POP3 [closed]

I dunno if I have right understanding or somewhat faulty understanding of the three topics. From a user-end perspective both IMAP or POP3 credentials are what I need if I need to have mail incoming to ...
0
votes
2answers
53 views

How to I solve the error? In svn email notification?

I have working from svn email notification,but it got the error, could you help for me. (The command execute autometic send file for my mail, but now not sending ) svn commit -m "[1] add some text ...
0
votes
0answers
37 views

Can You Send Mail With MSMTP Without Putting the Location, ISP, and Hostname in Header?

I've been testing sending mail with mutt and msmtp. I've noticed when replying to a message I sent with msmtp, my state, hostname, and isp show up in the In-Reply-To: header ...
2
votes
1answer
96 views

How to send email from ssmtp with HTML

I want to send an HTML report that is piped from another command, eg: mycommandthatprintshtml | mail someone@hostname.com . When I do this currently, it prints all the html tags. Is there a way I can ...
2
votes
2answers
41 views

How to archive POP3 mailbox?

What programs are available to archive a mailbox (to mbox or maildir format) that I can only access via POP3? I'd like to be able to browse the mailbox locally afterwards, probably using mutt or the ...
1
vote
2answers
174 views

Querying a remote POP3 Mail server using BASH

I'd like to connect to our mail server via POP3, look for a certain pass phrase in the subject and if found then run a script. How can I achieve this with BASH other than awkwardly scripting Telnet? ...
2
votes
1answer
20 views

Why does KDEPIM add “pbecbengr-rivy-znaqngrq-ba” to the domain part of outgoing Message-ID headers?

When I send an eMail with Kontact (KDEPIM), my Message-ID headers look like this: Message-ID: <1548233.Ax4hfq5P2Q@pbecbengr-rivy-znaqngrq-ba.tglase.lan.tarent.de> In contrast, my regular MUA ...