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
427 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 ...
1
vote
1answer
968 views

Setting up SMTP-AUTH & TLS in Postfix

So I have been in the process of installing a Postfix Server on my CentOS 6.2 Virtual Private Server. I have been following this tutorial: ...
0
votes
1answer
357 views

How to print gmail inbox messages

I want to print inbox messages one by one (like cat someFile) so that I can parse the message contents. something like printGmail InboxMesg1 | grep some | sed some Using curl I can access the ...
0
votes
1answer
20 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
1answer
12 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
0answers
11 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 ...
0
votes
1answer
18 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 ...
1
vote
1answer
57 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
0answers
17 views

Cross-platform solution for retrieving password for offlineimap and msmtp [closed]

I use offlineimap and msmtp with mutt to manage mail. I need a cross-platform (OS X and Linux), secure solution to store and retrieve my password for both of these programs. The only one I've found ...
1
vote
0answers
22 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 ...
0
votes
1answer
56 views

Cyrus create mail box gives error permissions denied

On freebsd91 64 bit i installed exim as mta and cyrus as imap server. I use saslpasswd2 root cyradmin -user root localhost localhost> cm INBOX.Sent It gives permissions denied error. In my ...
0
votes
1answer
69 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
22 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
42 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
1answer
452 views

Upgraded to Ubuntu 14.04 - Mail server missing dovecot-lmtp even though it is installed

So I upgraded to Ubuntu 14.04.1 from 12.04 the other day. Easy upgrade process. Everything worked fine except for my mail server stopped receiving mail. The logs show the mail arrives and is ...
0
votes
0answers
27 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
67 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
26 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
34 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
16 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
33 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
1answer
36 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
17 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 ...
2
votes
1answer
781 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, lets say there are two members in that project userA@mailA.tld and userB@mailB.tld, ...
1
vote
1answer
63 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
3answers
9k views

How to create Maildir directory with enough permissions for Postfix?

I have CentOS 5.5 with Postfix installed on it. I want to use local delivery agent with default setting, but I want it to store mail with Maildir directory style mailboxes. When I set the mailboxes ...
-2
votes
1answer
79 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 ...
1
vote
1answer
366 views

SSH Login Alert Using pam_exec

Hi I have been trying to follow the information about pam_exec from here: Ssh login hook? When a user log's in they get: /etc/pam.d/email-alert.sh failed: exit code 8 My sshd file has this at the ...
4
votes
2answers
465 views

configure postfix to accept mail from two WANs

I have a mac server but my question has long left the realm of the GUI. My last hope is a unix forum. I have a cisco router with two WAN ports. The mac uses postfix 2.8.3. I have correctly ...
1
vote
0answers
21 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
23 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
1answer
52 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 ...
1
vote
2answers
488 views

How do I install Exim and Horde on Centos 7 with MariaDB 10?

I can't find a guide for this (they are old and don't work) and I can't seem to manage to install it. I can't install Postfix because of its dependencies, so I'm going with Exim, which I installed ...
0
votes
0answers
52 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 ...
4
votes
2answers
19k views

How do I get UUENCODE to work?

I have a server that I have inherited that has an older version of Redhat installed due to software requirements and now there is a need to use UUENCODE to allow email attachments. The uuencode and ...
0
votes
1answer
22 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 ...
34
votes
6answers
45k 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?
1
vote
1answer
57 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 ...
3
votes
2answers
88 views

Avoid mutt sending mail with too many entries in To: or Cc: fields

Frequently, I use mutt's alias functionality, to send a message to larger groups of people (legitimate, not spam!). Normally, I put the alias into the Bcc: field, to cancel out spam harvesters, and ...
-2
votes
1answer
35 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 ...
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 ...
0
votes
2answers
30 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 ...
2
votes
3answers
94 views

Standard and portable way to send email from console?

What is the most portable or standard way to send an email from the console or a script on Linux, and possibly Unix?
1
vote
3answers
853 views

How to install postfix for sending mails to admin only?

I have a VPS running Ubuntu 13.10 on Digital Ocean. I'd like to install postfix on the server, but I want it to be able to send e-mails only to my e-mail address whenever a system message wants to be ...
0
votes
0answers
24 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
2answers
37 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 ...
2
votes
1answer
41 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 ...
1
vote
2answers
139 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? ...
1
vote
2answers
53 views

Need to delete mails for a range of dates in Linux

I have 1 million mails generated in a Linux sever due to a cron job. I want to delete the mails, but not all as this cron mails useful to troubleshoot and find out the issue with cron job's execution. ...
4
votes
1answer
30 views

How to configure kmail2 to use client certificates for POP3 and IMAP access

I would like to run a POP3 server with TLS transport security such that a client must authenticate with a client certificate. (This shields the server from brute force password guessing attacks.) How ...