Server :: Sendmail: Telnet Test From External Networks
Jul 22, 2010
I seem to having some strange issues with my new sendmail server and was hoping that somebody can offer some assistance with this issue. I recently tried to setup an enviromental monitor that sends alerts via email using a dedicated email account I created on my sendmail server. For whatever reason, it does not seem to be able to send emails, and I have verified the account credentials multiple times.
So I attempted to run a telnet SMTP test to determine what the problem was. I was able to connect and send the emails using this test perfectly fine from my local subnet, however I ran into problems attempting this test from the outside world. When I connect the SMTP PORT 25 from the outside world, I get what seems to be a malformed SMTP greeting.
[Code]....
View 2 Replies
ADVERTISEMENT
Jun 7, 2010
After searching the forum I could not find a clear answer to my question so I am giving it a try...
I have installed a LAMP server with Postfix as mail server. The scripts send email as user www-data using the mail server on the same machine.
However, the email got rejected by external mail servers (failed reverse DNS check) so I setup a mail server that meets all needed requirements.
Now I would like to use this second server instead of the mail server on the LAMP server. I found that this could be done with changing sendmail settings in php.ini (I think).
However I am not sure how that will go: www-data is no actual user on the new email server (which requires authentication before sending). Do I need to create a new user on the email server or change the settings in php.ini to match an existing user?
View 1 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
Jan 11, 2011
I have been trying all day today to setup a sendmail SMTP server on our Red Hat 5.5 dev box. We have 2 network cards, 1 to the local network with a 192.168 prefix and an external card which goes out to the web through a BT leased line through a Cisco router.
First I followed one of the many helpful tutorials online to setup sendmail, installed all the required packages and made a couple of small config changes to allow the service to listen on all IP addresses rather than just the localhost 127.0.0.1.
The main change is in the /etc/mail/sendmail.mc file where I have changed the following line;
DAEMON_OPTIONS(`Port=smtp,Addr=x.x.x.x, Name=MTA')dnl
I have tried removing Addr completely, setting to either the local or external IP and then rebuilding the sendmail file using 'make -C /etc/mail' and then restarting using 'service sendmail restart'
The SMTP port has been added into the firewall and it is showing to be listening on IP 0.0.0.0:25 which I believe means it is listening on all IP's assigned to the machine, sendmail is also in listen mode and running correctly.
Finally I have changed the /etc/mail/access file to include the local IP range 192.168 and external IP range and rebuilt this into the /etc/mail/access.db file and then restarted sendmail.
Googling the error all the sites I have found talk about making sure the 'DAEMON_OPTIONS(`Port=smtp,Addr=x.x.x.x, Name=MTA')dnl' line is uncommented and not much else in terms of what else might be incorrect.
I am starting to run out of ideas on things to change or check, telnet works correctly on other ports on the same server, ie httpd for apache on port 80. I have also rebooted the server to make sure that it wasn't something odd happening.
View 2 Replies
View Related
Feb 10, 2010
how you I can configure sendmail to use 2 different configurations of virtusertable as access was being made from internal and external institution?
View 5 Replies
View Related
Aug 27, 2010
In an IPv6 test environment I have installed an openSUSE 11.2 system. I have also installed telnet and it works with IPv4 (I can open a session from a Windows console with "telnet ipv4addr").
If I try to open a session with "telnet ipv6addr" I get the response: "Connecting To ipv6addr. Could not open connection to the host, on port 23: Connect failed".
Does the telnetserver support IPv6 or did I something wrong?
View 4 Replies
View Related
Jan 27, 2011
how to install, configure and test Sendmail in Redhat Linux. I don't have yum installed on my system, so I cannot use yum install sendmail command.
View 3 Replies
View Related
May 23, 2011
I have CENTOS 5.4 Installed in one machine and i used Real IP provided by our ISP.My requirements for Mailserver are:
Dovecot
Postfix
everythings done but when i tried to telnet my External IP it giving me an error of telnet connection refused but i can able to ssh to my external IP and also i disabled the firewall but still no luck.
View 12 Replies
View Related
Nov 1, 2010
I am using webmin for my daily tasks. I have fedora 13, whenever I click on ''Sendmail M4 Configuration'' or Outgoing Addresses (generics)'' I get the following error message
Quote:
The Sendmail M4 configuration base directory /usr/share/sendmail-cf was not found on your system, or is not the correct directory. Maybe it has not been installed (common for packaged installs of Sendmail), or the module config is incorrect. I read documentation at sendmail.org, it seems that structure of directories for send mail has been changed in version sendmail-8.1.4 shipped with FC13. In webmin config module we have
Quote:
Sendmail M4 base directory = /usr/share/sendmail-cf
which is not there. I did a locate / sendmail-cf on the command line, it finds nothing
View 17 Replies
View Related
Jun 8, 2011
I'm running Telnet Server, VFTP, and VNC on a Fedora 14 box. The box's internal IP is 192.168.1.222 This machine is configured to live in the DMZ, The firewall is up on both the router and this box. I can remote in from home using our external IP. I can FTP. I can Telnet. All using our external IP. When i'm in the office, i can remote in using our external IP. I can FTP. I can Telnet. Again, all with the external IP. If i attempt to telnet 192.168.1.222 i get a connection refused. i can ping the 192.168 address
nmap tells me that all 1000 ports on 192.168.1.222 are closed
nmap tells me that my expected ports are open on the external IP.
.... This is a relatively new conundrum as it "used to work", and only appears not to since our last reboot (power outage). I know i have to be missing something simple here, but i differ to the experts.
View 5 Replies
View Related
Apr 1, 2010
I recently modified sendmail.cf to use a third party SMTP server to send emails. It works great. But when I run sendmail from the command line, I have to specify the -C flag and force feed it the location of my sendmail.cf, or else it doesn't work.
So in other words, the following works great:
However, if I don't specify the -C flag, sendmail doesn't consider what's in the sendmail.cf and barfs:
I don't run sendmail as a daemon. I'm only using it to send emails. I know my modifications of sendmail.cf are correct because it works perfectly when I use the -C flag. I searched my disk to see if I could find another sendmail.cf on the machine and only the one in /etc/mail came up.
Why sendmail is not reading my sendmail.cf?
I'm running Sendmail version 8.14.2 on Fedora Core 8.
View 1 Replies
View Related
Aug 17, 2010
I have a fairly standard home network set-up with a router and a couple machines on the internal network (with private IP addresses 10.0.0.x). One of these machines is running my subversion server, which is in turn used by my laptop. I am now trying to configure my laptop in a way that I can have one working subversion copy connected to the repository which works both when the laptop is connected to my home network as well as if its connecting from internet. I configured a "virtual server" on the router, so that port 443 goes to the machine with subversion, and this works fine. Now I don't know how to configure the laptop to go to the same machine - because the IP is different if I want to access it from outside and from inside. I tried to connect to the external IP of my network, but the router refuses to let the connection go "out and in again". how to get it configured?
I am using Debian linux with wpa_supplicant on the laptop.
View 1 Replies
View Related
Jun 15, 2011
When I use sendmail (or, most commonly, a PHP or Perl script uses it) to send to any other domain except my own, it works great. When I use it to send to my own domain, however, it's trying to deliver it to localhost. Problem is, all our mail is handled by an Exchange server on a different machine, so I really don't want If I run sendmail manually for a test message to myself, here's how it comes up after the message is closed out:
Code:
echo "Subject: test" | /usr/sbin/sendmail -v me@domain.com
354 Enter mail, end with "." on a line by itself
>>> .
050 <me@domain.com>... Connecting to local...
[code]...
The message then gets dropped into my box at /var/mail/xxxx, but that's really not helpful to me -- I need to to connect to that other machine to deliver the mail there. This machine isn't used as a mail server at all. Also, if it's trying to send to a username that doesn't have an account on this server (we have many), it just fails entirely with "user unknown" (that makes sense, as there are only a couple of user accounts on the web server). how to get sendmail to connect to our mail server instead of "local"?
View 4 Replies
View Related
Jun 30, 2011
I am trying to send an email by sendmail (ubuntu) to external servers, but unable to send. following is what i am trying to do and what i got the response:
sendmail -v xxx@hotmail/gmail.com < mail.test
where mail.test contains
[COLOR="rgb(105, 105, 105)"]
From: bla@bla.com
[code]....
View 2 Replies
View Related
Jul 28, 2009
I have a seagate SATA hard drive that was running a mythtv distro. It had 3 partitions, EXT3, swap, and XFS. I started having I/O errors on boot and saw error messages on both the EXT3 and the XFS partitions. I also heard some clunking sounds on the drive when it was reading, so I thought hell, the drive is dead.
I have since replaced the drive and everything is back up and running on the replacement drive. I thought hell, the seagate drive is toast, but I just want to verify it with some sort of tool. I have the hard drive in a Vantec NexStar external hard drive case (SATA->USB) and found there was a tool called badblocks. Ran badblocks on it, which ran for 24ish hours and found no bad blocks. I also didn't notice any clunking sounds while it was running.
I ran
Code:
badblocks -n -v /dev/sdb
Is badblocks a proper test to run on external hard drives or was I just wasting my time? Is there any way that I can really test it without removing it and connecting it with SATA to the motherboard?
View 7 Replies
View Related
Feb 18, 2010
I am trying to find the difference between the above two services. Both are under xinetd and can someone please explain the difference between them (is one more secure than the other one?)
View 1 Replies
View Related
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
Apr 18, 2011
I've configured postfix on my linux server. For the most part, I got everything working (IMAP, apache, etc) but for some reason, I can't get postfix to work remotely. Postfix works locally to send mail. E.g. when I telnet locally to port 25. However, when I try to telnet from outside, the connection closes almost immediately. I've looked at various configuration options and tuning enhancements but found nothing helpful. Here is my config:
Code:
main.cf:
#See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
[code]....
View 4 Replies
View Related
Nov 9, 2010
I just setup a server using Ubuntu 10.04LTS Desktop edition. I am a novice in these things. I was able to setup the SSH server and it works from outside my LAN quite well. I can telnet to it also with 22. I have then setup an email server. I can do telnet to it from the server itself but from the internet it just times out.
I did netstat -nlp and it shows that it is listening to port 25. I have port forwarding for 25 enabled on the router. I cleaned up all the rules of iptables and iptables -L shows everything is accepted.
View 2 Replies
View Related
Mar 15, 2010
How to create a telnet server in ubuntu..?My students have unix Lab by next sem and so i would like to create telnet server so that they can access it from windows..
View 3 Replies
View Related
Mar 24, 2010
I would like to make a telnet connection to one server. I can't do this at first beceause i necesary to connect to another server. I use the program putty and this is the command to connect to my first machine:
[Code]....
View 2 Replies
View Related
Mar 25, 2011
I'm trying to test smtp connectivity to my postfix configuration and I can telnet to port 25 from the computer itself but cannot from the outside. I get a connection refused error message. What am I doing wrong? I believe my dns is setup correctly as it seems the telnet can hit the box so I'm fairly sure its not that.
View 14 Replies
View Related
Jun 29, 2010
how i will write my own telnet server instead of existing one.please give me the path for telnet.c file in the linux kernel
View 9 Replies
View Related
Oct 21, 2010
I am able to telnet localhost 143 and telnet ip 143 on localhost.but from outside network am not able to telnet ip 143.
View 2 Replies
View Related
Feb 22, 2011
just now i installed telnet on my VPS. but while connecting to other server it gives error
# telnet 10.10.10.224 Trying 10.10.10.224... Connected to 10.10.10.224 (10.10.10.224). Escape character is '^]'. Connection closed by foreign host.
View 4 Replies
View Related
Apr 17, 2011
I'm using something like telnet [URL] 25 and it comes back as not being able to connect to host on port 25. I don't have port 25 blocked anywhere. I turned off the firewall and even opened up port 25 on the hardware firewall router. If I ping it I can connect.
View 2 Replies
View Related
Aug 28, 2010
Why am I not able to telnet to a Windows server machine? Is it because the telnet server is not running there? A remote desktop connection works though.
Does a telnet server run by default on a Unix machine?
View 3 Replies
View Related
Oct 13, 2010
I have a question about telnet.Is there any way to configure a telnet server without disable firewall.I am using redhat 5.2 and fedora 12.I have lack of knowledge about firewall.
View 1 Replies
View Related
May 5, 2011
Is it possible to restrict telnet connection from remote to my server(linux -centos5)?
=================
Ex : [root@localhost]# telnet 10.0.0.33 80
Trying 10.0.0.33...
[code]...
View 2 Replies
View Related
Sep 20, 2010
I googled it and found this information: To enable the telnet service, login to the server as the root user account and run the following commands:
Code:
# chkconfig telnet on
# service xinetd reload
but the very first command did not work.
So, how do we...
[1] start and stop telnet service on UNIX / Linux?
[2] specify configurations / settings for the telnet service to accept or deny connections
View 7 Replies
View Related