General :: Sending Mail With Mailx Version 12.1
Jul 2, 2010
GNU/linux kernel 2.6, Slackware 12.0.
I ran mail (aka mailx) and opened an account foo. If I remain inside the program, the command 'account foo' prints the account data. Good. But if I exit the program, and rerun it, then the command 'account' has no output which is to say I have no account.
View 1 Replies
ADVERTISEMENT
Mar 1, 2010
I'm having issues sending mail on a Debian (Lenny) box using mailx.
root@deity:/# mail root
Subject: Hai
Hi, root!
[Code].....
Does anyone have an idea what might be causing this?
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
Jan 5, 2010
Formerly it was possible to send attached files using the "-a" option eg. mailx -a /home/yan/textfile [URL]. (I think -a stood for "attached". At the time the "-a" option figured as an option for sending attached files.Now it is an option for sending headers. how one can now send attached files using mailx?
View 1 Replies
View Related
May 8, 2010
I'm trying to send an email using mailx, in a bash script, but I can't get it to work. In the terminal I can, and this is how I do it:
Code:
$ mailx johndoe@gmail.com
Message^D
Within seconds of doing this, I get sent an email. The problem is with the bash script I'm trying to make. Among other things, I tried this:
Code:
#!/bin/bash mailx johndoe@gmail.com < "Message" I honestly don't know what I'm supposed to do, and I've Googled a bunch of things too, and didn't have too much luck. Is there anyone who could help me out?
Edit: Figured it out. This is what I did, and it works for me:
Code:
#!/bin/bash
echo "Message" | mail -s "Subject" "johndoe@gmail.com"
View 8 Replies
View Related
May 18, 2010
I was wondering how to setup slackware such that I can send and receive local mail using the commandline "mail" command.
I tried sending a sample mail this way:
And it looks like the message was sent, but when I then go check:
it says there is no mail.
Do I need to have sendmail running for just local mail calls?
View 5 Replies
View Related
Jul 1, 2011
I have two servers relavant here: mail.domain.com (1.1.1.1) - which is the nameserver and the mail server for domain.com. www.domain.com (2.2.2.2) - which is the www subdomain for domain.com domain.com (cname www.domain.com) - an alias for www.
The zone file for domain.com lists mail.domain.com as the MX server for domain.com. 2.2.2.2 is actually being served web pages as a virtual host. It's real hostname is www.anotherdomain.com. Mail for domain.com works pretty well, in general. However, if I attempt to send mail from www.domain.com (or its alias domain.com), I get "mail for domain.com loops back to myself" in the postfix logs. On 2.2.2.2 /etc/postfix/mail.cf has mydestination = www.anotherdomain.com, localhost. How do I tell postfix on 2.2.2.2 that mail for domain.com needs to be delivered to mail.domain.com?
View 1 Replies
View Related
Oct 11, 2009
I have a couple of servers that are scripted to send cron script output logs to my email address (a Gmail address). Mailx is what I am using, but I didn't have to configure anything; I installed it, and it just worked with the following command: mailx -s "SUBJECT" -r FROMMYADDRESS TOMYADDRESS < FILETOCATANDSEND
This occurs every Saturday and Sunday at noon after my backup scripts run.
I noticed yesterday that I did not receive these logs, so I logged into the machine, started 'mail' and saw messages like this: This is the mail system at host media.deagle.lan.
[Code]....
View 9 Replies
View Related
Apr 30, 2010
in Lucid ive been trying to get the mail applet to light up green by sending myself mail. Does this applet only light up when IMs r received or does this also work with evolution and if so what might i have done wrong in evolution, ive tried it with evolution open and evolution closed.
View 8 Replies
View Related
Sep 4, 2009
I'm using the mail command and I am able to send mail to my gmail account with out any problems. However when I send mail to deco -at- mycompany.com I nothing happens and no mail ever arrives in my mailbox. It might be worth mentioned that my centos5 is a virtual machine on the same server as the company exchange mail server.
View 1 Replies
View Related
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
Jan 10, 2010
I'm simply just having trouble sending mail with postfix. I have all my hostnames, rdns setup properly. I also have iptables open on port 25.
View 9 Replies
View Related
Dec 8, 2010
l to a group in Linux? for example, I want to send a notification mail to 20 people and I want to create a group of these 20 people and want to send them the notification
View 5 Replies
View Related
Jun 11, 2009
I am using Ferdora 6 OS on which I installed CVS. So whenever I make any changes in CVS, notification mail must be sent to few users.
View 2 Replies
View Related
Aug 24, 2009
cannot find what should I do, which conf should I edit to make it work. I cant send email from command line.
Is it necesary to have mail server setup? Hope not, just want simple txt mail sent. I tried MUTT and MAIL.
View 1 Replies
View Related
Feb 13, 2010
I want to send mail to potential customers from my localhost server in my SOHO. I have a web site hosted with a company called geek hosting [URL], so I have access to the mail services through them... I want to their mail server to push things out to the world form my localhost server.
I do have a registered domain name which the hosted site runs under
the domain name for my centos 5.4 server is localhosthost.localdomain.
View 2 Replies
View Related
Dec 23, 2010
I am very new to CentOS and running a server in general. I managed to get a server setup with CentOS, and it's running a wordpress driven social networking site. Everything is fine except sometimes my server won't send registration/activation emails to some email addresses. This is a huge problem because people signup but then can't activate their account. I don't understand why its sending some and not sending others based on the email domain? The guys at wordpress said "it's that your server does not support SMTP or at least wp_mail() in its normal form" but that doesn't mean much to me.
View 3 Replies
View Related
Apr 24, 2010
How is it possible to send email using the "mail" program? I tried:
echo "testing" | mail -s "test" myaddress@gmail.com
But nothing happened. I made sure that the sendmail daemon was running before I tried. Is there anything else that I have to set up first?
View 5 Replies
View Related
Dec 31, 2010
I have OpenSuse 64bit running a web site. I have a form on this site here:- Dynamic Systems Group The script itself works and I have tested it on another hosted server and it works fine. However on my server the email the script sends never arrives, which must be a problem with my Postfix settings I guess. However I also have two pages on my site for testing sending of mail, which BOTH report a postive result:-
[URL]
However even though these pages report successful send the mail stil never arrives. I have looked at many pages and forums on the internet and I am really, really confused as to how to set up Postfix. On the Suse box I have the Mail Server configured in Yast to send mail via my Gmail.com account using TLS and authentication but still no success!
View 9 Replies
View Related
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
Dec 28, 2010
When I sending mail to defined mail on the internet page I have to configure Evolution and open it for sending. Is it possible to send mail without opening Evolution. Just send to defined mail on internet page.
View 8 Replies
View Related
Feb 25, 2011
I want to send mails via gmail with php. I need to know how to configure main.cf, php.ini, postfix,smtp... and all what is necessary. I tried a lot but no results.
View 5 Replies
View Related
Apr 13, 2010
i m using centos 5.4 for Data Server, there i hv shared a directory to store data. i want, when ever owner of that data does delete any thing from directory, system should send me a mail with logs of that deletion action with the detail some thing like bellow
1- IP of system, from where owner did access the server and delete the data.
2- Date, Time and Name of File with Path.
These logs should be sent me by email automatically.
View 2 Replies
View Related
Oct 27, 2010
I have the following config with Postfix:
Quote:
But it keeps coming up with:
Quote:
Is there any reason from these configs as to why this should be occuring?
This was the guided step by step tutorial I followed: [url]
View 2 Replies
View Related
Jul 5, 2011
I tried the command echo "Test" | mailx -s "Test subject" reciever@test.com -- -f Tester@gmail.com
But in the mailbox of reciever, i can find the sender name as Tester@gmail.com. My requirement is to show the sender as 'Tester' alone, without the domain name.
View 3 Replies
View Related
Jun 8, 2010
I'm trying to get logwatch to email me. I think my logwatch.conf file is okay. I have postfix installed. The mailer as far as I can tell is set correctly ("usr/bin/mail"). When I run logwatch - I get "no mail for aubrey"
Heres my logwatch.conf file:
Code:
linux-qwkb:/home/aubrey # edit /usr/share/logwatch/default.conf/logwatch.conf
########################################################
# This was written and is maintained by:
# Kirk Bauer <kirk@kaybee.org>
#
# Please send all comments, suggestions, bug reports,
# etc, to kirk@kaybee.org.
#
######################################################## .....
View 13 Replies
View Related
Feb 23, 2010
Postfix is not sending mail, I did a basic test of sending an email locally using the Linux mail command, and nothing was delivered, and I couldn't find an error either.
Where is the log for postfix located?
In main.cf I changed:
myhostname
mydomain
mynetworks
home_mailbox (I want to use Maildir/)
What am I missing?
View 3 Replies
View Related
Nov 30, 2010
I am facing a problem while configuring a sendmail AS MY MTA.My problem is when is try to send mail from root to local user account(Any user existing in my local machine) , i m getting a unknown user error but normal users can successfully send a mail to root but root account does not.I can successfully compile a sendmail.mc without any error and sendmail deamons start successfully.When I Try to send mail from root account to local user Account , i got a Returned mail:see transcript for detail (which Has A following Detail )
View 5 Replies
View Related
Apr 6, 2010
how can i configure my server to send mails from about ten different domains i use google apps and want to know if its possible. Because it sends mail but all goes to spam and i have a static ip
View 9 Replies
View Related
Apr 14, 2010
I just setup a mail server on my web server and I cannot for the life of me figure out how to send emails to external (as in outside my LAN) emails or receive from external emails. I'm using Postfix with Dovecot and Squirrelmail. I get this delivery report in Squirrelmail when trying to send an email to my hotmail address.
Final-Recipient: rfc822; example@hotmail.com
Action: failed
Status: 5.0.0
Remote-MTA: dns; mx3.hotmail.com
Diagnostic-Code: smtp; 550 DY-001 Mail rejected by Windows Live Hotmail for policy reasons. We generally do not accept email from dynamic IP's as they are not typically used to deliver unauthenticated SMTP e-mail to an Internet mail server. [URL] maintains lists of dynamic and residential IP addresses. If you are not an email/network admin please contact your E-mail/Internet Service Provider for help. Email/network admins, please visit [URL] for email delivery information and support.
View 3 Replies
View Related