General :: Write A Script To Send General Mail To Users At 9AM Everyday In 4?

Mar 3, 2010

I want to write a shell script, so that at 9AM every morning a general will be sent automatically to my network users E-Mail ID. My users are as follows: akhtaruzzaman@a[URL], ariful.[URL] etc.

Below is my little effort:
# !/bin/bash
userlist=`cut -f 1 -d : /etc/passwd`
mail -s "mailbackup" << END

keep mailbackup in another drive daily for security purpose

View 3 Replies


ADVERTISEMENT

General :: Can't Send Mail To Other Users On Same System?

Dec 27, 2010

I'm trying to send mail to other users on the same host, but they don't arrive.I've tried using mail and alpine. Both programs apparently work fine, in that they behave as expected and apparently send the email.But when logging in as the recipient, there is no mail in /var/spool/mail, and nothing in alpine INBOX

View 3 Replies View Related

General :: Restrict Users To Send Mail To Outside Domains

May 28, 2011

How to restrict users to send mail to outside domains in qmail server, i have centos and qmail installed

View 14 Replies View Related

Software :: Mail(x) On 12.2 Does Not Send Mail To Local Users

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

General :: Set Nagios Directives To Only Send One E-mail Per Alert Without It Flooding Mail Boxes?

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

General :: Sendmail Error / Unable To Work On WAN / Can Send Mail But Not Able To Recieve Mail?

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

General :: Debian Mail Server As A User Send A Mail With Attachment Maximum Wight Is 5 Mb

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

General :: Receive Mail Fine But Cannot Send Mail

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

Server :: Postfix Cannot Send Mail To Users In The Same Machine?

Jun 22, 2010

i am trying to set up a mail server that will support users in a LAN in my school. I am using postfix on a Mandrakelinux distro.

I can send mail when I am root to the other user on my (same) machine both when in command line (mail command) and on Graphical mail client (Kmail ) but the user (sam) cannot send mail to the root account on either interfaces.

I followed the postfix configuration settings on John_Wiley_-_Redhat_Linux_Networking_and_System_Administration_3rd_Edition.

View 5 Replies View Related

Server :: Postfix Local Users Unable To Send Mail

Jul 13, 2011

We are using postfix for relaying our internal system generated mail to other domain through google apps. All client servers able to send mail through the postfix server, only user of local postfix server(root, etc) unable to send mail with command like mutt, mail.My detail configuration given below:

Code:

postconf -n

output

Code:

alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix

[code]....

View 8 Replies View Related

Server :: Restricting Some Users Send Mail To Off-site Destinations In Sendmail?

Oct 21, 2009

How to restrict some uses to send mail to outside domains except local in sendmail.I am using ( CentOS5 + Sendmail )

View 2 Replies View Related

General :: Not Able To Send Mail?

Jul 21, 2011

I m not able to configure sntp server at my linux distribution.

Here are the details. Defined the mail server here.

