Ubuntu :: Send Emails From Cron Without Logging Into An Account

Oct 4, 2010

I am looking to send emails from cron for backup information. However, all the programs I have found (mail, mutt) require the password in plain text. Does anyone know of a more secure method? In fact, if it is only sending, is there a way to do this without logging into an account? What is the simplest way, without making it check emails too?

View 3 Replies


ADVERTISEMENT

OpenSUSE Network :: Use Gmail Smtp Relay / Send Emails Form Server Using Gmail Account?

Oct 28, 2010

I would like to send emails form my server using my gmail account.Does anybody know how to do it?

OS = OPENSUSE 11.3 server installation - NO GUI....

View 9 Replies View Related

Fedora :: Sendmail - Setup To Send / Send Emails With It?

Aug 17, 2011

I'm writing a script that will send an alert email given certain conditions. I have the impression that sendmail is what I need to do that. I just don't know how to use sendmail at all. I assume I have to set it up like a typical mail client so that it has a mail server to log into to send from.

I've looked through the man pages, but I can't find anything in plain English there on how to set it up, or how to use it once it is set up.

View 14 Replies View Related

Ubuntu Servers :: Getting Emails From Failed Cron Jobs?

Jan 16, 2011

I recently set up exim so that I could test emails sent from my php sites. I have now been getting daily emails that either report errors from cron jobs or report a failure to send emails to root@cory-laptop or cory@cory-laptop about cron errors.I first of all don't want mail sent to the above addresses, because they are obviously not actual email addresses. Second, I'd really prefer not to get emails when an email failed to send to these addresses.

View 4 Replies View Related

Ubuntu :: Surpress Logging When Cron Job Runs?

Dec 24, 2010

I have a cron job that I'm running once per minute.don't want to have the /var/log/crond.log get updated 60 times per hour. How can I suppress the logging of the job?I've tried adding the following to the cron line but they just get logged right along with it!

Code:
*/1 * * * * /path/to/script > /dev/null
or

[code]....

View 1 Replies View Related

Ubuntu :: How To Stop Logging Cron To Syslog

Mar 2, 2011

There was an useful discussion on "how to stop logging cron to syslog". The useful answer is to update the line targeting syslog in /etc/syslog.conf to say something like:

Code:
*.*;auth,authpriv.none,mail.none,cron.none -/var/log/syslog
the significant part being that cron.none means that cron will not log to syslog.

There was discussion about whether this was a good thing to do, but omitted to suggest that adding/ uncommenting the following line would mean that no information would be lost but that syslog would be less cluttered as a source of monitoring info:

Code:
cron.* -/var/log/cron.log

You've still got all your cron-related log items available in cron.log if and when you need them. To make the new /etc/syslog.conf lines effective you should also, with root privileges:

Code:
touch /var/log/cron.log
chown syslog:adm /var/log/cron.log
and restart syslog. In my case:

Code:
/etc/init.d/sysklogd restart

View 4 Replies View Related

Debian Configuration :: Cron Sending Emails With Plain Text Password?

Sep 5, 2011

Since we switched our server to Squeeze, I'm receiving emails from the cron about a mysql error (...can't use locks with log tables). But this is not the issue I want to talk about here. The issue is that since the executed command is: /usr/bin/mysqlcheck -uroot -pmypassword --all-databases --check-only-changed --silent which is a command that was automatically added to the cron by the mysql package (I believe), the password is sent in clear text in the email's subject. In my sense, this is a serious security issue (sending root password in email subject...)

I don't know at what level it should be corrected, but it seems to me like it should be corrected in the Debian distrib, shouldn't it ?

And for now, how can I hide the password in the emails I receive ?

View 1 Replies View Related

Server :: Postfix Does Not Send Emails?

Feb 8, 2011

I'm stuck with postfix. It cannot send emails and I cannot find out why! smtpPort 25/tcp is open. I can telnet localhost with 25, but not the localhosts IP(192.168.1.15). Sendmail is OFF. Here is the main.cf file!

# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default

[code]..

View 4 Replies View Related

Ubuntu :: Unable To Send Emails Through Webserver, Setup?

Sep 14, 2010

I just want to be able to send emails through my webserver, setup. I couldn't find a dev forum - so thought i'd post here. I'd like to be able to send emails (form my localhost setup) to and from my global client, namely: ( ***@yahoo.com), using PHP and Apache. A snippet from my php.ini file looks like:

Code:
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
sendmail_path = /usr/sbin/sendmail -i -t
sendmail_from = example@yahoo.com

Now, I never could get this working in Windows, let alone Linux. I could do with it working though.

View 9 Replies View Related

Ubuntu :: Thunderbird Cant Send - Logging?

Jul 22, 2011

i'm on Ubuntu, running Mozilla Thunderbird 3.1.10 (I installed it in the last few weeks, so its a recent version)...I'm having regular / ongoing problems with emails not sending. or LOOOONG delays before i press the 'send' button & when its actually sent (Usually i 'send later' & it gets sent when i next login...)At the bottom right of the screen - I see a 'line' thats moving - Constantly, I gather this shows up when Thunderbird is actually doing something....QUESTION :- How do I find out what Thunderbird is actually doing / waiting for ? QUESTION :- How can i *FORCE* thunderbird to tell me whats happening ?- Incorrect password- Is it looking for a server ?- Has it found the server ? - tried a password - Is password incorrect ?- if the password is incorrect, Or server is incorrect, force it to tell me an error message (other than an ambiguous "problem found..." error..)Also, tell me within MINUTES or as soon as the problem is identified - rather than waiting 20+30+60+2 hours (until i give up andf manually force it to stop...)

View 3 Replies View Related

Fedora :: Can't Send Emails To Gmail Accounts

Aug 25, 2010

I have evolution set up to send emails using gmail's smtp server. I've always been able to do it with no problems, but a couple of days ago I stopped being able to send emails to gmail accounts. I can send emails to other addresses but not gmail. The same happens with my wife's laptop with ubuntu. The only thing I can think of is that we recently moved and thus changed ISP, but I don't see how that's preventing us to send mails specifically to gmail accounts...

View 3 Replies View Related

OpenSUSE :: Unable To Send Emails Via Kmail

Feb 8, 2011

i am having problems sending emails via kmail. i am using kde 4.4.4 sending on port 25

View 9 Replies View Related

Security :: Limit Number Of Emails Send From One IP?

May 19, 2009

I'm looking for a solution for sendmail to limit the number of emails send per miniute per IP. For example all my local computer user with ip 192.x.x.x need to able to send 10 emails/minite (emails, not connections!. The rest of the world can send for example 200 emails/minute to the mailserver. If the amount of emails per minute is exceeded, sendmail needs to block receiving emails from the spesific IP. I want to do this to stop spaming from my local network. Is it possible?

View 1 Replies View Related

Server :: Postfix Can Send But Cannot Receive Emails?

Apr 25, 2009

I have configured Postfix on a Ubuntu 8.04 box using this tutorial:I can send emails but I cannot receive any email because of a "bad recipient address syntax:"The log from /var/log/mail.info says this:

Code:
Apr 25 14:46:06 360romania postfix/pickup[31716]: 74A682190661: uid=0 from=<root>
Apr 25 14:46:06 360romania postfix/cleanup[32402]: 74A682190661: message-

[code]...

View 9 Replies View Related

Software :: Postfix - Send Emails At A Given Time?

Apr 25, 2009

I have a web application installed on a Debian server that sends out a lot of e-mails. Is there a way to configure Postfix to retain the messages in a queue and send all of them at midnight for example

View 2 Replies View Related

CentOS 5 :: Whenever Send Emails To List / 511 511 Sorry / No Mailbox Here By That Name

