CentOS 5 :: Set Mailx To Use External Smtp Server?

Jan 14, 2011

In Red hat i used the nail command to send mail using an external smtp server without sendmail or other mail services active. My question is: In Centos 5 nail is not present but is present mailx in version 8.1.1-44.2.2

Is there a way to set mailx to use external smtp server ? because in many forum i get the string mailx -S smtp= etc.etc. but in my case the -S parameter generate mailx: invalid option -- S antoher question is there a an official repository to download rpm nail for centos ?

View 3 Replies


ADVERTISEMENT

Networking :: CentOS Mail Setup - Sendmail Via External SMTP Server

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

Server :: Smtp Proxy Filter To External Isp Smtp?

Jan 31, 2010

In order to have greater control over the emails sent out the company I imagined the following scenario.ScenarioDescribing in words what I need.ser sends an email to user@hotmail.com for example, using the smtp of my isp (is the internet).Before the email is sent, the firewall checks if the recipient is blocked transparent, if you are locked out rejects the email.I searched several forums and mailing lists, but did not find scenarios similar to mine.Where found situations in which the mail servers were internally in the company, which is not my case.

View 2 Replies View Related

Server :: External SMTP Server With PHP / Send An Email Using An External Server?

Feb 9, 2011

I'm rather (VERY) inexperienced when it comes to Linux, but Fedora 14 is the environment I have to use on my laptop at work, so please forgive any dumb that comes out of me.

How do I tell php to send an email with mail() using an external mail server?

The situation: I've got apache/php running a webserver on my local machine. It's for dev purposes only, and the website files I'm using are checked out from our SVN. This lets me make changes to our website while not actually changing our website.

I've come across an issue I'm fixing where I need to verify that an email is successfully getting sent out, and unfortunately, this email is sent out using php's mail(), and not our website's usual $mail object. Unfortunately, I don't have the authority to change how this sends out right now, just when it sends out.

I've been running everything fine on my machine for a month now, and haven't needed the mail stuff until now. How do I tell php to send an email using an external server?

View 1 Replies View Related

Server :: Configuring Postfix With External SMTP Server?

Apr 10, 2010

I'm trying to configure Postfix with a mail server that I programmed in C. The main.cf is set in this way :

Code:
relayhost = [myMailServer.localhost]
smtp_sasl_auth_enable = no
smtp_use_tls = no
disable_dns_lookups=yes
smtp_never_send_ehlo = yes
code....

I don't know why it doesn't receive response after HELO. In fact if I debug my mail server with gdb, I can see it sends a 250 response code. Moreover, I've tested my server both with traditional mail clients, as Thunderbird, and through telnet session and it works very well.

View 6 Replies View Related

Server :: Forward Root Mail To External Account Requiring Smtp Authentication?

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

Networking :: Local Smtp Server And Smtp Server Of Domain Registrar Simultaniosly?

Nov 27, 2008

I have a domain name registered in asianet.com, they provide email service also, can i use local mail server and registrar's smtp server at same time?

View 5 Replies View Related

CentOS 5 Server :: Steps To Configure SMTP?

Sep 2, 2009

Can anyone help me regarding SMTP configuration? I can able to configure and i can send mail from my domain to other domains but cant receive from outside domain

My question is what are the steps to configure SMTP...suppose i wanna configure SMTP server test.com and my hostname is ns1.test.com. so please mention the steps

View 1 Replies View Related

CentOS 5 Server :: SMTP Doesn't Seem To Work

Apr 28, 2010

I have a dedicated server running CentOS 5, Plesk 9.2.2, SMTP Postfix and Courier-IMAP.The issue I have is that on all domains on the server receiving email works fine however sending email never seems to work. This is from email programs, my phone, webmail and PHP. None of them seem to be able to send email. If it is of worth Spam Assassin is running however I don't feel it is causing any problems.

View 7 Replies View Related

CentOS 5 Server :: Sending All Internal Mail To The ISP's SMTP?

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

CentOS 5 Server :: Wasn't Able To Establish An SMTP Connection?

Mar 14, 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]...

View 3 Replies View Related

CentOS 5 Server :: SMTP Spamfilter Centos5.5 Dcc - On Config ?

Mar 3, 2011

I am trying to see if a can get a centos 5.5 server setup as an smtp store and forward spamfilter by following the Centos Wiki and the freespamfilter.org guide by Mr88Talent at [url], which relates to another linux distro.

The spamfilter is essentially working! however, i have one issue with DCC.

test problem:

I'm not sure if anyone else would be interested in a Centos version of Mr88Talent's tutorial, but a very rough and completely untested first effort is available at the following url: [url]

Any opinions on this setup or just a total slating of everything i have done wrong would be welcome as i don't want to waste time trying to use a setup that is just not going to be practical or reliable to maintain / keep operational.

