Ubuntu :: Mailutils - How To Send Mail In Specific Format
Jul 15, 2010
I have installed the package mailutils by following command:
sudo apt-get install mailutils
Now I want to send mail using the following format:
$mail <username>@gmail.com
I am doing the normal procedures but the mail is not sent.
View 1 Replies
ADVERTISEMENT
Jan 25, 2011
I recently upgrade my server from Jaunty to Lucid. The mail command no longer works for my scripts, so I installed mailutils. However, when I try to run mail, it doesn't seem to find it:
Code:
/home/frank# apt-get install mailutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
[Code]...
View 2 Replies
View Related
Feb 5, 2011
So I installed and configured nut. used the help of 2 tutorials, [URL].. But I got most of just reading the comments in the /etc/nut configfiles and modifying them as described there (tut's where slightly outdated) .
So I pull out the plug and nothing happens. The script I invoke with the nut user returns a execute error 127 (shows in daemon.log). So I execute the command (with argument) as my user, and that works. when executing it as the nut user I get.
Code:
Cannot open `/root/.mailrc': Permission denied
This because I invoke a mail command by the script.
Code:
echo "Spanning is weg! Da spel wordt hier afgesloten als de batterie plat is!" | /usr/bin/mail -s"UPS monitor" mutrax@localhost
So My question is simple. How do I get nut mailing without to much risk? It'll probeably be something simple, but I don't want to grant evry troublesom thing admin rights. Anyway, If someone is intrested how I configured nut, I'll be glad to post it here.
View 1 Replies
View Related
Apr 20, 2010
I use Evolution mail and use 2 PCs When I send mail it saves it to my current PC but not to the other PC so instead i want it to save the sent to the email server i'm using.
View 3 Replies
View Related
Jun 1, 2011
I have set up postfix and dovecot as per the Ubuntu anual and appear to have a functioning mail server.Using the sendmail command I can send mail and I receive mail in ~/Maildir. Using Thunderbird I can read any mails received but I can't send any mail from Thunderbird. I have tried with both STARTTLS and SSL/TLS and whilst I get the prompt for a password I keep getting the message my password for my server is wrong.I have ports 25, 465, 587 and 993. Is that all the right ports?When I ping my domain name it resolves to my router name whereas I believe it should resolve to my IP. Could there be a problem with my host file? I've had a play but to no avail.Here's the error in mail.log.
Code:
westwood@westwood-desktop:/etc$ tailf /var/log/mail.log
Jun 1 19:00:33 westwood-desktop postfix/smtpd[2376]: warning: localhost.localdomain[127.0.0.1]: SASL LOGIN
[code]....
View 2 Replies
View Related
Jun 30, 2011
I set up my mail server using the guide here: [URL] I am able to receive mail, I can send mail locally, but I can't send to external addresses. This is in my mail.log: Quote: Jun 30 14:40:43 Server postfix/smtp[10725]: 2FD9322015BF: to=<myemail@gmail.com>, relay=none, delay=1634, delays=1484/0.02/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.65.27]:25: Connection timed out)
This is my main.cf:
[Code]...
View 6 Replies
View Related
Jul 20, 2011
I have got a nagios server running on my network, The configuration seems to be okay but each time there is a service alert notification, and an e-mail is sent to the contact group, Nagios continuously sends e-mail over and over again. Do anyone know of a way to set Nagios directives to only send one e-mail per alert without it flooding mail boxes.
View 3 Replies
View Related
Nov 15, 2010
I had configured sendmail on linux 5.2, Iam using public ip and my domain is registered[linuxforfreshers.info]. I am facing a issue that when I mail with the user sumit@linuxforfreshers.info then I am able to do it. But if somebody tries to send mail to the same user then it bounce backs. I had made the entry of domain in /etc/mail/local-host-name and also I put ok in /etc/mail/access.The mails are working properly with in LAN. But not able to work on WAN only I can send mail but not able to recieve mail.What else I need to do.
View 6 Replies
View Related
Sep 9, 2010
this is my code at the moment
PHP Code: <?php
if (isset($_REQUEST['email'])) && $_REQUEST['email']!='0'{
$to = "chrisathisemail";
[code]....
View 5 Replies
View Related
Feb 15, 2010
i want to send mail from unix mail command to my yahoo-id with attachment, but i want to receive it as attachment.
View 1 Replies
View Related
Jun 8, 2011
How to configure a Debian mail server as a user send a mail with attachment maximum wight is 5 Mb.
View 3 Replies
View Related
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
Mar 30, 2011
i have an server which have my site on it, server have an public ip and site works fine..the thing that i done to enable mail server is :
1.select sendmail option as mail server(in joomla).
2.install and configure sendmail in server (which ubuntu installed on it )
**if i use my website locally mail server works fine i can send message and receive , but when i use web site from Internet mail server seems not working at all
View 1 Replies
View Related
Apr 22, 2010
i basically had this system installed for our mail system.The setup is as follows:
1. Operating system installed is Debian ver. 5.0.3
2. Roundcube is installed as a webmail(if its right for me to say that)
3. The server is hosted right here at our offices
4.The server uses relay system to send mail i.e. relays all our mails to our ISP
That all i can say about the configurations becuase thats as much as i understand it.The problem now is that we are not able to send or recieve emails from both internal and external.I tried to send mail to a collegue in the office who is on our local LAN,Roundcube says sent successfully but the person does not recieve the mail.i tried to send to my yahoo address but nothing.I dont know where these mails have been trapped.
View 5 Replies
View Related
May 4, 2010
I am trying to do something really simple with Exim. I have two machine connected together via a hub. They can ping each other. They each are running openSuse 11.2 and have Exim installed. On each machine from the command line in start Exim as a daemon by typing: sudo /usr/sbin/exim -bd -d and each machine runs through some output and sits there "Listening". Then on either machine I try to send a mail message of the form mail
(or mailx) <user>@<other node>
some text
EOT
and absolutly nothing happens! I must be doing something wrong or daft which is very basic, but I have searched all over and cannot get it to work.
View 2 Replies
View Related
Nov 30, 2010
Was told that I need to use Javamail for a project to send mail rather than using "mail" or "mailx". Has anyone here done this?Any pointers or sites you've used and can recommend?
View 1 Replies
View Related
Apr 21, 2010
i'm trying to send a mail with "mail" on my cent os console , but without success. In Suse it's quite simple with "mail": mail -r sendersaddress@domain -s "subject" targetaddress@domain </tmp/filewithcontent
View 6 Replies
View Related
Feb 25, 2011
I have configured fetchmail, sendmail/postfix and mutt to act as a relay to receive mail. I can receive mail fine but I cannot send mail. Its working fine on my one box but on the one acting as a nat I am having issues. This is my mail log from the nat box.
Feb 25 03:42:25 TrunkmonkeyNat sendmail[4382]: p1P8gPfd004382: from=root, size=52, class=0, nrcpts=1, msgid=<201102250842.p1P8gPfd004382@localhost.localdomain>, relay=root@localhost
Feb 25 03:42:25 TrunkmonkeyNat sendmail[4383]: p1P8gPgn004383: from=<root@localhost.localdomain>, size=353, class=0, nrcpts=1, msgid=<201102250842.p1P8gPfd004382@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
[Code]....
View 116 Replies
View Related
Feb 27, 2009
I have been able to use the mail program on my old Ubuntu instasll which I found quite handy. However, it isn't functioning "out of the box" like I expected. I've tried to configure it as mail was in Ubuntu to no avail.
View 4 Replies
View Related
May 21, 2010
I have a bit of problem setting up sendmail on my server. I've gotten so far that I can send mail from my mail server and relay mail from my LAN computers through it. Also, local delivery seems to be working.The problem is receiving mail from other domains. When I send mail from my gmail account to any user in my domain the mail gets delivered back to gmail as it exceeds the max hop count.The mail gets bounced between my ISP mailserver which I use as smart host and between my server.The problem seems to be that my mail server won't accept any mail it is supposed to receive.
View 8 Replies
View Related
Apr 8, 2010
How long normaly keep the mail server send mails on the outbox queue and try to send? What about hotmail, gmx and gmail mail server?
View 1 Replies
View Related
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
Feb 22, 2011
There is an requirement, intranet people they may not have internet access but they want to send mail to external domain(internet),but in that intranet network one machine can have internet access. Is there any solution for this requirement.
View 2 Replies
View Related
Mar 30, 2010
If I wanted to control a small circuit, how would I send a +5 voltage signal to a specific pin, either it be a parallel port, com port, or maybe a specific pin on a ide (or floppy pin's) wire? My distro of choice would be debian.
View 1 Replies
View Related
Sep 20, 2010
I got to establish an OpenVPN connection between two server and I have dhcpd on the client server which feeds a few SIP phones. All these phones are supposed to the register server through the tunnel.Here is the network structure:
Client CentOS:
eth0: 192.168.0.0/24
eth1:192.168.100.0/24
tun0:172.15.0.0/24
DHCPD: feeding above eth1 and all the phones with 192.168.100.0/24
If I ping 172.15.0.1 from the the Client CentOS it works all fine. Everything pings and I can even do SSH. However, the phones which obtain their ip through eth1 on the same server can not reach the 172.15.0.1. I think it's a route issue here. Can you please guide me to the right direction as to how to forward certain traffic through tun0 and leave the rest of the traffic to go through eth0?
I don't want to turn on IPTABLES as this is time consuming for me now and there is VPN setup. It has to do with setting up the routing but I am not sure.
View 4 Replies
View Related
Jul 26, 2011
send out lots of e-mails, except this specific one that I'm trying to send to my Member of Parliament. My ISP has blown me off and tells me it's a problem of a firewall or antivirus program on my computer (I also can't rule out my router, but I seriously doubt it has that level of sophistication).en I try to send, after about a minute I get "4.4.2 Timeout while waiting for command" which is why my ISP says this is my problem. I've looked in /var/log/messages and it doesn't give any indication that this system is blocking the e-mail. I don't think it's a firewall but how can I tell? Or what else can I try?
View 1 Replies
View Related
Jun 9, 2011
I use a server with 3 nics,
eth0 192.168.2.100 (internal Web, Mail)
eth1 192.168.3.100 (Default Gateway nic for clients)
eth2 192.168.3.110 (should be default Gateway for all outgoing traffic not belonging to 192.168.2.100 and 192.168.3.100)
They are all on the same machine
i cannot set eth1 or eth2 as default gateway, as outside requests to eth0 would be handled in a false manner (somehow)
is there an easy iptables-rule to say, that outgoing traffic, not belonging to my networks can be redirected to a specific NIC (eth2)?
View 3 Replies
View Related
Jul 1, 2011
I'm trying to find some tool on generating reports based on apache access_log files (of Common format). I found some of them (awstats, lire/logreport, weblog expert, apache logs viewer, etc..) but they generate some global and general report about the log file. Also some perl script I found they just show the Top X number of different patterns. My request is how can I generate some similar report with this output:
IP-s | Total nr. of connections | Number of pages visited | Total time of connection
So basically this is a list with every IP on the log and the respective numbers (connection/pages/time) associated.
View 5 Replies
View Related
Dec 16, 2010
I'm a complete beginner to administrating my own box - and have installed Ubuntu 9.04 (Jackalope).
I have it up and running - and have installed the applications that I needed.
However, I am unable to get mail to send within the network - I can send mail to external address, such as gmail, yahoo, etc, just not inside my work's network. This includes forwarding services such a spamgourmet - which redirects to my work's email addresses.
potential set up issues I can check for? I am currently using Postfix as my email server.
note: this is what I found in the syslog:
Dec 16 13:55:55 mica-tools postfix/smtp[4248]: 9E014E409E: to=<mica@xxxxxxx.com>, relay=globala.mxsave.com[130.94.123.150]:25, delay=34, delays=0.02/0/33/0.28, dsn=5.7.1, status=bounced (host globala.mxsave.com[130.94.123.150] said: 550 5.7.1 <mica@xxxxxxx.com>,... Relaying denied (in reply to RCPT TO command))
View 3 Replies
View Related
Mar 3, 2011
I have setup a mail server on my remote Ubuntu 10.04 server using postfix.
Using Putty to SSH to the server, I can send mail, check mail, and the server accepts mail from other domains (gmail, yahoo, hotmail etc).
However, I cannot seem to send mail using PHP functions.
I have created a "test.php" file with the following contents:
[Code].....
When I run the .php file, nothing happens, and nothing logs in the mail logs, so I'm sure the server doesnt understand the mail command in PHP files, but I'm not sure how to go about fixing it.
Apache2, PHP5, postfix, and the additional necessaries are installed (this is a webserver/mailserver on 1 box)
View 9 Replies
View Related