Sending, receiving, reading, composing, sorting, and generally working with email. For the mail(1) command line utility, see the tag /mail-command.
1
vote
1answer
36 views
Shell script and crontab to capture file size, name and date in a CSV file and then send via email?
I have a number of zip files in a certain folder. I want to capture file name and the size of the files in a CSV format in day wise and put it in crontab so I can report on a daily basis, and then ...
2
votes
2answers
47 views
IMAP folders: how big is too big?
I've switched from using Thunderbird to offlineimap and mutt. My mailboxes have over 50k messages. After tweaking some settings, mutt is very responsive with this many messages. notmuch is extremely ...
1
vote
1answer
36 views
How do you increase the size of someone's mailbox quota in Linux? [closed]
In a Linux Bash shell, how do you modify (increase or decrease) another user's email quota?
The best & most relevant information I could offer you about my environment, (in my opinion, of course) ...
1
vote
1answer
59 views
How can I configure two mail for two different user in ubuntu linux
I am struggling with configuring two mail for two different users in ubuntu.
Like if I login with User1 ,then whenever i use the command mail ,it should send mail from [email protected].
And when User2 ...
1
vote
0answers
16 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).
...
3
votes
0answers
19 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 ...
2
votes
3answers
54 views
Standard and portable way to send email from console?
What is the most portable or standard way to send an email from the console or a script on Linux, and possibly Unix?
0
votes
0answers
6 views
Exchange NDR Hybrid Setup
NDR changed within hybrid messaging solution .
Hybrid of Exchange Server + open sources base Mail Server (using postfix , Cyrus IMAP , etc)
unable to view "Email id Or Users ID" in Bounced ...
0
votes
1answer
11 views
How can I reduce the volume of DenyHosts emails?
As someone who had no experience dealing with Unix or Linux before about 6 months ago, I'm feeling pretty comfortable with managing a Linux server now. The one question I do have is about DenyHosts, ...
0
votes
0answers
11 views
where are the spamassassin KHOP rules?
I have this spamassassin implementation where I lowered the score on:
KHOP_BIG_TO_CC
It works when I override the score in my /etc/mail/spamassassin/local.cf file but I cannot find the .cf file that ...
0
votes
1answer
51 views
davmail and JAVA INSTALLED MANUALLY
I'm trying to install davmail,
I've already install JAVA manually (tar.gz file). After trying with the ppa:webupd8team repo and not having good results. Had to clean a lot of files packages and so ...
2
votes
2answers
31 views
procmail save into a dir and execute a script?
I'm using procmail with Maildir/ and easy rules like the one below to save incoming emails into directories:
:0:
* ^X-Spam-Status: Yes
Spam/
Now I would like a desktop notification on new emails in ...
0
votes
0answers
69 views
Postfix email bounced (mail for domain loops back to myself)
I have problem when i send a mail to [email protected] for [email protected] My emails has bounced for this error: status=bounced (mail for orbialia.es loops back to myself)
May 9 09:33:58 ...
0
votes
0answers
21 views
Letters from mail server comes as raw html (Outlook 2013)
I have two servers with sendmail(php, zf2) and I send mail (from both) to my outlook mail.
Message body in html format.
From the first email server it comes normally.
But from second server letters ...
1
vote
1answer
33 views
Modoboa 1.1.1 Deployment Errors
I try to install modoboa follow this steps: http://modoboa.readthedocs.org/en/latest/getting_started/install.html
I installed modoboa with pip install modoboa
Traceback (most recent call last):
...
0
votes
1answer
33 views
Manually interacting with postfix mail queue
I need to manually be able to interact (check, remove, etc) with the postfix mail queue (through scripts and what-not). I know that this generally is a bad idea; so how can I interact with the queue ...
0
votes
0answers
16 views
log all the email send by the root
I'm new in Linux and just installed a private script and want to capture all traffic, to know if this script send my logs or other things via email.
1
vote
1answer
129 views
SSH Login Alert Using pam_exec
Hi I have been trying to follow the information about pam_exec from here:
Ssh login hook?
When a user log's in they get:
/etc/pam.d/email-alert.sh failed: exit code 8
My sshd file has this at the ...
2
votes
1answer
43 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
2answers
57 views
Canonical bash environment variable representing a user's email address
I'm writing a bash function which will send an email to the current user upon completion. I'm wondering if there's a canonical or normal way to get a user's email address. My current plan is to ...
3
votes
0answers
11 views
Selecting different accounts in a mutt send-hook
I use the instructions outlined here to use different accounts in mutt. I'd like to be able to select different accounts depending on sender--send-hook seems like the right way to go.
send-hook ...
1
vote
1answer
25 views
Mutt - sent and drafts in the INBOX
I'm using offlineimap + mutt + msmtp to handle my email. I would like to have an unorthodox configuration, where all of my current mail (received, sent, and drafts) reside in the INBOX (or at least a ...
1
vote
1answer
43 views
Selectively forward email based on domain?
I have an alias on my mail server, call it splitusers.
Based on which domain (a couple are run off one mail server) is used, I would like the mail forwarded to a different user account.
Eg:
...
1
vote
1answer
50 views
configure exim for system email forwarding (outside) , on a server with dynamic ip, behind a DNS router
Trying to configure exim to deleaver email to the outside world. I/We need to send email outside just for centralize certain admin notifications.
Working on an already configured debian webserver, ...
0
votes
0answers
10 views
suitable openldap schema for mailserver
I'm currently looking for a suitable openldap schema for a mailserver. More specifically, I'm looking for a schema that includes the mailAlternateAddress and mailForwardingAddress attributes.
Until ...
1
vote
1answer
26 views
Unix Fetchmail Utility: date on which email was received
I've successfully configured fetchmail and I'm able to download messages from the mail server but I'm not sure how to get the date on which a particular email was received. I need this date for ...
0
votes
3answers
27 views
How to disable receive email at dns level?
I'm completely new to DNS and how it work. Lately I've been getting mail spammed like crazy on one of my domain. I'm not using any mail for this domain and don't need it. I don't want to stop it just ...
4
votes
1answer
100 views
simple script for monitoring a mailserver
I would like to use a simple bash script (python would be second best) to monitor regularly (hourly) if my mailserver is online and operating.
I know that there are dedicated solutions for this task ...
-1
votes
2answers
35 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
57 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
41 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
43 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 ...
4
votes
1answer
104 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 ...
2
votes
1answer
39 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
128 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
115 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 ...
1
vote
1answer
73 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
19 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
65 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
18 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
44 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
69 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” [email protected] would do the trick.
But, given that I and a partner are online, how can we ...
2
votes
0answers
37 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 [email protected] email account, so that I read only one inbox.
To resolve this I have forwarded ...
2
votes
1answer
75 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
70 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
46 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] <[email protected]> -> <[email protected]>, ...
2
votes
1answer
29 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
47 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
15 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
29 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 ...