I have read that yum update can break this type of system - which concerns me.

The intended use of the spamfilter is for a small business (only about twenty e-mail accounts). However, they still need to reliably receive e-mails (hopefully with less spam though).

View 9 Replies View Related

CentOS 5 :: Mailx And Sendmail Not Working?

Feb 19, 2009

Im unable to send mail using mailx or sendmail. The sendmail daemon is running.

View 1 Replies View Related

CentOS 5 Server :: Connect With SMTP / IMAP And POP3 Using Email Services?

Oct 2, 2010

Having my Diploma Final Project on setting up a virtual mail server within Local Area Network (LAN) only. I had follow this how-to [URL] and complete up to squirrealmail web mail. I added two new user to try on sending and receiving mail. It works. I run CentOS on VMplayer. I using my laptop to do all the stuff, the laptop default OS is windows 7, I install VM player on it and run CentOS inside the VM Player.

I want to do testing on Windows 7 side by installing Thunderbird email client program, I want to connect to mail server with SMTP, IMAP/POP3 using the email service. I have problem while setting up user account on Thunderbird, Thunderbird seems like cannot detect my CentOS mail server. How? Do I have to do any other configuration on CentOS? Any DNS? Port number for IMAP, POP3 or SMTP?

View 1 Replies View Related

Fedora Servers :: Set Up An External SMTP Relay Box?

Jun 29, 2011

I've tried googling this, and am having trouble finding something that doesn't end up being dizzying or confusing.

I was wondering if anybody could provide me with a concise, conclusive answer/guide.

I have a set of servers which require redundant SMTP relay. The first two of their SMTP relays are their own SMTP servers, and as such, are not dependable in the event that their network/servers go down. Their monitoring software runs on their machines as well, and uses the SMTP servers they themselves host.

I need to set up an external SMTP relay box that they can use to relay their monitoring alerts/admin notices in the case that their mailservers go down.

I have a company exchange server with pop/imap support @ my disposal but, unfortunately, that box runs Windows and does not permit any changes to services or additional software to add for the purposes of relaying clients.

So now, I need to create a dedicated linux box that can act as a relay to send email coming from the monitoring/admin/alert software in case their first two smtp servers have gone down.

View 6 Replies View Related

CentOS 5 :: Postfix Mail Server Will Not Start Tried To Change Postfix Smtp Port?

Oct 4, 2010

so i set out to change the default smtp port the server uses because my ISP blocks port 25 and i need the email to work in outlook. this morning i could receive email, but not send it. so i did some research and thought that i needed to edit the master.cf file in /etc/postfix/ by commenting out this line: smtp inet n - n - - smtpd -oand replace it with587 inet n - n - - smtpd (587 being the port i want to use)somewhere along the lines postfix server stopped running and now i cannot get it to start.if i try using SSH it crashes immediately and if i restart it in simple control panel nothing happens

View 7 Replies View Related

Red Hat :: Use Sendmail As Smtp Server Instead Of Isp Smtp Server?

Apr 6, 2011

is that my isp's smtp service is very poorso i want to configure my own smtp servr for my internal clients only for sending emails not receivingi have static ip on my router with 25 port forward i have configure sendmail on linux its working fine on local network mean its sending email on local domainnow i want to send emails on other external domains with my public ipMean user of mydomain.com should be able to send emails on all internet domains like yahoo.com, hotmail.com etc

View 8 Replies View Related

CentOS 5 :: SMTP Test Fails During Qmailrocks Install CentOS 5.5?

Oct 2, 2010

I am trying to run though the qmailrocks setup on a centos 5.5 and I am running into an issue when trying to telnet to port 25:

telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.

Everything else seems to be working (telnet to 110), and I turned off the firewall entirely, but I still cannot telnet to port 25. I also get a blank error within squirrelmail when attempting to send mail out (ERROR:Message not sent. Server replied: ). I apologize for not going directly to the qmailrocks forum, but they are currently closed down (due to lack of funds). I also am a newbie, so I apologize for the lack of needed information. If anyone has any ideas, please let me know what information you would need.

View 2 Replies View Related

CentOS 5 :: Error "DSN: Service Unavailable" In The Maillog When Trying To Use Mailx

Feb 21, 2009

I get this error in the maillog when trying to use mailx. (DSN: Service Unavailable)

View 1 Replies View Related

General :: Multiple External IP's To A CentOS Server?

Dec 6, 2010

I have a secondary IP (external/Internet, not LAN) for a CentOS box, what do I need to do to make the server bind to that IP as well as it's primary one?

View 2 Replies View Related

Server :: Server Configuration For Small Office Server, Which Smtp, Pop Imap Server And Backup?

Apr 2, 2010

I have installed a linux server in my office to run 16 machines. Its main use will be a internal mail server but will be also running websites.

