Server :: Send Mail Through Script?

May 7, 2011

I have written a shell script to take backup and by doubt is after tat i need a script tat it should send mail automatically to eg:user@domain.com tat 'the backup job has done successfull',after tat i need anyone help to write a shell program tat mail should send automatically after the backup job completed for the below program.

#!/bin/bash
mount -t cifs -o user="$1",password="$2" "$3"/"$1" "$4"
echo "Mounted Successfully">>/var/log/kannan

[code]...

View 13 Replies


ADVERTISEMENT

Server :: How Long Normaly Keep The Mail Server Send Mails On The Outbox Queue And Try To Send

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

Server :: Mail Server Configuration - Send Mail To External Domain(internet)

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

Ubuntu :: Can't Send From Own Mail Server With Mail Client (Thunderbird Or Evolution)?

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

Server :: Send Mail From Unix Mail Command To Yahoo-id With Attachment?

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

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

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

Networking :: Send Mail - Internet Mail Server Seems Not Working At All

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

Software :: Debian Mail Server Won't Send Or Receive Mail

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

CentOS 5 Server :: Cent OS 5.4. - Send A Mail With Mail In Console

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

Server :: Send Mail Won't Accept Mail

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

Server :: Sendmail - Mail Server Rejected Email And Unable To Send

Feb 24, 2010

I have users [URL] unable to send email to [URL]. [URL] user also unable to send email to [URL]. But both email addresses are fine as they can receive email from others or from [URL] and [URL]. I able to telnet mail server 110 and 25, no problem. Version: ESMTP Sendmail 8.12.10

Mail Log:

Feb 23 11:36:35 mail sendmail[16228]: o1N3aZxt016215: to=<xxx1@gas.com>, ctladdr=<xxx@abc.com> (501/501), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=442918, relay=gas.com, dsn=5.1.2, stat=Host unknown (Name server: gas.com: no data known)

[code]....

View 4 Replies View Related

Server :: How To Use Postfix To Send Mail Through Microsoft Exchange Server?

Dec 25, 2010

I recently had the need to relay SMTP mail through our organizations hosted MS Exchange server. I had to do a little troubleshooting, so I wrote a concise summary of the procedure I followed.

View 1 Replies View Related

Server :: Cannot Send Mail Outside LAN With Postfix

Apr 4, 2010

My problem is that I cannot send mail with postfix. For all mail I get connection timeout Example: (delivery temporarily suspended: connect to [URL] Connection timed out)

View 13 Replies View Related

Server :: How To Configure Send Mail Using Red Hat 7.3

Mar 19, 2010

I have to configure sendmail to send messages and receiving any mails on a Red hat 7.3 linux server. Can anyone have an idea how to configure sendmail?

View 2 Replies View Related

Server :: Cannot Send Mail To Other Network

Mar 23, 2011

I have configured sendmail server configuration & its working but I was not able to send mail to other network e.g., yahoo mail, etc.

View 1 Replies View Related

Server :: Postfix Can Not Send Mail

Jan 21, 2011

telnet localhost 25 when rcpt to:mike@test.com ,report error: 451 4.3.0 <lisi@test.com>:Temporary lookup failure

View 1 Replies View Related

Server :: Send Mail From Already Exist SMTP Server?

Apr 4, 2011

I come back to everybody cause I don't find an explicit how to do this!In our internal network, I've created an email server with Postfix and Dovecot. (Just for internal domain, no needed to go outside)

But I've some server which use linux too. All are on CentOS 5.5.I would like to configure these servers to use my internal mail server for send email, and not configure sendmail or postfix on each server.

What I've to do exactly on each servers to use it? I search on the web but I don't find something very explicit

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

Server :: Postfix Wont Send Mail?

Jan 8, 2011

I'm having a problem with Postfix sending email. To be more specific, Postfix sends mail perfect but when my web server running webmail (RoundCube) connects to my mail server to send email, it fails & there is nothing in the logs that explain to me why:

Code:
Jan 8 11:53:02 mail dovecot: imap-login: Login: user=<carlos>, method=PLAIN, rip=192.168.0.201, lip=192.168.0.200, mpid=2161, TLS
Jan 8 11:53:02 mail postfix/smtpd[2162]: connect from www.iamghost.org[192.168.0.201]
Jan 8 11:53:02 mail postfix/smtpd[2162]: setting up TLS connection from www.iamghost.org[192.168.0.201]
Jan 8 11:53:02 mail postfix/smtpd[2162]: Anonymous TLS connection established from

[Code]...

View 7 Replies View Related

Server :: Restrict User To Send Mail?

Oct 12, 2009

I want to restrict to send mail for particular allowed users of UNIX user. How can I achieve that? Which file I need to configure to allow users to send mail?