Oct 8, 2009

Howdy. I'm trying to get mailman up and running. I have CentOS 5 (hiab) and qmail. I did yum install mailman and that went fine, I set up apache and can see the mailman pages via htttp.The issue now is with sending mail, whenever I send emails to the list I get: 511 511 sorry, no mailbox here by that name

So I'm assuming my alias files/.qmail fies are in the wrong spot. The contents of my .qmail are (respective to the -admin, -bounces, -etc)

View 3 Replies View Related

Fedora :: When Logging In To My User Account In 12 - ICEauthority ?

Jan 30, 2010

When logging in to my user account in Fedora 12 i686 i received an error message "Could not update ICEauthority file". The file in question is in /home/janne/.

I can get into the system but several programs do not respond.

View 11 Replies View Related

General :: Opening Emails In Hotmail Account, Running Back Track 4

May 17, 2011

First thing I will say is I am new this site and computers in general. I have pc and am running back track 4. Today the computer shut off, maybe an over heat. I restarted it and it turned off again even before the reboot finished. I put an additional cooling fan in front of the air intake and the computer is staying on but now will not open the emails in the my hot mail account. It seems to open the account, I can see what is in my in box just can not open them. Moving the curser over the unopened email usually made what is in task bar at the bottom of the page change. As of now it continues to say "Done" in stead of showing a task. Moving the curser over other things on the same page will make the task bar say "javascript" only.

View 1 Replies View Related

Server :: Simplest Solution To Forward Incoming Emails To Gmail Account?

Apr 1, 2011

I have a server on CentOS 5.And I would like to set up an automatic forward so that every incoming message of a specified user gets forwarded to a specified email (my gmail account).In your opinion, what is the simplest solution ?

View 2 Replies View Related

General :: (nagios) Send Emails To Gmail When Services Are Down?

Aug 6, 2010

i've been trying to send emails to my gmail account and it works now. using postfix, how do i make nagios send notifications to my gmail account when any services go down?i saw this commands for email in commands.cfg:

Code:

# 'notify-host-by-email' command definition
define command{
command_name notify-host-by-email
command_line /usr/bin/printf "%b" "***** Nagios *****

[code]....

i know that will be the format of the email if i can receive it.

View 8 Replies View Related

Server :: Configure Postfix To Send Emails From One Email

Feb 8, 2011

I'm experimenting with with mail-servers now and I'm trying to configure postfix to send emails from one email(pop3 is gmail) to any email outside the local network. Server is Ubuntu 10.10 with the last updates.

View 1 Replies View Related

Server :: Unable To Send Emails From Clients Like Thunderbird

Jul 26, 2010

I am using postfix as my MTA. It is running on ubuntu and I am administering the system through webmin, try as I might with different configurations, I can't send email from a client. when I look in the mail.log i only find:

Jul 26 15:31:00 alpha postfix/smtpd[17430]: connect from unknown[99.153.1.214]
Jul 26 15:31:31 alpha postfix/smtpd[17430]: lost connection after UNKNOWN from unknown[99.153.1.214]
Jul 26 15:31:31 alpha postfix/smtpd[17430]: disconnect from unknown[99.153.1.214]

View 1 Replies View Related

Software :: Debian - Configuring Postfix To Send Emails

Sep 28, 2010

I'm trying to configure postfix to send e-mails but it is not receiving requests from networks different from its localnet (192.168.1.0/24). Iptables is like this:

Code:
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- 10.0.0.0/8 anywhere
ACCEPT all -- localnet/24 anywhere
ACCEPT udp -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED

A part of main.cf is like this:
Code:
biff = no
append_dot_mydomain = no
delay_warning_time = 4h .....

View 1 Replies View Related

Ubuntu :: Evolution Wont Send Gmail Emails - Keeps Asking For Smtp Password

Nov 28, 2010

Evolution works fine for receiving mail, but I cant send anything.When i hit "send/receive" itll receive but ask for smtp password every single time. My understanding is that the password is your email password, but it wont accept it.

View 4 Replies View Related

Ubuntu :: Msmtp And Gmail - Can't Send Emails At Bootup But Works After Login?

May 10, 2011

I'm running 11.04 desktop 64 bit and have smartmontools and mdadm set to send automated test emails at bootup (I have a RAID5 setup).I'm using msmtp with a gmail account. When I'm logged in, I can manually send test emails with both smartmontools and mdadm; neither will send me an email at bootup even though they are set to do so. The msmtp log at bootup has a smtp.gmail.com exitcode=EX_NOHOST.why it can't find the smtp server at bootup but has no problem once I'm logged in and test it manually? Is there some dependency that isn't loading in time at bootup???

View 1 Replies View Related

Ubuntu :: Send Messages, With 20+ Accounts ( Different Emails, But One Domain / SMTP Server )?

Jul 21, 2011

Has thunderbird (recent version) have a "TEST" function ? basically, i'm trying to send messages, with 20+ accounts (different emails, but one domain / SMTP server). one account works fine - the other one doesn't. i go to my "outgoing server" & everything is fine - usernames / ports etc..) The settings for each account do show the right outgoing server. If i 'send later' & close down thunderbird, 7 re-open - it asks me for my password again (which it saves), & then it is able to send the email.

