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


ADVERTISEMENT

Debian :: Forward All Root Mail To External E-mail Account?

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

Fedora Servers :: Way To Continue To Use SELinux / Forward Root's E-mail To Outside Account?

Dec 23, 2009

I have installed Fedora Core 11 with SELinux enforcing.It appears (via log files) that if I use a .forward file in the home directory for root that SELinux prevents the use of this mechanism for forwarding e-mail.Is there a way to continue to use SELinux and be able to forward root's e-mail to an outside account?

View 3 Replies View Related

Server :: Postfix Not Relay Mail Via Gmail Account SMTP

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

Ubuntu :: Evolution Mail - Bad Authentication Response From SMTP Server

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

OpenSUSE Network :: Postfix Send Root Mail To External Account?

Aug 19, 2010

I want postfix to send me the root mail to an external account, but I never do it and I don't know how to do it, anyone can explain me how to do it?

View 1 Replies View Related

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

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

Ubuntu :: Use Smtp Authentication For Php Mail Form?

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

Ubuntu :: Forward All The Messages From Evolution To A Mail Account?

Mar 18, 2010

I have set up evolution with two POP account and it deleted all my mails from the servers, migrating them on the local machine.

How could I forward all the messages from Evolution to a mail account so I can access them over the Internet?

Forwarding all of them as attachment doesn't, because many of the emails themselves have attachment and it gives an error saying attachment type not supported.

If I try forwarding inline or quoted I have to forward them one by one and there are around 4000.

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 :: Mail Bouncing - SMTP Error From Remote Mail Server After Initial Connection: 550 Access Denied

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

Networking :: Forward SMTP Packets From Web Server To Another Machine?

Mar 8, 2010

I've a webserver at 10.10.0.55. Above in the hierarchy are managed network cisco switch / router and ASA firewall (the usual stuff). I also have a mail server at 10.10.0.200. I was told by the network admin that he can't forward port 80 to webserver and port 25 to mail server. Basically he said that it's a one-to-one (external.ip-to-internal.ip) mapping and all traffic, no matter what port it's destined for must go to 10.10.0.55. So, I turn to the wonder that linux is. The webserver is running Centos 5.4. Currently, all packets on port 25 are coming to the webserver. I want to forward all these packets to the email server. Note: the webserver only has one interface: eth0. I turned to web for help and did this in iptables:

Code:

$IPT -A FORWARD -p tcp -s 0/0 -i eth0 -o eth0 -d 10.10.0.200 --dport 25 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT

It didn't work. I am assuming that since I only have one interface, a simple rule to the filter table and forward chain will not work.So i use the NAT table and try the following:

Code:

echo 1 > /proc/sys/net/ipv4/ip_forward
$IPT -t nat -A PREROUTING -p tcp -i eth0 --dport 25 -j LOG --log-prefix PortForward: --log-level 7
$IPT -t nat -A PREROUTING -p tcp -i eth0 -d 68.***.26.*** --dport 25 -m state --state NEW,ESTABLISHED,RELATED -j DNAT --to-destination

[code]....

First of all, since there is no service/daemon listening on port 25 on the webserver, is it even going to work? Isn't the webserver simply going to discard packets on port 25? I am assuming that packets go through the iptables first, and so iptables should route the packets to the email server, where there is postfix listening on port 25. Am i right? Also, as you can see in the code above, all packets coming on port 25 on the webserver should be logged. But they aren't. In order to troubleshoot, I'd like to at least know that packets are coming into the iptables. But since it's not logging, I can't find out what's wrong.

View 7 Replies View Related

SUSE :: Mail Bouncing - Xx@xx.com SMTP Error From Remote Mail Server After Initial Connection

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

Server :: Mail Server Migration - How To Deliver Locally AND Forward Mail To New Server

Jan 21, 2011

Can this be done? A company is currently running a postfix mail server. They got a new server and, while the users are migrated, they need to have the messages delivered on BOTH servers.