View 12 Replies View Related

Server :: Send Mail Not Starting In RHEL5.1?

May 14, 2010

I have installed sendmail in RHEL 5.1 ,while trying to start sendmail iam getting this error Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 90: fileclass: cannot open '/etc/mail/local-host-names': World writable directory 451 4.0.0 /etc/mail/sendmail.cf: line 567: fileclass: cannot open '/etc/mail/trusted-users': World writable directory /etc/mail/sendmail.cf: WARNING: dangerous write permissions [FAILED] Starting sm-client: /etc/mail/submit.cf: line 525: fileclass: cannot open '/etc/mail/trusted-users': World writable directory [FAILED]

i tried by installing same in other system it is able to start sendmail and it is running ,i checked the permissions of /etc/mail both are same , i have tried by reinstallin sendmail application also but iam getting same error again.

View 6 Replies View Related

Server :: Send Secret Copy Of Sent Mail?

Jul 2, 2010

I have SMTP POSTFIX on my server and users are connecting there over outlook from windows. I would like to receive every mail that is sent from specific mail address to the Internet. Is that possible?

View 4 Replies View Related

Server :: Send Mail From Different Virtual Hosts On One Ip?

Jan 15, 2010

Ok I have 5 virtual hosts on one IP but only 1 domain (forwardconference.org) will be sending emails out to people....confirmations and such. The other sites may send out some emails...like back to my personal email address not hosted on this server. That works. But to people on like aol or yahoo or hotmail....it doesnt

Problem is, most people are not getting the emails. Mailq reports them being deffered for some reason. I'm having our ISP setup a PTR to forwardconference.org....does this mean all my emails from either of the sites....even if I put a different FROM: address in the php mail script...will come from [URL]? Or should I just setup my server as its own SMTP server?

View 3 Replies View Related

Server :: Send A Mail From Outside The User Receives?

Jan 28, 2010

i have ipA -> web server
and ipB -> mail server

when i send a mail from outside the user receives it but when i send it from my web server in mail logs i get the following error

relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown

View 41 Replies View Related

Server :: Unable To Send Mail Using Postfix

Jun 10, 2010

I have recently installed the ISPCP web hosting control panel. It seems that after a while running and testing I can receive but I cannot send e-mail. basically I get an error which goes

Code:

postfix/smtp[5939]: connect to alt1.gmail-smtp-in.l.google.com[72.14.213.27]:25: Connection timed out

I have, in the recent past, been able to send e-mail so I know that there is something that has gone wrong with my configuration, which I cannot. I post here my master.cf and my main.cf files as well as the mail.log file and the mail.warn....

Ubuntu Server 8.04 LTS 64x
spCP 1.0.4 OMEGA
build: 20100228
Codename: Priamos

View 2 Replies View Related

CentOS 5 Server :: Send Mail From A Different Domain

Feb 12, 2009

I have a CentOS 5.2 server with hostname support.companyname.local It's used to run Request Tracker 3.8.1. I need to be able to send email from this machine and make it look like the email came from user@companyname.com instead of user@support.companyname.local

View 5 Replies View Related

CentOS 5 Server :: Can't Send Or Receive Mail

May 24, 2010

My server already installed and works well, but I can't send or receive mail with Squirrelmail, the error that appears is: Server replied: 67 Can not execute command '/ usr / sbin / sendmail-t-i-fteste@gabinetedeengenharia.com '.

View 5 Replies View Related

Ubuntu Servers :: Mail Server - Can't Send Or Receive?

Mar 5, 2011

Every time I try to send a message with SquirrelMail, I get:

Code:
Message not sent. Server replied: Syntax error in parameters or arguments 501 5.1.7 Bad sender address syntax

View 3 Replies View Related

Networking :: Unable To Send Mail From Server To Outside Using Sendmail?

Jun 1, 2011

I have configured Sendmail client to send mail to outside network ( Within local domain ), but i am unable to send any mail as i am getting the following error,

[root@cclx10 mail]# cat test |sendmail -v abhilash-o.padmanabhan@hp.com
abhilash-o.padmanabhan@hp.com... Connecting to [127.0.0.1] via relay...
abhilash-o.padmanabhan@hp.com... Deferred: Connection refused by [127.0.0.1]

I have the following configuration in my "/etc/sendmail.cf" file

# SMTP daemon options
O DaemonPortOptions=Port=smtp,Addr=15.146.237.113, Name=MTA

And netstat is showing that sendmail is listening on Port 25 on the IP address which is mentioned.

[root@cclx10 mail]# netstat -an |grep 25
tcp 0 0 15.146.237.113:25831 0.0.0.0:* LISTEN
tcp 0 0 15.146.237.113:25 0.0.0.0:* LISTEN

View 1 Replies View Related







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