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
77 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 ...
2
votes
1answer
182 views

How do postfix and mailx interact with mbox locking?

If postfix is setup as the MTA using its virtual transport to deliver mail to a local mbox file (and handling delivery of outgoing messages), and mailx is the MUA, being used on that same computer for ...
0
votes
1answer
106 views

SMTP server that works with gmail?

I'm running debian and in the past I used google apps free edition. That is no longer available so I won't be able to use it for my new domain on my new box. In the past when I tried to setup a smtp ...
0
votes
0answers
85 views

Spam don`t get rejected from Amavisd?

I see the following in my maillog: (20448-09) Passed SPAMMY {RelayedTaggedInbound}, [12.21.30.50]:63138 [12.21.30.50] <advertisebz079guqn@gmail.com> -> <sales@censored.com>, ...
2
votes
1answer
32 views

Metadata for exchanging BSD mailbox files

The BSD mailbox format has, according to Jamie Zawinski, never been formally documented (see his anti-content-length rant), and does not have, as far as I know, any formal identifiers that may be used ...
3
votes
1answer
65 views

Center Mutt pager horizontally

Is there a way to horizontally center emails when reading them in a larger terminal using mutt? I'm not interested in centered justification of the text in the email, but I am interested in forcing ...
0
votes
1answer
22 views

Disabling sentbox in postfix over Squirrelmail

I have installed POSTFIX over Squirrelmail on CentOS Linux... The services I have ran are: service httpd service ssl service mysql service postfix service saslauthd service dovecot But I want to ...
1
vote
0answers
32 views

Why am I not receiving any system e-mails? [closed]

In my crontab, I have the following: * * * * * sh /home/rimmer/test.sh In /home/rimmer/test.sh I have the following: #!/bin/bash echo 'test'; I have also set chmod +x /home/rimmer/test.sh, of ...
2
votes
2answers
42 views

procmail recipe with a regex doesn't work

In my ~/.procmailrc I have the following lines: :0 \* ^Subject:.*(O|o)pen( \|)(S|s)(onic|urge) $MAILDIR/OpenSurge/ As you see, I would like to put any mail containing “Open Surge” (or any variant ...
1
vote
3answers
567 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
38 views

Batch encrypt all mail on IMAP server

I would like to keep my emails on my provider's IMAP server for convenience and as backup archive; however, I do not want my provider (or anybody else) to be able to read those 'archived' emails. ...
0
votes
1answer
129 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 ? ...
1
vote
0answers
181 views

Linux mail, attachement with uuencode works until I add headers

I have a command I have been using to send emails with an attachment and a message body (cat msg_file.txt; uuencode file.csv file.csv) | mail -s "subject" user@mail.com as soon as I add the -a ...
4
votes
3answers
719 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
1answer
67 views

Email server with automatic + sign aliases?

Is there currently a Linux email server that will allow me to replicate how Gmail or Outlook allow aliases. i.e. with Hotmail (which is now Outlook) or Gmail I can sign up on a site and use ...
3
votes
1answer
151 views

reading offline Maildir archive with graphical email client

I have an archive of old emails in Maildir format. The directory (let's call it my_archive) has proper Maildir structure $ ls ./my_archive cur new tmp I am able read the emails with mutt by ...
0
votes
3answers
58 views

Get contact information of system administrator from the terminal

Do any of the common Unix/Linux platforms provide a way to query the system administrator contact information from the command line. Obviously a system admin might not include this information when ...
1
vote
1answer
149 views

What's the safest way to pipe an email to a script via procmail?

I have a simple procmailrc recipe that hands mail off to a script: LOGFILE=/home/foouser/procmail-log VERBOSE=yes MAILDIR=/var/spool/mail/foouser DEFAULT=/var/spool/mail/foouser SHELL=/bin/sh ...
2
votes
1answer
50 views

How to identify faked mail origin?

Today while setting up a mail server using postfix, I practiced to use sender_canonical_maps option, and noticed that it can change outgoing mail "sender" to appear like someone else. When Gmail ...
2
votes
2answers
136 views

Why does procmail send a copy of an inbound message to sender if it encounters an exit code?

I have a very simple procmail process that takes an inbound email and redirects it to a script: LOGFILE=/home/foo/procmail-log VERBOSE=yes MAILDIR=/var/spool/mail/foo DEFAULT=/var/spool/mail/foo ...
0
votes
1answer
169 views

Sendmail relay to dmz to another relay

We have two domains. One of which is isolated. We're trying to forward mail from one domain, through a DMZ to a relay on the other domain. Using EHLO through telnet works. Using the mail command and ...
0
votes
1answer
35 views

Using the same mbox file for multiple accounts

Is it possible to use the same mbox inbox file (retrieved with getmail) to load mails from two different email accounts without causing any conflicts?
0
votes
1answer
430 views

Calling an email script from another script using ssmtp on ubuntu

I have an issue with a script, which works fine except that it only sends email when I run it directly from the shell but when called during crontab it doesn't send the emails. There are 2 scripts ...
0
votes
0answers
116 views

Mail queue keep growing

My server keeps running short on inodes due the mail queue getting crazy. First, I assumed I had postfix not configured properly, so I switched it off. But, it happened again, last time I did it I had ...
0
votes
1answer
254 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
82 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
297 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
1k 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
286 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
101 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
220 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
639 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
180 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
98 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 ...
2
votes
2answers
722 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
186 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
176 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
73 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
504 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 ...
2
votes
3answers
275 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
240 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
59 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
165 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
4k 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, ...
3
votes
1answer
56 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
412 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
166 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
127 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
64 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 ...