Software :: Mail.rc For External SMTP / Mail.rc Is Working Correctly?
Jul 1, 2010
I am running CentOS 5.5 and am trying to get Nagios to send out Emails.
After a bit of reading I have the following in my /etc/mail.rc file:
Code:
[root@linux ~]# cat /etc/mail.rc
set ask askcc append dot save crt
ignore Received Message-Id Resent-Message-Id Status Mail-From Return-Path Via
set smtp=172.29.1.76
You have new mail in /var/spool/mail/root
[root@linux ~]#
I have Nagios setup correctly and introduced an error to generate an Email but nothing has come through.I suppose I have two questions:
1. Is mail.rc setup correctly?
2. Can I test to see if mail.rc is working correctly?
View 4 Replies
ADVERTISEMENT
Aug 30, 2010
This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: xx@xx.com SMTP error from remote mail server after initial connection: host [URL] [ip address]: 50 Access denied...
View 4 Replies
View Related
Jul 30, 2011
I am setting up a CentOS box as a NAT firewall that needs to also send mail. It needs to send this mail using an outside provider's SMTP. The provider requires SMTP over SSL. None of the machines inside the NAT will ever send mail except via the provider's SMTP nor will they ever receive mail except to local clients via the provider's IMAP servers.
So for the example the machine is TESTMACHINE. There is one internet facing ethernet port connected to a DSL modem via pppoe.
The SMTP it needs to send mail via is mail.host.net which requires SMTP over SSL (port 465) and username/password authentication.
The sendmail documentation is quite confusing on how to get this simple setup operating, so an example showing the appropriate changes to sendmail.mc and other require config files.
View 1 Replies
View Related
Nov 3, 2010
I have one Centos Server and I want to forward root mail to 1 external account: [URL] I installed sendmail and created /root/.forward with this content: [URL] and I sent a test mail with this command: /usr/sbin/sendmail root <prueba.txt But nothing was forwarded.
After that I ran the same command with the verbose option:
/usr/sbin/sendmail -v root <prueba.txt
And this is the output:
root... Connecting to [127.0.0.1] via relay...
220 localhost.localdomain ESMTP Sendmail 8.13.8/8.13.8; Wed, 3 Nov 2010 21:09:39 -0600
>>> EHLO localhost.localdomain
250-localhost.localdomain Hello myfriend [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
[code]....
For some reason sendmail tried to connect to example.com smtp server and couldn't reach it. I am sure this is because the smtp server for example.com domain is not example.com is mail.example.com. Besides mail.example.com requires authentication, username , password and the smtp port is not the default 25 is 9999. configure sendmail to forward root mail to a smtp server that requires authentication, username, password with a not the default 25 port?
View 4 Replies
View Related
Apr 12, 2010
Installing PHPMailer v.5 (server running php5) with SMTP function. I have installed the main files in mail directory such as: # class.phpmailer.php: This is the main class file which contains the various email functions.# class.smtp.php: This additional class allows SMTP authentication.I don't think I need class.pop3.php as I'm sending mails server side (smtp)and should be accepted by most IP's pop3 servers.
All my mail functions work great with SMTP and I can send and receive. My problem is that my recipients only receive mail from admin@domain instead of "My Website Name" Sounds simple enough, I know and I have made adjustments to class.phpmailer.php and have inserted my specific mail attributes for my site such as mail address, mail from, smtp server, user/pass for smtp,etc.PHP Mailer v5.0 class.phpmailer.php is a very long script and I only found a couple of places to put the FROM address as follows:
PROPERTIES,
PUBLIC
/////////////////////////////////////////////////
/**
*
Email priority (1 = High, 3 = Normal, 5 = low).
[code]....
View 1 Replies
View Related
Aug 30, 2010
This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:
xx@xx.com
SMTP error from remote mail server after initial connection: host [URL] [ip address]: 550 Access denied...
View 6 Replies
View Related
Jun 28, 2010
The question is pretty much the same as the subject. I have a bunch of debian servers - most of them running exim4 default installations configured as internet site using dpkg-reconfigure exim4-config. It can send mails fine from php scripts and some other applications, but I can't seem to find a way to forward all root mail to some external address. I have tried adding "root: someaddress@example.com" to /etc/aliases and run newaliases command, but it doesn't seem to work.
View 3 Replies
View Related
Jul 1, 2009
I have a Fedora 10 machine that I want to setup to send email. However I don't want it to be a full blown SMTP setup.What I am looking to achieve is when something sends email from the local machine (e.g. from cron) to an address I want it to use an MTA on the local machine which will then connect to, and authenticate with, my e-mail providers SMTP server this will then take care of actually sending the e-mail.I don't want, or need, to setup a full blown SMTP service (i.e. only the local machine should be able to use it) so sendmail seems a bit over the top for my needs. Nor do I want to mess about with MX records (am I right in thinking this will mean I have to manage all mail for my domain?).
View 2 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
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
Feb 11, 2010
I have specified a particular IP in the php.ini configuration file to be used by the mail() function. However, there are exceptions when I want to use a different SMTP Server's IP to relay delivery of emails to External Domains. So, how to use SMTP Value in the mail() function. I think it has to be done in the Header Section of it...?
View 4 Replies
View Related
Oct 28, 2010
The php mail form is designed using post function,normally the mails are not getting delivered without smtp authentication.So can someone say me on adding smtp authentication to php email form.
View 9 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
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
Sep 29, 2010
I'd like to use the mail command to send e-mails with some log files. Is there a way to configure the SMTP server from cli or to write the IP address into a file?
View 6 Replies
View Related
Jun 2, 2010
Linux newbe, trying to setup mail. Imap no problem, SMTP keep getting connection refused. Credentials and login info to smtp server same as working on windows machine...
View 5 Replies
View Related
Oct 18, 2010
Trying to transfer to claws mail from kmail, I have problem in sending emails: It doesn't send email through one of my accounts (a university account) and says: An "error happened during SMTP session". My other university account works!
View 3 Replies
View Related
Oct 20, 2010
We have one major problem in our dedicated online mail server. In this mail server both sendmail and qmail running for send and receive mails. In this server I can able to send mail to other domain like Gmail and yahoo its works fine. But I am not receiving any mails from other domains. And automatically I got telnet localhost 25 connections refused error. When I send mail from my webmail I got like this error Connection refused Server replied: 111 can't open SMTP stream. This is I got when I send mail from webmail. I am using centos 5.2 version.
View 2 Replies
View Related
Apr 11, 2011
I am trying to configure sendmail to use GMail to send emails. I followed the instructions at[URL]lay-howto.html but it failed.After I was done with these instructions, I think I "cooked" sendmail... Can no longer configure it and it seems that I will have to start from scratch again...How to get sendmail to send emails using Gmail's SMTP server?
View 12 Replies
View Related
Mar 27, 2009
I'd like to have anything that tries to send mail locally on my machine (including crontab reports for instance) to be handled by my ISP's smtp server instead of my machine acting like it's own SMTP server. I've spent around 15 hours trying to figure out how to do this and I keep either getting into things that I don't understand, or hitting brick walls (for instance, I found nullmailer, but after installing it, it seemed like it would only work on Unix) Is there an application like nullmailer which I can use as my MTA to forward all internal mail to a different SMTP?
View 3 Replies
View Related
Apr 27, 2011
I have the 11.4 Gnome Distribution.everything is setup except my email sending.I have never been able to setup evolution correctly with gmail.I have followed the gmail settings of setting the smtp server to be smtp. gmail. com:465 and folowed the instructions here Evolution/FAQ - GNOME Live!to setup smtp.gmail.com with no port change.if there is no port specified the sending message window doesn't report an error it just hangs.
View 9 Replies
View Related
Aug 9, 2011
On my opensuse 11.4 box (although I assume the version is irrelevant), I'm trying to figure out how to do something with the mail command. We have multiple smtp relay servers and sometimes I have to test to verify that mail is bouncing off of them successfully. On my laptop, in my main.cf file for postfix, I've got the relay server listed. But to test multiple servers, I have to change the main.cf, restart postfix, send message, and then repeat for each test.
I'm trying to figure out a way to specify the smtp relay on the command line. I've been playing with the -S option which is supposed to allow variables and one of the variables in the man page is 'smtp'. I've tried several different syntaxes but nothing seems to work.
The closest I've come is:
mail -S smtp 10.1.0.63 -s "test" user@email.com < main.cf
That syntax doesn't give me an error but it still routes the message off the smtp server listed in main.cf which is not 10.1.0.63.
View 3 Replies
View Related
Feb 25, 2011
I tried setting up evolution mail incoming worked fine outgoing Big No, so I install Thunderbird and it worked like a charm. Then I decided I liked Evolution a little more and wanted to see if I could get it working and came across this. Firstly I entered all my details correctly double and triple checked. Look at my user name now when i try sending an email I get this? Why has my email changed?
View 5 Replies
View Related
Mar 12, 2010
When sending a message some recipients get it while others don't and i receive this mail every time an e-mail has failed to be received by others:
Code:
Subject: failure notice
This is the qmail-send program at XXX-XX-XXX-XX.local. I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<XXXXX@XXXXXXX.com>:
Sorry, I wasn't able to establish an SMTP connection. (#4.4.1)
I'm not going to try again; this message has been in the queue too long.
Below this line is a copy of the message.
Information about my server: Plesk 9.3.0 | PHP Version 5.1.6 | CentOS release 5.4 | Linux 2.6.28.7 | GenuineIntel, Intel(R) Atom(TM) CPU 330
[url]
I use horde webmail installed through Plesk, and i access it through webmail.domain and not mail.domain
View 15 Replies
View Related
Jul 6, 2011
i had configured mail server in linux. i had configured sendmail in linux client . i have error while sending mail through thunderbird smtp auth error how can i resolv the issue .....
View 1 Replies
View Related
Feb 11, 2011
I'm trying to set up my postfix server to relay mail (via a php cms) using Gmail's smtp on my account, but for some reason, Gmail returns an error code that StartTLS must be sent first, my postfix main.cnf file can be found at pastebin, because of this forum's text length I cannot paste my postfix main.cnf file as can be seen I have everything set and configured for Gmail, but postfix (for some unseen reason) can not send StartTLS. [URL].
View 4 Replies
View Related
Apr 30, 2011
Here is the senario...
2 round robin dns servers
x.x.x.1 mydomain.com (hostname)
x.x.x.2 mydomain.com (hostname)
My problem is that when I try and send an email that is part of the domain, it ends up trying to deliver it locally. I realize it is supposed to, but I don't want that for non-users of the server.
I want to be able to deliver certain emails []@mydomain.com remotely. (info@mydomain.com)
exim4 setup "internet site; mail is sent and received directly using SMTP". This works well as long as it is not an email from mydomain.com.
Is there a way to have exim check the users first and then deliver based on local user or not?
Next question. Is having the domain name as the hostname the best way to setup a round robin? (web server)
View 1 Replies
View Related
Jan 14, 2011
We host our own mail server on our Fedora box. We would like for our field people using there smart phones to be able to send and receive mail. Receiving is no problem but sending creates problems with relaying and port assignments. Is there any way sendmail can be configured to allow these mobile phone users (AT&T, Verizon) to send mail through our server?
View 1 Replies
View Related
Jan 20, 2010
How to communicate with an SMTP server with telnet, in order to send a mail?
telnet smtp.something.somewhere 53 Trying
10.xxx.xxx.xxx...
Connected to smtp.something.somewhere.
Escape character is '^]'.
And that is as far as I got. What do I have to do after?
What do I have to write after "HELO"?
View 3 Replies
View Related
Aug 3, 2010
I've been having this problem since 10.6 released, but have until now been successful with the "just use Thunderbird" response. My sendmail server hasn't been changed, but as clients upgrade from OSX 10.5 to 10.6 suddenly mail.app will no longer connects to send SMTP messages through the server. (IMAP connections to the same server using the same user/pass combinations work perfectly) When I look at the logs, things basically stop right after the STARTTLS command.
Google indicates alot of people are having similar problems, but I'm not seeing any solutions. Do any of you administrate sendmail servers where some of your clients are using Apple's Mail.app on Snow Leopard, and if so what settings are you using? At this point, I'm happy to make changes to the server to accommodate Apple's issue, I have too many Mac users connecting to my server. I just can't figure out what to change. I've enabled virtually every possible login authentication combination, and none of them work.
View 1 Replies
View Related