CentOS 5 :: Setup Mail Client From Command Line?

Aug 9, 2010

I have installed CentOS 5.5 with no GUI - how do I enable/setup the "mail" client command to be able to send email via my Exchange 2007 mail server on my LAN?

View 1 Replies


ADVERTISEMENT

Ubuntu :: Command Line Mail Client Server?

Jan 27, 2011

I have just got myself up and running on a ubuntu 32 bit server with postfix using this guide here [URL]...at-ispconfig-3 and everything is working great ( i didnt install ispconfig )

I want to get a command line mail client running but I am having some permission issue.

sudo aptitude install heirloom-mailx
then when i type mail this happens
mail
/var/mail/jj: Permission denied

i also tried mutt etc but always get permission denied.

View 6 Replies View Related

General :: Command Line BitTorrent Client For CentOS Linux?

Jan 4, 2011

Is there command line BitTorrent Client in Linux? A PHP / Python script would be nice too.

View 7 Replies View Related

CentOS 5 Server :: Setup Printer From Command Line?

Feb 24, 2009

I'm from a Solaris (printer.conf) background and having trouble setting up a printer on the network. My CentOS box does not have a GUI interface available. I have been playing with lpadmin trying to add a printer - which it did, but everything is disabled, and the "enable" command is not found on my machine.

How do I make a simple printer on my network talk to my centOS box?

Here's the printer.conf from a Solaris machine that works:

raphael:
:bsdaddr=igppps1,raphael,Solaris:
And the printers.conf from the CentOS box:
lumina# more printers.conf
# Printer configuration file for CUPS v1.2.4

[Code].....

View 10 Replies View Related

Server :: Configure Mail With Postfix & Cyrus-imap - Cannot Send Mail Through Command Line

Nov 19, 2010

I'm running SUSE linux Server version 11. I want to configure mail server with postfix & cyrus-imap. For that, i have read many documents in Internet by i met issues. I'm running DNS in this server & it's ok Now I cannont send mail through command line.

[Code]....

View 9 Replies View Related

OpenSUSE :: Evolution Mail Client Gmail Smtp Setup

Apr 27, 2011

I have the 11.4 Gnome Distribution.everything is setup except my email sending.I have never been able to setup evolution correctly with gmail.I have followed the gmail settings of setting the smtp server to be smtp. gmail. com:465 and folowed the instructions here Evolution/FAQ - GNOME Live!to setup smtp.gmail.com with no port change.if there is no port specified the sending message window doesn't report an error it just hangs.

View 9 Replies View Related

Networking :: Send E-mail From Command Line By Using "mail" In Fedora?

Jul 13, 2010

I am trying to send e-mail from command line by using "mail" in fedora. It goes to e-mail server in the same network but it is refused by other outside this network with message: "..... Connection refused by name@yahoo.com ......

View 1 Replies View Related

SUSE :: Cannot Locate Command Line FTP Client

Sep 29, 2010

I am unable to locate ftp binary on SuSE 10. Some one know the location of the binary / package which has this binary.

View 2 Replies View Related

Ubuntu :: Sending Mail From Command-line?

Jan 5, 2010

I have kubuntu 9.10 and I would like to configure Ubuntu to can send mail from command line with mailx. I've saw that I need to install a MTA. But I don't know wich install and how.

I follow this tutorial:

[URL]

But when I try to send a message, in the mail.log says me:

