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
0answers
16 views

How to add calendars and contacts support to mail server

I have installed Postfix, Dovecot and MySQL to set a personal mail server with virtual users stored in the database. It works great, but there are two things missing: Calendars and Contacts. For ...
1
vote
0answers
29 views
+50

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 ...
31
votes
5answers
40k 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?
3
votes
1answer
18 views

sending emails with heirloom, even when Postfix is not running locally

Normally, I can send email from commandline, such as echo hello | mail -s "subject" user@example.com I have noticed that even when Postfix is not running on my machine, I can still "send" emails. ...
2
votes
1answer
32 views

How can I make mailx inform me of new mail?

I'm trying to set up mailx on my server. On one server (Raspbian) I am informed of new mail with a message You have new mail (or something similar). On another machine (Raspbmc), I never have this ...
3
votes
2answers
121 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 ...
2
votes
1answer
580 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, ...
4
votes
2answers
444 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 ...
3
votes
2answers
318 views

syncing two maildirs

I have a server that I use to frequently get email from Google using offlineimap. the email is stored in a maildir format on this server. What tool can I use to sync this maildir with the local ...
0
votes
0answers
28 views

Weird authentication with Exchange server

I'm using Evolution with evolution-mapi to access an Exchange e-mail server. It has worked flawlessly in the past, but recently it will fail to authenticate, asking my password endlessly. If I enter ...
6
votes
1answer
28 views

multiple clients accessing one email account over IMAP

I am using Postfix + Dovecot + IMAP + Maildir and I am accessing my server from two different machines (desktop and Laptop), i.e. two clients (Thunderbird). The are sometimes running simultaneously, ...
2
votes
4answers
3k 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
52 views

Restoring a Particular User's mdbox Mailbox in Dovecot

A user is reporting lost emails due to a client-side error, so I need to restore emails from backup for this particular user but I'm not finding anything online (maybe my google-fu is lame). ...
2
votes
1answer
55 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 < ...
3
votes
0answers
32 views

Postfix error: not yet authorized to deliver mail

I am running a private postfix server for my domain mydomain.com, on server 111.111.111.111 (IP and domain sanitized for privacy reasons) I have sent an email to info@example.com which is on server ...
2
votes
1answer
25 views

Outlook on Kubuntu 14.0.4 with Wine

I have Kubuntu 14.04 and am mandated by my employer to use Outlook 2013 for company email for "security reasons". I currently solve this problem by having a virtual Windows 7. This seems like a bit of ...
1
vote
1answer
584 views

Postfix email bounced (mail for domain loops back to myself)

I have problem when i send a mail to example@orbialia.es for example2@orbialia.es My emails has bounced for this error: status=bounced (mail for orbialia.es loops back to myself) May 9 09:33:58 ...
0
votes
2answers
8k views

sendmail error dsn=5.0.0, stat=Service unavailable

i have configured an sendmail configuration in ubuntu 12.04 64 bit machine when i'm send th email through a perl script it gives the below error dsn=5.0.0, stat=Service unavailable and mail is not ...
2
votes
0answers
26 views

Mails from my server goes directly to spam

I am running an ubuntu server with plesk panel, Mails sent from this server goes directly to spam folder. All records seems perfect like spf, DKIM, Domain key, PTR etc.. I'm really stuck with this. I ...
2
votes
4answers
73 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. ...
1
vote
0answers
11 views

Domain has exceeded the max defers and failures per hour - No Cpanel

I am receiving the following error with for most emails that are sent: Domain *** has exceeded the max defers and failures per hour (5/5 (100%)) allowed. Message discarded. I am using PHPMailer to ...
2
votes
2answers
40 views

Thunderbird: Override colors in received HTML emails

I need to override default colors in received HTML emails. I have followed this Howto, and modified my userContent.css accordingly. Basically, I need white text on dark background: $ cat ...
3
votes
1answer
33 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 ...
-1
votes
0answers
18 views

how do i customize mailfromd?

I'm trying to modify mail(header,envelope) as using mailfromd. I found "Envelope Modification Functions" in the library following as: rcpt_add ,rcpt_delete Why isnt there a kind ofrcpt_replace`? ...
4
votes
1answer
52 views

Using several independent instances of Thunderbird

As many people, I too have several email accounts. Until now, I have been using Thunderbird for my main account, and either used web interface for the other accounts, or used other email clients ...
1
vote
1answer
865 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
0answers
26 views

Exim4 Configuration for Webserver

I successfully configured exim4 to handle mail only for the localhost (just for forms on the website). I tested it by sending messages from the CLI to myself on another domain. My problem is that the ...
7
votes
1answer
76 views

How can I configure mutt to display my replies within threads?

While mutt has set sort = threads to show threaded, "conversation" style messages, it doesn't display one's own replies in the threads. Instead, you have to change to the Sent folder to see your own ...
1
vote
2answers
65 views

Email using shell script

Is there a possibility to add multiple e-mails to a single variable so that when the shell script is run, it sends a mail to all the specified emails?
1
vote
1answer
49 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
3answers
1k views

Sending cron output to email?

I'm trying to send cron output to an email address and am struggling... I'm running the following command: 13 15 * * 1-5 root /path/to/mysql-backup.sh 2>&1 | mail -s "Daily Database Backup ...
2
votes
0answers
12 views

Can you change mail accounts by recipient in mutt?

I have a pretty good mutt setup for dealing with multiple mail accounts (work and personal). I'd like to be able to have a send-hook that will change the account based on the recipient. I can do this ...
0
votes
1answer
40 views

How to save mails in Unix? [closed]

I wanted to save mail in unix in some directory, as we do in outlook (files are saved with .msg extensions). Is there any workaround for doing this.
4
votes
1answer
43 views

Send an email right before the password prompt of ecryptfs during bootup

I'm setting up a home server which has full disk encryption enabled. In order to recover from a power failure the machine automatically reboots. I'm also able to unlock the disk remotely using ssh ...
2
votes
3answers
54 views

How to block incoming and allow outgoing mails for a no-reply user on Sendmail?

I am trying to block inbound emails for no-reply user and allow it to send emails at the same time. I tried editing the configuration in /etc/mail/virtusertable with: no-reply@example.com ...
2
votes
3answers
896 views

Solaris: how to forward cron e-mails?

If a cron job produces output it is e-mailed to the user's account. I would like to redirect this e-mail to another e-mail account. Preferably on a user-by-user basis. I've looked into some options ...
2
votes
1answer
57 views

Solaris cron ignoring mail aliases?

As a Solaris user, I want cron jobs generated emails for the localuser@server to be forwarded to my myuser@sample.com email account, so that I read only one inbox. To resolve this I have forwarded ...
1
vote
2answers
55 views

Receiving emails over IMAP and parsing with a script with minimal delay

I have a Perl script that uses NET::IMAPClient and MIME::Parser which simply reads new emails from an IMAP server and saves any attachments to disk. My question is: what is the best way to run this ...
0
votes
1answer
33 views

What program constantly reads e-mails and could execute actions under certain conditions?

I need a program that would be running as a daemon, connecting to mail server and reading inbox of a specified e-mail address (provided with password, of course =) ). If certain conditions are met, ...
16
votes
7answers
16k 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. ...
1
vote
0answers
19 views

Mutt hangs on close

After configuring mutt to monitor all of my Gmail, it hangs when I close it. I don't quite understand how it's using the spoolfile or mailboxes parameters, so perhaps I am using them incorrectly here. ...
4
votes
2answers
8k views

“IPv6 support is disabled” warnings

I get the error while running a script which tries to send emails. send-mail: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol send-mail: warning: ...
8
votes
1answer
98 views

mutt: automatically show new mesages

When I have mutt opened, I don't see new emails until I press a key, for example arrow down. Then new emails appear. Is there a way for mutt do recognize that new email has arrived, and display the ...
5
votes
3answers
774 views

Crontab job not emailing on failure

I have a cron job on Debian: 1 * * * * /home/paradroid/bin/myscript.sh >/dev/null There is an installed and configured MTA, and I have received emails when the script has a syntax error, so I ...
1
vote
1answer
73 views

How can I configure two mails for two different users in Ubuntu

I am struggling with configuring two mails for two different users in Ubuntu. Like if I login with User1 then whenever I use the command mail, it should send mail from user1@gmail.com. And when User2 ...
2
votes
1answer
67 views

Dovecot: Corrupted index cache file

I received following error message in /var/mail/mail.err: Jun 14 00:03:42 max dovecot: IMAP(bernhard): Corrupted index cache file /home/bernhard/Mail/.indexes/.imap/INBOX/dovecot.index.cache: ...
2
votes
2answers
1k views

sending email to IP address via postfix

My friend and I have configured two Postfix mail servers on our laptops. We succeeded in sending mail to a real network (to some Gmail accounts) from our computers; that was the easy part. We now ...
2
votes
0answers
20 views

mutt: ask for confirmation before moving message to archive

I have following macro defined in my muttrc: macro index s ":set confirmappend=no delete=yes auto_tag=yes\n\ <save-message>=archive\n<sync-mailbox>:set delete=ask-yes\n" When I ...
2
votes
0answers
50 views

mailx attachment behaviour between RHL 5 and RHL 6

We have a line of code that does this in ksh, to send a file as an attachment in email: uuencode <filename> <filename.txt> | mailx someone@somewhere.com In RHL 5.2 mailx sends ...
6
votes
4answers
2k views

using the mail command

How do I use the mail command to check email (and send email) from gmail. Does it support labels? I couldn't have figure out where to put the username and password. I tried to search for instruction ...