I thought it could be easily done in postfix: deliver locally AND forward mail to new server, but all solutions I found would deliver the messages in just ONE place.

View 1 Replies View Related

Server :: Exim With SMTP PLAIN Authentication *WITH* TLS

Apr 14, 2010

CentOS: 5.4
Exim: 4.63

I want to setup Exim to only allow sending mail from the localhost and externally with Plain authentication. I know I should use TLS but not all software supports TLS, I want Exim to use its own userpass file not the local system. I have spent a few days trying to get this setup, so far I have followed this: [URL].... But unsure what to change to remove the need for TLS.

[code]....

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

OpenSUSE :: SMTP Server Doesn't Support Authentication?

Aug 14, 2010

I just dowm loaded and installed 11.3 openSuse I set up Kmail but when I tried to send it says Your SMTP server does not support authentication. The server responded: "5.5.1 command unrecognized" The message will stay in the 'outbox' folder until you either fix the problem (e.g. a broken address) or remove the message from the 'outbox' folder. The following transport was used: Charter.net I did set up the email correctl

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

Networking :: Send Mail To The Root / Any Account Of A Remote UNIX Computer?

Mar 29, 2010

Sending computer runs linux. Recieving runs OS X.

View 2 Replies View Related

Debian Configuration :: Exim4 Public Not Requiring Any Authentication

Jul 9, 2015

I've installed it properly until it works now, it does send emails and receive them, but heres the problem.

1) it does not send emails to a certain domain, unless i do dpkg-reconfigure on exim4 and put the domain on allowed relay... can't i just put something on settings which allow to send emails to ALL domains?

2) EVERYONE can connect to the server by telnet from any position, terminal or pc, and just use an existing user to send emails to anyone.... example, i have testuser123 setted up in debian/exim4 .. then they simply write "mail from:testuser123@host.dot" and the server accepts it.. without even request an authentication for that. And this is a problem, because everyone can use my email addresses to send emails to whoever.. heaven for spammers/hackers..

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

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

Server :: Forward Mail Based On Sender ?

Aug 30, 2010

I vae Ubuntu, postfix. I need to forward e-mail based on sender. Can I do it with .forward ?

E-mail that comes from user@yahoo.com destined to user@mydomain.com to be forwarded to user@gmail.com. Other e-mail that comes from any addresse must not be forwarded.

View 2 Replies View Related

Server :: Unable To Forward A Mail With Attachment?

Feb 26, 2011

im unable to forward a mail with attachment my problem is as below cat /root/data|mail -s "subject" [URL] its not forwarding mail and not throwing any error my attached file is more than 100MB ,will any one me with correct syntax how much length of file can be attached maximum i also tried like this mail -s "subject" [URL] < /root/data its also not working

View 2 Replies View Related

Server :: Postfix - Sending SMTP Mail ?

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

Ubuntu Security :: Add Smtp Authentication To Postfix Installation Used As Spam Filter For Exhange Server

Feb 26, 2010

I followed this How To (https://help.ubuntu.com/community/Postfix) in order to add smtp authentication to my Postfix installation used as spam filter for my exhange server, and it'seem all ok; the only thing that I don't understand is where I list all the users (with passwords) that I authorize to send mail through my server...

View 3 Replies View Related

Server :: Forward Mail Of One User To Other In Sendmail Server?

Jan 5, 2011

i have configured sendmail server in my lan and it is working fine for me.but there is one little problem for me. i want mails send sunita should be received by vinita.sunita and vinita both are normal users on same pc.

for this i made entry in
Code:
/etc/aliases sunita: vinita

View 14 Replies View Related

Server :: Apache Virtualserver To Forward All Mail - Subdomains?

May 8, 2011

I want to setup a mail virtualserver in apache so that a mail. subdomain whats pointed to the box will automatically goto my roundcube install. i have all of the document root stuff working, however, mail.* doesnt work for a server name.

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







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