Code:
/etc/mail/sendmail.mc
dnl define(`SMART_HOST', `XXX.XX.XX.XXX')dnl
ran this command.

[Code]...

View 10 Replies View Related

General :: How To Send Email From /usr/bin/mail

Jan 15, 2011

I use gmail for all of my emailing needs but stumbled upon linux counter at counter.li.org. Now I registered on the site and downloaded the machine-update script from the site. So I ran it and it collected the required data. But when I run ./machine-update -m as they have told, I guess no mail gets sent as I have to configure the mail program. How do I configure it so that it sends mail from my gmail address using stmp?

View 1 Replies View Related

General :: Can Send But Can't Receive Mail?

Mar 21, 2011

so I'm really new to using Linux, and I searched the forums, but most people seem to have trouble sending mail, not receiving it. When I send mail from the CLI, it gets delivered fine (from travis@travishoward.net) But when I try to reply or mail to the server, I get this message back:

Code:
----- The following addresses had permanent fatal errors ----- <travis@travishoward.net>
(reason: 554 5.7.1 <travis@travishoward.net>: Relay access denied)

[code]...

View 2 Replies View Related

General :: Can't Send Mail From FC11

Jun 19, 2010

Am trying to configure the default sendmail program to send mail from command line but failed. Here are the steps I did while following [URL]

cd /etc/mail
mkdir auth
chmod 700 auth
cd authCreate a file called client-info with the following:
AuthInfo:smtp.spamarrest.com "U:<spamarrest.com's login>" "I:<spamarrest.com's login>" "P:<spamarrest.com's password>"makemap hash client-info < client-info

[Code]....

View 8 Replies View Related

General :: Send Message To All Users Wishing Them?

Nov 14, 2009

How to send message to all users wishing them "Good Morning"

View 2 Replies View Related

General :: Mailx Doesn't Send Mail

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

General :: Configure Machine To Send Mail?

Mar 16, 2011

How do i configure my linux machine to send mail. I have two server out of which one is configured to send mails. However The other is still not sending mails .I have installed sendmail rpms and modified
sendmail.mc file to include following parameter.

[Code]...

View 4 Replies View Related

General :: Not Able To Send Mail In Evolution / Sort This?

Jan 7, 2010

I just started using ubuntu karmic on an ibm x60
with comcast. I tried setting up evolution with a
mobile me imap account and can receive mail no problem
but cannot send mail. Any suggestions or remedies?

View 4 Replies View Related

General :: Send Mail If All Values In Second Field Are Zero?

Sep 1, 2010

In my file there are 2 fields separated by space.Sample content of file are as follows:56060 154242 053030 0Now i want to check second field of the file and if all values in second field are 0(zero) and send mail containing all contents of the file

View 3 Replies View Related

General :: Send Color Message To All Users With Wall?

May 21, 2010

How to send color message to all users with wall.

View 1 Replies View Related

General :: Block Outlook User To Send Mail?

Jun 19, 2010

I am using Qmail mailing system. Now I want to block the outlook users to send mail(SMTP). I think it can be done through qmail smtp relay option.Is it the right way to block SMTP for outlook users??

View 3 Replies View Related

General :: Send Message On Evolution From Mail Client

Jan 14, 2011

I am able to reieve message but not able to send message on evolution from my mail client. evolution gives the error as: PHP Code: Cannot get message 1285571362.20345.mail312.opentransfer.com,S=1928: Input/output error 

View 1 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

General :: Send Internal Email Using The Mail Command?

Jun 3, 2009

Send an E-mail to your local account. Try two different ways to send and read it. How can you check that it really arrived? I decided to try using the 'mail' and 'pine' commands. So:

1) Using the root account, intending to send an e-mail to myself (root):

Code:

# mail -s "Hello root!" root
Simple form of sending e-mails internally.
^D (this keystroke is to finish the e-mail)
EOT

2) Using 'pine', another e-mail client: The mail is composed correctly, with 'To:' field set to:

Quote:

[URL]

which is my hostname, as my box runs in a VMWare Slack 12.2 image. In both cases, nothing was received in my mailbox (by typing #mail)... Additionally I don't see any new e-mails when I look at the file '/var/spool/mail/root'. Do I need extra information configuring my mail client/server/service?

View 6 Replies View Related

General :: Send Intranet Mail To Internet In Qmail?

Aug 10, 2011

i have qmail toaster installed on centos5.6 , i want to divert my local intranet mail to my gmail account,i am using thunderbird as email client

View 9 Replies View Related

General :: Unable To Send Mail To Other Domain - IP Blacklisted

May 4, 2010

I have one major problem in my mail server. I am not able to send mail to other domain yahoo and rediff. and my ipaddress is blacklisted. So Finally I checked logs. Mail queue is high. Log shows spam and junk mail created in my mail server. he following are the logs. Iam using qmail server. One more thing is in link is there when I click that link its go sex websites. I will try all mail queue logs. It shows the same website redirection. So I don't know its happen. My thought is spam create from that website.

View 3 Replies View Related

General :: Nagios Don't Send Mail For Individual Hosts?

Jun 3, 2010

It does not send mail if I only add contact_groups in host definition.

Code:

define host{
use generic-host ; Inherit default values from a template
host_name NAME1 ; The name we're giving to this switch
address XX.X.X.X ; IP address of the switch

[Code]....

View 3 Replies View Related

General :: Thunderbird 3.1.1.10, Not Finding Sent E-mail In Send Folder Any More

Jul 12, 2011

Using Thunderbird 3.1.10 and no longer can see copies of my sent messages in the Sent Folder. I tried to tick the box in account settings to save a copy and it would not take the change. What I did notice is that the e-mails sent are being received on the other end, but I do not have a copy in the Sent folder. It seems as though my e-mail account has been hijacked, and I changed my e-mail account password as a precaution. I am also getting e-mail BACK in my in box that I sent to other people. My AT&T account uses yahoo and my account through AT&T was originally bellsouth.net What can I do to make sure I get a copy of all of my e-mail sent out?

View 5 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







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