0
votes
1answer
323 views

Crontab and sSMTP

My server is Ubuntu 12.04.3 Cron jobs are working fine. I can send emails through command line, either using mail, ssmtp or sendmail. I have set the correct email address on top of the crontab -e ...
0
votes
1answer
50 views

why Ubuntu command prompt is not prompting after executing the mail command?

uuencode text.txt | mail -s "hai" "abc@gmail.com" < body.txt after executing this command, terminal is blank. It is not prompting for next command. I have to press ctrl+z to return to terminal. ...
1
vote
1answer
388 views

Shell Script Unable to send execution time via email

I wrote a shell script which calculates the execution time of itself but the problem I'm facing is its not able to send the time difference via email. Please Help. Here is the Script #!/bin/bash ...
3
votes
4answers
2k views

cron.daily jobs not running

I created 3 daily cron jobs to run. Below are the three that are placed in etc/cron.daily rkhunter.sh #!/bin/sh ( rkhunter --versioncheck rkhunter --update rkhunter --cronjob --report-warnings-only ...
0
votes
0answers
44 views

Postfix command line with php page

We created a php page that sends mail with Postfix. It sends email when someone loads the page using Firefox. Now we'd like to automate that process and have Ubuntu load the page once a day, which ...
0
votes
2answers
1k views

Bash Script for custom message

I'm trying to send an email using bash script. I tried using the following in the bash script with no success as I execute the script it asks for CC: #!/bin/bash recipient="tarun@gmail.com" mail -s ...
0
votes
0answers
169 views

When trying to install FirstClass, it asks for the packages libqt3-mt|libqt3c102-mt but for some reason I can't install those?

I am quite new to Ubuntu so I don't really now what I'm doing wrong, maybe someone can help me? I wanted to install FirstClass but then it gave me an error that the packages libqt3-mt|libqt3c102-mt ...
1
vote
2answers
3k views

Mutt runng from Crontab

I have a bash script that is sending an email through command line mutt. This bash script is being called from a cron job (setup using crontab -e because of permissions needed to do all items in the ...
2
votes
1answer
455 views

How do I parse emails with Mutt?

How would I go about parsing new message subject lines non-interactively using Mutt? Mutt is already configured and fetches mail from our Exchange server. What I'd like is for an action to be ...
4
votes
1answer
377 views

Access Exchange 2003 mailbox from Terminal

How do I check an Exchange mailbox for new mail from the command line? I'm at a complete loss here.
0
votes
1answer
3k views

Why am I not able to send an email from command line

This is what I did (as per a few discussions on this website) mail -s "hi" addressee@email.xyz < test.txt Where text.txt has the message. I checked to see if mail did exist and it does at ...
1
vote
2answers
331 views

Commandline email to internal web mail server

I have a few number of ubuntu pcs, whom I want to mail me some kind of log on daily basis. The problem is that these pcs have access only to the internal webmail (of my campus) and all I can find on ...
2
votes
1answer
2k views

How can I read system mail on my admin account?

On a new server running lucid, I get "you have new mail" in my admin account. However, I don't have a mail command available to read it. Do I need to install it manually (or mutt, etc.), or is a mail ...
2
votes
1answer
67 views

Mailbox monitor and scripting

This is something I haven't done before... So not sure what some good resources or a solid starting point would be. What I want to do... is on my Ubuntu Server 10.10 box, I need to setup a mailbox... ...
4
votes
1answer
715 views

Can I “speak IMAP” and review my actual mail quota?

I'm trying to troubleshoot a frustrating inbox quota issue. Thunderbird says my inbox is 80% full. My ISP says it isn't. We made some tweaks and I should have 2G available (it had been "unlimited"). ...
83
votes
14answers
155k views

How to send mail from the command line?

How to send mail from the command line?
0
votes
2answers
791 views

command line SMTP client such as cleancode's email

I'm looking for a command line like cleancode's email program which would allow me to send emails from the command line without setting an MTA (and would allow me to use separate accounts for each ...
11
votes
2answers
10k views

How can I email an attachment from the command line

Is it possible to email attachments from the command line? If possible, I'd like something as simple as: mail -a myfile.txt -t me@example.com -s "Here's my file"