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
359 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
0answers
98 views

How can I configure postfix to send mail from my domain?

I currently have a VPS set up with postfix and dovecot, running on a mail server located at mail.noelforte.com. The setup works fine for receiving mail, as whenever mail is sent to @noelforte.com, the ...
1
vote
2answers
452 views

Why access file is being ignored by Postfix?

I have installed Postfix, I can send mails between local users as expected, but I would try to limit the access of a particular user to the server. I edited the /etc/postfix/access file in this way: ...
2
votes
1answer
2k views

Why I can't send mail to remote mailbox?

I have installed Postfix on my CentOS machine. I can nicely send mails to local accounts with mutt, but when I try to send one to a remote mail like myactualmail@gmail.com, I cannot understand why I ...
1
vote
1answer
400 views

Maildir and mailutils?

I want to use the mailutils app on a install of Ubuntu 12.04.3 LTS with a Maildir format, but every time I run the mail command, the system looks in /var/mail/user, instead of the Maildir directory in ...
2
votes
2answers
128 views

Automatically attach a file to a mail with mutt

Meow everybody, I am searching for a way to automatically attach a file ~/.mutt/example.vcf to any mail I compose with mutt. I tried something like send-hook 'attach-file ~/.mutt/fauve.vcf' but it ...
2
votes
1answer
423 views

Crontab change MAILTO for only one specific job in Root's crontab

Can I do the following to change where mail goes for one specific crontab job in root's crontab (don't sent to root for Do Something job, just send to porklover): # Make a hambone appear * * * * * ...
1
vote
1answer
888 views

send email from my local domain example.com to external mail server using Sendmail

I'm using Sendmail as an MTA. I setup a local domain example.org, everything is running well, so now I want to use this local mail server to send email to my Gmail account or any external server. Just ...
2
votes
2answers
213 views

Where do uncaught local emails go?

Suppose I run - mail goldfish There is no such account on the system and no such aliases defined, where would the mail go? How do I see a list of such mails?
1
vote
1answer
127 views

Mail Server Setup, MX Records, and Hostnames?

I'm a bit confused how mail servers work, and the process of setting them up. Say I have an domain called example.com, and I have an A record for it. I'll be using postfix/dovecot for this setup along ...
3
votes
2answers
993 views

How to configure Exim to forward all incoming mail to new server?

I am moving servers, both of them running Debian (oldstable and stable). Both are running Exim4. When I switch the DNS entries over to the new server, I'd like the old server to still forward incoming ...
0
votes
1answer
227 views

Sending mail to an external server?

I'm currently experimenting with working with Outlook.com for an email server, and have MX records set up to point there and the like. How can I configure systems like postfix to use external servers ...
1
vote
1answer
260 views

What format is the file /var/mail/username mail utilities