Code:
Jan 5 10:21:33 david postfix/smtp[3795]: 41AEA41DBE: to=<pepelu@gmail.com>, relay=alt1.gmail-smtp-in.l.google.com[209.85.223.73]:25, delay=1086, d
elays=1022/0.01/32/32, dsn=4.7.0, status=deferred (host alt1.gmail-

[Code].....

View 3 Replies View Related

Server :: Send An E-mail With The Command Line?

Sep 12, 2010

I want to send a simple mail from my terminal

I'm using opensuse and a Know that I have postfix installed...

I don't know what I need configure first...

I know that I need a SMTP server to send e-mails write?

When I try send e-mail with the command mail I received this message :

Code:
mail -s "meeting reminder" -c professorgenival@hotmail.com micromerces@gmail.com
mailq:
Code:
(host mx4.hotmail.com [65.55.92.168] refuse to talk to me: 421 cannot conect to SMTP server.

I was reading about fetchmail But I can't understand....

View 4 Replies View Related

Debian :: Any Program To Send Mail From Command Line?

Sep 9, 2010

Is there an easy to use program that I can use to send mail from the command line? I want to be able to create a batch script to send mail from different text files. What I'm looking for is something like:
mailapp mailserveraddress destinationmailaddress mymailaddress filetosend

View 11 Replies View Related

Ubuntu :: Mail() Works In Command Line But Does Not In Browser?

Jun 18, 2011

I'm trying to configure sending mail from my site under Ubuntu 10.04 LTS.I have installed LAMP and postfix. To test mail I created the file test.php with code:

PHP Code:
$to = 'mymail@gmail.com';
$subject = 'The subject';

[code]....

View 1 Replies View Related

General :: Delete Mail Root In Command Line

Jul 1, 2010

I want to delete all may mail root in command line and i don't find this... the command mail + "d" work fine but i want use it in a .sh

I explain too : I use fetchmail to have mail from a gmail box, and use RIPMIME to save the attachment in a folder... these work fine, but the i want delete these mails.

View 3 Replies View Related

General :: Failing To Send Mail From Command Line?

Mar 16, 2010

I am using Ubuntu 9.10 and when I tried to send mail from the command line I get: /usr/lib/sendmail: Permission denied. any takers on this.

View 6 Replies View Related

Ubuntu Servers :: Command-line And Remote Ui Bittorrent Client?

Feb 26, 2010

I'm looking for a good bittorrent client that can be run via a remote ui or doesn't require x-server and a gui to function.

View 2 Replies View Related

Debian Configuration :: Can't Send Email From Command Line Using Mail

Mar 17, 2010

I'm running a desktop-less version of Debian via Sun VirtualBox. The reason I'm doing this is because I don't have enough graphics or RAM power to have a desktop environment running on top of my current desktop; also, I want to learn Linux through the command prompt. I'm running the AMD64 version of Debian; I'm not sure if that's relevant.

My main goal is to be able to email useful files from the virtual Debian to my main computer, so that I can save them for later if I ever decide to do a "real" installation of Debian on this computer. I realize now that there's probably some "easy" way to do this by reading the virtual machine's hard drive, but at this point, my curiosity wants to see this issue resolved. I started off wanting to find a command-line program to send my email with, and one was built-in. The syntax ~$ sudo mail -s "Subject" email@yahoo.com "This is a test email."

C^D
Cc:C^D ~$

is what I found. I tried it, and (unsurprisingly), it failed. I then learned that the mail command calls exim4, or something along those lines, so I needed to configure exim4. Soon thereafter, I learned that Yahoo's SMTP wasn't public, but Google's was. So, I found this web page which described how to configure exim4 to allow for email to be sent to a Gmail account. I made one, and followed the page word-for-word.

I sudo-mailled a test email to my Gmail account, and nothing happened. I waited a bit longer, and still, nothing happened. Finally, I started looking around, and found out about the exim4 logs in /var/log/exim4. In my mainlog, I think that it's telling me that Google denied my connection: <date><time><random numbers and letters> == **********.gmail.com R=send_via_gmail t=gmail_smtp defer (111): Connection refused

So, now, I'm just stuck. I don't know what I did wrong, I checked my exim4.conf.template twice for spelling errors, but I don't think I made any. At this point, I can only hope that someone else has had a similar problem, or knows what I'm doing wrong (or haven't done yet).

View 14 Replies View Related

General :: Send Gpg Encrypted Mail Automatically From The Command Line?

Sep 14, 2010

How can I send gpg encrypted mail automatically from the linux command line?

I'm a little stumped on this one, I've tried using mutt but it doesn't encrypt mail unless it's used interactively.

Does anyone know if you can use the build in mail command to do this some how?

View 1 Replies View Related

General :: Command Line Sending Of Mail Attachments ( DB Backups)?

Dec 17, 2010

I'm am not remotely familiar with the linux operating sytem and just need a simple 'cut and paste solution' that will allow me to send .gz files as mail attachments, from the command line.Recently I moved my website to new hosting company, they are using cpanel and I have set up a couple of commands; the cpanel scheduler runs them for me as required.

1.creates an mysql dump and saves it to folder ( in root of my space )Works fine.2. delete the file created above, after 15 mins. Also works fineWhat I really want to do is email the .gz to myself before it is deleted, this is were I am stuck.This is possible ( I believe ) but it is beyond my understanding and ability to write the scipt/command that will make this happen.Please make any instructions really simple and clear as I am really new to this.on the server and this information is provided below and may be helpful to you (but I certainly to not know anything about this type of stuff)

View 7 Replies View Related

Debian :: How To Download Setup Iso From Command Line

Feb 14, 2011

How to download debian stable setup iso from the command line?

View 4 Replies View Related

Red Hat / Fedora :: Bash Script To Monitor Server Load / Mail From Command Line

May 4, 2010

I am attempting to write a very basic script that monitors a server's load and automatically emails an administrator upon the load reaching a certain threshold...

1.) `uptime | awk -F ' ' {'print $10'} | cut -d ',' -f1 | awk -F '.' {'print $1'}` -- the output from this command results in a decimal figure, so when that value is parsed and placed in an if statement, the value is not seen as a number. load-monitor.sh: line 9: [: 4.96: integer expression expected/How can I allow a number like "4.56" to be seen as an actual number within the if statement and be compared to 4, for instance?

2.) I am running a cPanel server on CentOS 5.4 -- when I run mail -s "SUBJECT" $EMAILADDRESS the command just hangs, and stracing the process shows it stuck on a read syscall.

3.) If I wanted to write this script in PHP, I have one primary confusion -- how can I mimic the functionality of obtaining the output from uptime via awk, etc. so that I can determine what the server load is at a given time? Which PHP function(s) would assist in that regard?

View 5 Replies View Related

General :: Command Line Email (Gmail) Setup

Sep 18, 2010

I am pretty new to C.L.I/text editing work. So maybe its a bit old-fashioned but I am interested in learning how to send email via the command line. I am running 10.04 32 bit

Situation: I have followed the explicit and step-by-step actions at http://klenwell.com/is/UbuntuCommandLineGmail

Question: Upon completion, when trying to send a test email to myself via gmail (from CLI) I get the following error: "msmtp: no recipients found". In CLI below it asks me to explicitly pick a mailx to download. I think I already have mailx as when I type mailx I get "no mail for primary".

Here is my work
Code:
:~$ sudo apt-get install msmtp mailx
[sudo] password for:
Reading package lists... Done
Building dependency tree
Reading state information... Done
msmtp is already the newest version.
Package mailx is a virtual package provided by:
mailutils 1:2.1+dfsg1-4ubuntu1
heirloom-mailx 12.4-1.1
bsd-mailx 8.1.2-0.20090911cvs-2ubuntu1

You should explicitly select one to install.
E: Package mailx has no installation candidate
:~$ gedit ~/.msmtprc
:~$ chmod 600 ~/.msmtprc
:~$ gedit ~/.mailrc
:~$ echo -e "testing email from the command line" > /tmp/test_email
:~$ mailx -s "mailx gmail test" xxxxxxx@gmail.com < /tmp/test_email
msmtp: no recipients found

Here is ~/.msmtprc
Code:
# config options: [URL]#A-user-configuration-file
defaults
logfile /tmp/msmtp.log
# gmail account
#account gmail
auth on
host smtp.gmail.com
port 587
user xxxxxx@gmail.com
password xxxxxx
from xxxxxx@gmail.com
tls on
tls_trust_file /usr/share/ca-certificates/mozilla/Equifax_Secure_CA.crt
# set default account to use (not necessary with single account)
#account default : gmail
and here is ~/.mailrc

Code:
# set smtp for mailx
# gmail account (default)
# $ mailx -s "subject line" -a /path/attachment recipient@email.com < /path/body.txt
set from="xxxxxx@gmail.com (xxxxx)"
set sendmail="/usr/bin/msmtp"
set message-sendmail-extra-arguments="-a gmail"

View 4 Replies View Related

Red Hat :: Setup A Mail Server Using Sendmail On Centos 5?

Mar 3, 2010

setup a mail server using sendmail on Redhat 5/Centos 5.

View 3 Replies View Related

Ubuntu :: Command Line Mail Taking Too Long To Send; Unable To Qualify Own Domain Name?

Feb 5, 2010

I'm having a problem with my mail. When I send mail, it takes a long time for the send to complete.In the below, datestamp is just a simple script to put in a no-white-space date/time stamp.

Code:
$ datestamp ; mail woodnt; datestamp
02-05-10@193844

[code]....

View 9 Replies View Related

Software :: Setup Postfix As Null Client (CentOS)?

Apr 12, 2010

I setup postfix as a null client on my VPS to send only automated, outbound emails. I also have Google App mail for the domain (for sending receiving personalized emails), however, I receive the following in Gmail for emails sent by from Postfix. The destination email address are correct (tried a few of my personal email addresses). I once got Postfix to work, but no longer the case.

host ASPMX.L.GOOGLE.com[209.85.223.16] said:
550-5.1.1 The email account that you tried to reach does not exist. Please
try 550-5.1.1 double-checking the recipient's email address for typos or

[code]....

View 3 Replies View Related

Debian Installation :: 8.0 - Setup Boots GRUB Command Line

May 2, 2015

I wanted to install Debian 8.0 on my second hdd in my UEFI machine, but when I choose UEFI boot from USB, GRUB command line appears, and I cannot boot up the setup. I used Rufus to create the bootable USB stick, using the amd64 kde CD image. I tried several images and I deleted the Linux and Efi partitions from previous installation of Ubuntu . Also I deleted GRUB from the Windows 7 Efi partition.

In the UEFI setup fast boot and secure boot are disabled, and I don't seem to have the option to boot in legacy mode, if I choose the simple USB boot option (without "UEFI" in front) I get "please insert correct boot media, and press any key or reboot". I couldn't manually boot from GRUB command line, because it is showing that all the drives are empty, and if I type "boot" I get "please load the kernel first".

View 2 Replies View Related

Fedora X86/64bit :: Cannot Change Services With 'setup' Command Line In F10 (64-bit)

Jul 8, 2009

The problem relates only to the configuration of services in text mode ("setup", part of the setuptool package). The setuptool package is "setuptool-1.19.4-2.fc9.x86_64". There is no "Services configuration" menu when I start "setup". The tools listed in the setup window are:

- Authentication configuration
- Firewall configuration
- Keyboard configuration

[code].....

IMHO, the reason I don't have a services configuration tool is the missing services configuration files "98services" and/or 99"services" (or something like that) from the setuptool's configuration directory. (Please correct me if I am wrong.) Can someone please let me know what information should be in those two files, and what are the correct file names? Without them I cannot change the services on this computer. (FYI, the GUI (system-config-services) works, however, I need to run this computer in text mode.)

View 2 Replies View Related

Ubuntu Servers :: Use Command Line To Setup Shared Drives

Jul 14, 2010

setup a number of shared drives for accessing music, movies, photos and general files (documents, pdf files etc). now while a gui would be great, how to use the command line to setup these shared drives and also how to make the available in both windows and linux.

View 6 Replies View Related

Ubuntu Networking :: GUI Network Setup And Command Line Not Reflecting Changes?

Mar 6, 2011

I'm running Ubuntu 10.04 LTS, Lucid Lynx and I'm having problems implementing changes to interfaces.I have made changes to my interfaces via the GUI but when I open a terminal window and so a ifconfig I find that nothing has changed. I've opened an editor and looked at etc/network/interfaces but changes made with the GUI never make it to the config file.Does the networking GUI result in changes to the etc/network/interfaces file.

View 1 Replies View Related

CentOS 5 Server :: Setup Sendmail As Mail Relay?

Mar 18, 2009

Is anyone can help me how to setup sendmail ( Centos 5.2 ) as mail relay for Microsoft exchange. I will put the mail relay in DMZ and Mail server in Local Network.v

View 1 Replies View Related

Ubuntu Servers :: Use The Mail Command Line Program To Occasionally Send Log Output To Email Aliases?

Jan 27, 2011

Can anyone tell me what the pros and cons are between heirloom-mailx vs mailutils? This is for ubuntu 10.04 LTS. AT this point my only purpose is to use the mail command line program to occasionally send log output to email aliases.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved