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
2answers
25 views

Sending zip file containing plain txt file via email

How to send a plain txt file in a zip file via email in unix? The contents in the txt file should be word wrap.
1
vote
1answer
22 views

automate updates with a bash script and cron

I'm trying to automatize the updates of debian system, without making upgrades. Then i'll send an e-mail to me, everytime there is an upgrade available. I've tryied to do it with cron-apt, but i ...
2
votes
1answer
14 views

Postfix Relay Multiple Domains with Multiple Origins

I currently have Postfix relaying multiple hosted customer solutions which all works as expected. There are no local accounts and it is used solely as a relay server. In the config I have the ...
2
votes
2answers
36 views

Securely inspect email attachment

I received a really classic spam mail stating that I have to pay a bill. The mail included an attachment (.exe). Just for curiosity reasons: What would happen if I click on the attachment? (I am ...
3
votes
1answer
62 views

Are there any alternatives to mutt?

I really like the idea of Mutt, reading mail in the terminal. I'm not really pleased with some inconsistencies and the imap handling. I set about trying to find some alternatives to mutt, but I can't ...
1
vote
1answer
22 views

mbsync: Move subfolders to root

My mail provider (Fastmail) puts the folders I define in the webinterface inside the INBOX. Thus when I sync them using mbsync I obtain the following: INBOX - .Drafts - .Foobar But I would prefer ...
1
vote
0answers
37 views

How to configure Squid for Microsoft Outlook?

I have configured a Squid proxy server on RedHat Enterprise Linux 5.4. All my Windows clients have been configured to use the proxy at 192.168.5.100, port 3128 when accessing the Internet. However, ...
4
votes
3answers
62 views

Is it possible to have an outgoing SMTP server when port 25 is blocked?

I have a Debian machine (actually a Raspberry Pi) that I would like to use as a rudimentary, outgoing-only mail server over a residential connection, just for kicks. Port 25 is blocked. I would like ...
0
votes
1answer
19 views

Cron: Client does not have permissions to send as this sender

Platform: Arch Linux Cron: cronie Mail: msmtp I discovered that sending cron output to a mailbox hosted by Office 365 produced the following error, even though sending mail through the CLI was ...
0
votes
0answers
13 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
0answers
34 views

Postfix: restrict all external access but allow for only mynetworks

How can I restrict access for an internal domain but allow all access for me the administrator? All users should be blocked from communicating outbound and no external domain may contact them, but I ...
1
vote
0answers
16 views

What Causes Mutt To Fail In This Way

When sending an email, the authentication and uploading stages exit successfully. After a long period with the message Connecting to gmail.com, the error message Could not connect to gmail.com (No ...
2
votes
1answer
29 views

Block local (unix) users from sending mail

Is there a way to block a local/unix user (or a list of local users) from sending mails via mail command (or maybe even in postfix, which is the MTA I have).
0
votes
2answers
65 views

Using an email without email services

I know that I can send email with the mail command. Something like echo “Hello world” | mail -s “Hello world” foo@bar.com would do the trick. But, given that I and a partner are online, how can we ...
2
votes
0answers
24 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
40 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
44 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
32 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
28 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
33 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
12 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
24 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
33 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 ...
0
votes
3answers
162 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
19 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
47 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
75 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
88 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
24 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
60 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
41 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 ...
0
votes
1answer
59 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
39 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
44 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
46 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
25 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
84 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
53 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
102 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
31 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
63 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: ...
1
vote
1answer
172 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
59 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
61 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
56 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
158 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
120 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
56 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 ...
1
vote
2answers
227 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
81 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 ...