I need a sample file where mail utility stored messages. What I mean is: Return-path: <user@example.domain> Received: from anton by nflogs.domain with local (Exim 4.80) (envelope-from ...
1
vote
0answers
78 views

ssh log sent to email in Cygwin

I am using Cygwin in Windows 7. I am trying to make my syslog-ng daemon send a ssh log via email to me when ever someone tries to log into my computer. I tried using the code below (entered into ...
0
votes
0answers
659 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 ...
1
vote
3answers
339 views

postfix: different file name format for Maildir messages

I am using postfix with maildir format. The filenames of messages stored in maildir look something like this: 1386021659.27745_1.alpha:2,S I understand the first part is epoch time, not sure about ...
2
votes
1answer
330 views

Send email from external email id such as Gmail, Outlook to Unix user account

I am trying to see if there is any way I can send email from external email address to Unix user account. I don't know if this at all possible or not. For example, if my external email address is ...
2
votes
1answer
63 views

Mail character set for norwegian characters

When extracting a message from my inbox containing the norwegian letter "ø" I find that it is encoded with 3 bytes as "=F8" or hexadecimal "0x3d4638". In UTF-8 the letter "ø" is encoded with two bytes ...
0
votes
2answers
190 views

Format of SMTP headers for scanning inbox email

I am looking for a simple procedure to extract email from my inbox into a file for further processing, using e.g. awk. With "extract" I mean use e.g. regex to get emails with a particular subject. My ...
0
votes
1answer
61 views

Email Configuration in Cent OS

I have hosted my web application in VPS Cent OS. Its working well, in that application if a vendor registered or any events occurs between users and website, admin needs to send emails regarding the ...
4
votes
1answer
6k views

How to Allow Outgoing SMTP on iptables Debian Linux

If I choose to allow all traffic on the OUTPUT chain (iptables -P OUTPUT ACCEPT) mail sends fine. As soon as I lock down my server with these rules, outgoing mail stops working. All else works though, ...
2
votes
1answer
58 views

Restrict emails to system users in postfix?

I am running postfix, and it seems it is willing to accept emails for system users, such as man, sshd, daemon, www-data, ... Is desirable (probably not)? and what I can do to disable this?
2
votes
1answer
505 views

missed X-Spam- headers for all messages in exim4 + spamassassin

I'm trying to configure spam filter on VPS Debian Squeeze, exim4-heavy + spamassassin and dovecot. Exim version 4.72, SpamAssassin version 3.3.1, Perl version 5.10.1 And I have an irritating problem ...
0
votes
1answer
249 views

Mysterious automated emails

I remember messing around with crontab and setting up email capabilities on a server many months back, and now all of a sudden I'm getting the following email: EMAIL HEADER: from: root ...
0
votes
1answer
142 views

Linking the `mail` and `sendmail` commands to Dovecot and Postfix

I have recently set up my mail server with Debian 7.2 (Wheezy), Dovecot, and Postfix, as described in this guide. This is all working fine, and I have installed and configured Roundcube and ...
0
votes
1answer
68 views

Postfix Masquarade Name *and* Email address

At the moment, I have a RHEL6 monitoring server that sends out emails with postfix. Originally it was sending them out as user@host.localhost. I've used the mapping file /etc/postfix/generic to get ...
2
votes
2answers
11k views

mail: send email with attachment from commandline [duplicate]

I know how to send an email from command line (script) echo "body" | mail -s "subject" my@email.com Is it possible to send attachments from commandline (script) as well? I am using heirloom-mailx ...
1
vote
1answer
147 views

Mutt and maildir format

I am trying to set up mutt to use maildir format. I have the following in my .muttrc file: set mbox_type=Maildir set folder="~/.mail/" set mbox="~/.mail/" set spoolfile="~/.mail/" set ...
2
votes
1answer
659 views

mbsync not fetching/pushing with [Gmail]/Folders

I've switched from offlineimap to mbsync, but I'm having a problem syncing certain directories from Gmail. Specifically, all of the [Gmail]/FolderName directories seem to be ignored by mbsync (when I ...
0
votes
0answers
114 views

GetMail with multiple accounts

How can I check multiple accounts with getmail. I have 50 accounts on the same external server. Can I use other solution than separate config file for each account ?
3
votes
3answers
339 views

How to migrate data from server to server with as little downtime as possible?

I have a server running dovecot using the maildir format with a fairly large userbase (10k users or so) with each user having around a GB quota. The actual mail directories are stored on a separate ...
0
votes
2answers
71 views

Local mail delivery not working

We are using RHEL 6.1 server. We need to send a mail from server to local domain (tcs.com). we are using mail command for this purpose. [bsoauser@hsluabsoa ~]$ echo "hi" | mail -s "test" ...
1
vote
1answer
74 views

Mailing output of cron

I have this script which I run once a month, and I want to get the output sent to my email. If I run it manually like so, then the standard output is sent to my email. ./monthly_mail.sh | mail -s ...
0
votes
2answers
86 views

postfix archive specific emails

I would like to know if its possible to archive specific emails based on the /Subject:/ for example if I receive an email with "Website Support" it will archive it in "Support".. is this possible?
2
votes
1answer
790 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, ...
5
votes
1answer
732 views

How can I bcc with mailx?

I'm trying to send unix mail (heirloom-mailx) via bcc. $ mail -V 12.5 6/20/10 My MTA is exim, which sends via Gmail SMTP. I can execute the following: echo -e "body" | mail -s 'subject' -b ...
4
votes
1answer
81 views

dmesg email digest

I have a remote server which has some issues (Seem hardware related) which means that it logs KVM errors and then sometime later it becomes unresponsive and locked up. There is an often an early ...
2
votes
1answer
170 views

Is it possible to import vmail folder from old iRedMail to new iRedMail installation?

Basically, what I did: Copied vmail folder to my local machine. Reinstalled my VPS. Installed iRedMail again. Created same users on the same domain. Question is - can I somehow copy over my old ...
0
votes
0answers
136 views

Is it possible to import vmail folder from old iRedMail to new iRedMail installation?

Basically, what I did: Copied vmail folder to my local machine. Reinstalled my VPS. Installed iRedMail again. Created same users on the same domain. Question is - can I somehow copy over my old ...
3
votes
2answers
178 views

Configure Spamassassin to use URIBL and Google Public DNS

I use Google Public DNS servers on my mail server. However, URIBL and other spam blocking sites (which work over DNS) block major DNS sites such as Google Public DNS. I think if I run my own DNS ...
1
vote
1answer
202 views

Checking mail and running a script without downloading

I'm writing a script to run certain processing activities (mainly moving some data files to another machine where they can backed up), but I only know when to trigger the copy when a mail is delivered ...
2
votes
2answers
202 views

Is it possible to run a private mailserver?

Last week my email provider (mout.web.de) got listed on spamcop. So I cannot send emails to recipients whose mailserver uses spamcop. An obvious solotion, which popped up in the forums, is to switch ...
1
vote
1answer
334 views

Do I Need Nullmailer-send running?

Further to my posting here: Why does my CMS run extremely slow in my workstation (Ubuntu) I now ask "Do I need Nullmailer-Send" running? The reason I ask, is that earlier this year (2013) I had issues ...
1
vote
0answers
127 views

Is SMTP over SSL possible in the Balsa email client?

In Balsa 2.5.1 is it possible to connect to SMTP with port 465 with SSL? The IMAP setup has an SSL option which disables the TLS choices, but I do not see anything similar when setting up SMTP. I ...
2
votes
1answer
57 views

Prevent `finger` from giving out mail info

To quote from finger's man page Mail status is shown as No Mail.'' if there is no mail at all, Mail last read DDD MMM ## HH:MM YYYY (TZ)'' if the person has looked at their mailbox ...
4
votes
1answer
61 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?
1
vote
0answers
118 views

Postfix, postges courier-imap / relay reject error on gentoo

I followed a guide to put together a server https://wiki.gentoo.org/wiki/Complete_Virtual_Mail_Server it went smooth with no real headaches. First domain works like a champ but adding a second domain, ...
2
votes
1answer
115 views

Notify on email sent - Postfix

I have a small postfix server, on a Linux server (Arch Linux) mainly used as a http server. I use postfix to send database backups and notifications of my web sites. To avoid spamming, I'd like to ...
1
vote
1answer
221 views

postfix configuration to verify all recipients

I have a mail server that should receive all mails, even if no user is existing. my big problem is the: Postfix Address Verification like mentioned here: ...
3
votes
1answer
74 views

Unknown entries in the default /etc/postfix/aliases file

While setting up a new Postfix installation on a Mageia 3 Linux system, I came upon a few entries in the default /etc/postfix/aliases file that I do not know the background of: # Common aliases for ...