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)

2
votes
1answer
31 views

is there a way to stop users sending to unwanted email accounts?

I want to set a command that only allows users to send emails to accounts ending in @hotmail.com @gmail.com @talktalk.net for example. Is there a way to set it so users can only enter these ...
-1
votes
1answer
494 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 ...
1
vote
1answer
1k 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: ...
1
vote
1answer
15 views

Alpine: work with some e-mails

How can I setup alpine to use more than one mail address? That SMTP Server parameter in config looks like an global. Can someone help me? NOTE: At least for both e-mails on the same server. Thanks.
0
votes
0answers
15 views

Checking if a mail has arrived, if not then alert

I am using fetchmail in combination with procmail for mail filtering on CentOS where my mail contains various log messages. They serve me so i could search through my mail(logs) for error strings. So ...
1
vote
1answer
30 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 ...
0
votes
1answer
357 views

Where are my emails stored on CentOS 5.6

I have a CentOS 5.6 VM installation and currently have a handful of emails that I would like to get access to. When I run mail as root, I get: [root@dev mail]# mail Mail version 8.1 6/6/93. Type ? ...
3
votes
5answers
248 views

Why am I getting inconsistent IP values from icanhazip.com or curlmyip.com?

I wrote a bash script and appended to my crontab to query my IP address every minute, and if it is not the same with the previous query it sends me an e-mail to inform me for the IP address change. ...
0
votes
0answers
8 views

configure thunderbird to read local spool mail

I was trying to add a comment to Local mail in Thunderbird in /var/mail/username but I need 50 reputation to do so, hence a new question: I have a similar problem as in the linked question: I get ...
0
votes
2answers
8 views

Backup and restore IMAP mail account with (open source) Linux tools

Which Linux tools help to backup and restore a IMAP mail account including all mail and subfolders? I expect disconnects for large IMAP accounts because of ressource limitiations on the server ...
4
votes
1answer
105 views

Gmail blocking mutt

When I try to log in to gmail with mutt, it flashes a quick Webalert with a url, something like accounts.gmail.com or something. It's too quick for me to see or copy it. Then it says Login failed. ...
2
votes
1answer
32 views

Rewriting from header when forwarding email using Postfix

I'm sending email using Postfix on my Debian server, which is working fine. Now I want to receive email by forwarding all incoming email to my email address (which is not on this server). I got this ...
2
votes
2answers
81 views

How to debug ~/.forward

How can I debug ~/.forward file or see errors logged by mail agent on it without root privileges? I'm trying to process my mail with procmail. When I invoke procmail manually with procmail < ...
2
votes
2answers
29 views

Sending mail to lan ip failed

In a Ubuntu os, with sendmail installed (maybe as default installed package) but not configured, I tried to type both echo "Text message" | mail <dest_ip_address>\!dest_user and echo "Text ...
0
votes
2answers
38 views

Send emails with a custom From: field

I'm really not into mail configuration, but somehow I managed to configure exim4 and it does send e-mails. I spent so many hours on it though I even can't count. (And I don't know why it is so ...
1
vote
1answer
31 views

Assp won't start

I tried to install ASSP (Anti-Spam SMTP Proxy Server),but when I try to start it I get the following: $ perl assp.pl Perl version 5.012003 (5.12.3) is at least recommended to run ASSP 2.4.3 (14313) ...
0
votes
0answers
17 views

Should I create aliases for local user accounts in Postfix?

Should I create aliases for local user accounts in Postfix, if I use virtual users and virtual domains? If I want receive all emails addressed to root, it is possible to forward them to ...
2
votes
1answer
1k 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, ...
0
votes
2answers
23 views

Difference between Reply-To address and From address in an email

In Heirloom mailx, one can specify "from address" (-r) and "reply-to address" (-R). What is the difference between the two?
2
votes
1answer
151 views

Configure courier to forward certain mails to external addresses

I have a debian 6.0 server with courier/courier-mta set up and some local domains. Now I want to create some forwards for some email address that should go directly to external addresses as there are ...
2
votes
1answer
29 views

postfix virtual domain on specific IP address

We are running postfix with single domain (example.com) currently and we have appropriate PTR record for that. Now we want to add one more domain but i want to isolate that domain totally, Even i ...
21
votes
6answers
19k views

Lightweight outgoing SMTP server

What do you use as a lightweight SMTP for outgoing e-mails only? I am running an app that sends e-mails via SMTP when events occur once in a while, and I don't need a fully featured e-mail server. ...
4
votes
2answers
477 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 ...
2
votes
2answers
1k views

setting up mail system

So I'm still kind of new to linux, but what are the steps towards setting a linux box up in such a way that it can send mail using shell? echo "hello world" | mail johnny@moo.com I mean, I've done ...
1
vote
1answer
41 views

Is it safe to remove “received” header?

Is it safe to remove "received" fields created by my mail server for all outgoing mail? For example like this (all "received" headers from my server are deleted by postfix "smtp_header"checks"): ...
0
votes
1answer
21 views

mail command successful, but mail was not received by recipient

I used mail, its exit status is zero but the recepient is not receiving any mail. What could be the problem? I used this code: mylinsystem:/etc/mail # mail -v -s "test" ...
1
vote
1answer
21 views

How use mutt to manage /var/spool/mail/user

I've just installed apticron to get mails as available update notifications. Now I was wondering if there was a way to set up mutt to manage my mails from /var/spool/mail/daedalus? I'm on Debian ...
5
votes
3answers
2k views

RHEL - Uuencode + mailx = gibberish

I understand uuencode is for encoding files, and mailx sends mail. However, I'm not exactly understanding... Why uuencode file file | mailx -s "subject" email_adress keeps sending messages with the ...
1
vote
2answers
930 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
1answer
652 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 ...
1
vote
1answer
23 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
1answer
1k 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
0answers
20 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
49 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
78 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 ...
1
vote
2answers
2k views

To configure script to send email only when diff command gives a difference

I'm new to the world of scripting and and currently using a script to perform a health check on the san devices that I manage. The script is simple and redirects output of commands to a current file ...
1
vote
0answers
51 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 ...
0
votes
1answer
23 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, ...
1
vote
2answers
47 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
78 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
1answer
66 views

Using alot MUA with nottoomuch-addresses

I try to use the MUA alot to work with the nottoomuch-addresses.sh script for autocompletion of addresses within alot like described in: ...
2
votes
1answer
17 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
24 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
23 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?
3
votes
1answer
96 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 ...
2
votes
0answers
22 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 ...
1
vote
0answers
19 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 ...
3
votes
1answer
31 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 ...
1
vote
1answer
30 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 ...
1
vote
0answers
18 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 ...