I have installed Ubuntu 9.10 server x64 and have got apache running.

I am looking for the simplest more robust solution for smtp, pop3 and imap. I have only ever used qmail before and found it a pain to configure and its getting old so I though I should probably try something new. I have not much experience with running pop3 or imap on linux so would love a suggestion on that.

View 4 Replies View Related

CentOS 5 Networking :: Server Does Sometimes Not Respond To External Contact?

Mar 1, 2011

I have a CentOS 5 Server running for private fun... Just for playing with it and learn a little linux.this server has to Network interface cards. one for connecting from extern and one from connecting from the LAN.when i want to connect from lan (eg via SSH) this allways works!when i want to connect not from LAN this only works sometimes! only if i establish at the same time a connection from LAN it wors mostly.with other devices i have no problem (tested another server with just 1 NIC) and this works too.also the problem is not dyndns because i have the same problem when i try to connect through the direct IP.

View 3 Replies View Related

CentOS 5 Server :: Sending Logwatch To External Mail Address?

Nov 4, 2009

My ISP blocks outgoing email if it does not login properly with a valid account. I successfully configured sendmail to use SMART_HOST and confAUTH_OPTIONS with confAUTH_MECHANISM set to LOGIN PLAIN.

It successfully sends email because I tested it with evolution sending through 127.0.0.1, but I need to specify myacount@mydomain.com as the email address for root.

But it doesn't work for logwatch because it sends as from root@localhost.localdomain, and my ISP's smtp server rejects it. The message I get back in root@localhost account is the following:

----- Transcript of session follows -----
... while talking to smtp.mydomain.com.:
>>> MAIL From:<root@localhost.localdomain> SIZE=581 AUTH=<>
<<< 550 5.7.1 Client does not have permissions to send as this sender
554 5.0.0 Service unavailable

I thought that I should masquerade all emails from this domain, so I configured sendmail as specified in [1] section "24.3.1.4. Masquerading", but it doesn't work. It seems that masquerading in sendmail is broken or something is wrong in the documentation.

[1] [URL]

I have sendmail 8.13.8-2 and centos-release-5-4.el5.centos.1.

Is there a way to specify the "From:myacount@mydomain.com" in logwatch ? or Is there a way to make it work the masquerading in sendmail so I can masquerade everything as coming from a specific account?

View 4 Replies View Related

CentOS 5 :: Opening Console On External Server From Local Machine?

Mar 16, 2011

I would like to connect via SSH or similar to my servers located in a remote DC from a laptop running centos5. I normally do this on a puter running dows, and using secureCRT. Just wondering if centos has something built in for this, or if there is some preferably free software I can get.

View 7 Replies View Related

CentOS 5 Networking :: Access Website Via An External Server Through Proxy

Mar 30, 2011

i have a website named [URL]... now i want to access this website using proxy server(squid,or etc...) under my personal server named [URL]...means that [URL]...

View 4 Replies View Related

Server :: Server Status Command Output Getting Dumped To Smtp Server Instead Of A File?

May 24, 2010

I am working on linux server with below specifications.Linux EDT 2008 i686 i686 i386 GNU/LinuxWhile checking the status of the server using the command 'opmnctl status' and when server is down the output is not getting redirected to file.I m using the command as,opmnctl status > abc.txt.

View 2 Replies View Related

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

Server :: Sended Mail Go To Trash Folder Of Reciver Using Postfix In Smtp Server?

Nov 26, 2010

my postfix to send and recive external emails, but many recive in trash folder.Other programer say me that is need some configurations in postfix with and dovecot to work, but i dont know what!This is my first time configuring a linux server at this week.

my main.conf
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES

[code]...

View 3 Replies View Related

CentOS 5 :: SMTP Service's Can't Connected On Qmail (5.4)

Aug 18, 2011

I have installed qmailrock on my CentOS 5.4, finishing installation until sucees to launch webmail via GUI (squirrelmail). but my smtp service (:25) is always failed to connect.I can telnet on port 110, 80, etc. But on port 25, the result is not shown comment 220 oK.when i check using : qmailctl stat here the result :

/service/qmail-send: up (pid 26403) 5 seconds
/service/qmail-send/log: up (pid 26404) 5 seconds
/service/qmail-smtpd: up (pid 26455) 0 seconds

[code]....

FYI, i have installed postfix before, but i've un-install it using yum remove.

View 3 Replies View Related

Server :: Slackware Based SMTP Server Running Sendmail Is Having These Errors ?

Apr 7, 2011

Im not able to find good response on this from google, urgent help required.

While im looking at my smtp server log at /var/log/maillog, im having these two errors for which im unable to find the reason.

1)Could not open inline file /etc/MailScanner/reports/en/inline.sig.txt, No such file or directory

2)did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA

View 1 Replies View Related







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