QUESTION :- is there a TESt option that will test each & EVERY account in one timeslot ? Ie, will go through each email address - sends an email to itself (the same address), & sends it. it will then try the server again, to see if the email was received. & then give me a single report, of all the incorrect settings.(I've tried this 1 email account half a dozen times tonight & i dont know *WHY* its not sending on the 1st go.. )

View 1 Replies View Related

Ubuntu :: Postfix Emails Send Outgoing Mail With Wrong Domain Name?

Jan 29, 2010

I just configured my first postfix mail server today. Everything is working correctly except for the fact that on all outgoing emails instead of the mail format being user@mydomain.biz it says user@hostnameofpostfixserver. I've looked everywhere I can think and I cant see where I'm substituting the host-name of the server for the domain name of my email. Where else could it be?Below is my main.cf. I am running ubuntu 9.10.# See /usr/share/postfix/main.cf.dist for a commented, more complete version# Debian specific: Specifying a file name will cause the first# line of that file to be used as the name. The Debian default

View 2 Replies View Related

Programming :: Bash Scripting - Logging To The Virtual Account?

May 21, 2011

I need to write a bash script that will allow me to manage my "virtual network" (in reality just a bunch of directories and files). I need to obtain something like : I have my own command 'connect'. We can use it in two different modes: user and admin. If I type 'connect adashiu virtual_machine_name, computer will ask about password, if password is correct he will change a prompt to :

adashiu_at_virtual_machine_name >

after that user can start to use commands reserved only for user mode. Analogically with admin mode: prompt 'admin >' and administrator can only use bunch of commands reserved for him. changing prompt and separated commands for user and admin ?

View 8 Replies View Related

Fedora :: Evolution Won't Remember Hotmail Password (or Send Emails)

Dec 4, 2010

I'm running Evolution 2.30.3 on fc13.x64 and I've been getting a funny problem for a while, that now really annoys me:

even if the settings for my hotmail account are correct, Evolution will ask for the password every time I log in. Also, since I keep it open, after a while (~30 minutes) it "forgets" somehow the password and asks for the password again. This time, anyway, it won't work and I have to reset Evolution again.

Bonus question: even if hotmail is configured correctly for receiving and sending (smtp.live.com etc.), it won't send email, but will remain stuck on "sending".

View 2 Replies View Related

General :: Nagios Setup To Send Emails In MS Exchange Server

May 10, 2011

How to seup nagios to send email to mails in MS Exchange server ?

View 3 Replies View Related







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