CentOS 5 :: Getting Response From Port 25, Postfix?
Sep 13, 2010
I am new to Linux, moreso to CentOS, but I can definitely follow walk-throughs and tutorials easily enough.
I am installing a webserver for our small business and decided to go the postfix/dovecot route.
I installed everything based on the walkthrough on linuxmailcom and eve put squirrelmail on top, so users can access via webmail. I am able to send mail just fine, users/folders are setup and working as they should for sending, but I am unable to receive any mail. MX records have been updated to direct mail @mydomain to this mailserver machine. The problem I am having is with port 25... If I do 'telnet x.x.x.x 25' I get no response, just a timeout then back to command prompt. My other ports are fine, and I get the banner for each 110, 143, etc... all ports but 25 work internally and externally, forwarded.
I tried turning off firewall rules, and still, nothing from port 25. Should I try to have postfix listen on another port by editing its' master.cf, or is this is problem with my centOS/Linux instead. I didn't know where to go with this, so I thought the best place to start was here.
View 2 Replies
ADVERTISEMENT
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
Aug 11, 2009
I cannot get either sendmail or postfix to send a 220 response, nor respond with details. See below for sample telnet output. Details: I have a server that requires email, but only for light use. I'm definitely not an expert, but I have set up a sendmail configuration on a previous server. I tried to configure sendmail first and then postfix later, when I couldn't get sendmail working. I'm not sure exactly what the problem is, but I have a feeling the following might yield some important information. Note: this is the result for Postfix, but virtually the same thing happened with sendmail, too. That is, initially the telnet connection would close immediately. Afterwords, I could connect a second time but then it never responded with a 220 banner nor any 250's.
[Code]...
View 4 Replies
View Related
May 2, 2010
I have a mail server i need it to send message via port 587 not port 25, i make some changes to my postfix server which i use and it is already successed making a telnet to 587 port like it :
[Code]....
View 3 Replies
View Related
Feb 17, 2010
I have a problem concerning the vacation(auto response). I got a mailserver(smtp.mydomain.com), pop3/imap-server(mail.mydomain.com) webserver(www.mydomain.com, with postfixadmin on it). I use Debian 5.0 So it's like this, I receive mail to smtp.mydomain.com, it get checked for spam with amavisd-maia(Maia Mailguard), then delivered to the pop3/imap-server. I'm guessing there's something wrong with my postfix setup. I activate auto response for my account, when I get a mail it says this at smtp.mydomain.com:
[Code]...
View 2 Replies
View Related
Jul 20, 2010
I have installed Centos 5.4 with Sendmail 8.13.8, i have modified sendmail.mc file and compiled to sendmail.cf with following lines
1. TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')
2. Define define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
3. DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
My problem is that when i try to open port 25 with telenet it takes lot of time like more than 1 minute to open session and another 30 - 40 seconds to respond to "ehlo" command.
Also when i try to open telnet session on port 25 in another server it hardly takes 1-2 seconds open session.
View 6 Replies
View Related
Dec 12, 2008
I have isntalled a server with Centos 5.2 OS, now I would like to switch from the default sendmail to postfix doing a yum install postfix I've noticed there is already available an rpm version for the OS but I would like to compile my own 2.5 version, I've noticed compiling from source does not allow me to use the mail switcher to tell to the system I'm gonna use Postfix instead of Sendmail as the default MTA while this is possible when I use the "official" rpm version of the package. Now my question is this, would this be a problem? There is some specific procedure/best practice I should follow? Or once compiled and configured Postfix I can safely disable/uninstall sendmail?
View 6 Replies
View Related
Mar 28, 2009
I am trying to install CentOS 5.2 on an HP rp5700 desktop unit. These units were originally sold as a Point of Sales unit I believe, but HP also markets it as a high life cycle server for SMB market.I tried to load CentOS on this unit via CD (created from downloaded ISO of course). It presents the initial CentOS banner page and waits for the obligatory "enter" to continue. It begins the boot process up to discovering the PCI stuff and just locks up, no response. I have to power down to restart.Since this does not even get to the point of installing. I am at a loss what to do next. Has anyone had a similar issue with other PCs.The boot stops at the lineACPI: PCI Root Bridge [PCI0] (0000:00)
View 3 Replies
View Related
Oct 14, 2010
my ISP block port 25. So i enable the port 587 in my postfix but every time of external ISP try send email to me, it try send on port 25. How can i "tell" to every external postfix to send me on port 587 ? Exist some configuration on DNS to this ?
View 1 Replies
View Related
Jan 30, 2010
I tried searching and tried different things and have failed miserably. What I am trying to accomplish is have postfix listen on port 587. I have read that I should do this using Linux Firewall rules as to not mess with postfix config. Here's what I have in my ip6tables.
Code:
iptables -t nat -A PREROUTING -p tcp --dport 587 -j REDIRECT --to-ports 25 However, when I restart ip6tables I get unknown arg --to-ports
View 11 Replies
View Related
Aug 7, 2010
I have just built a new postifx open relay server to allow my ISP clients to send emails. During testing of the SMPT protocol, I can managed to send emails to my localhost however, I can't send emails to other external mail server. Below is a test to a yahoo account. Aug 7 15:03:55 mx2 postfix/smtp[4050]: connect to g.mx.mail.yahoo.com[98.137.54.238]: Connection refused (port 25) Aug 7 15:03:55 mx2 postfix/smtp[4050]: F084EC8D76: to=<ellyu4@yahoo.com>, relay=none, delay=8.5, delays=1.2/0.05/7.3/0, dsn=4.4.1, status=deferred (connect to g.mx.mail.yahoo.com[98.137.54.238]: Connection refused)
[Code]....
View 16 Replies
View Related
Mar 23, 2010
I just installed a fresh CentOS5.4 and started httpd & mysqld and did the following testing
1. named the following file as index.php and put to /var/www/html (default DocumentRoot)
<?php
echo 'connecting...';
$conn = mysql_connect('localhost','root','');
if(empty($conn))
[Code]....
View 3 Replies
View Related
Aug 15, 2010
I had centos 5-5 server with 6G of RAM and 4 core cpu 3GHZ i installed bind 9.7.1-p2 on my server with multi thread support there are a lot of dns requests on my server , about 2500 Packets/sec and 3Mbit UDP traffic but my server response week to most of them.
For example when i use nslookup or dig command to query Yahoo.com the response from server maybe deliver about 5 Sec or become timed out , but sometimes response time less than 1 sec!
I don't know why, perhaps kernel works week so i decided to do the following :
But the problem didn't solved
I previously had Freebsd with same version of bind and same configuration and everything worked fine.
View 8 Replies
View Related
Nov 21, 2010
I have strange issue on Centos 5.5 server.I have static IP address (192.168.58.2) on eth1 card and can't get ping response from some sites.PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
[code]....
View 3 Replies
View Related
Jan 2, 2010
configuring my postfix server to send mail over smtps port 465. My ISP (as is the case with many ISPs), is blocking outbound SMTP, so I need to configure postfix to relay my mail out through my ISPs SMTP servers.
I was able to get it to work with gmail, which uses port 587, by using SASL: [URL] but that configuration is less than ideal as gmail drops the "reply to" address so when people receive my email, it looks like it's from gmail instead of from my server.
If I use my ISP SMTP servers as a relay the "reply to" address is not stripped, but the relay uses ssl over port 465 instead of TLS. According to the SASL readme:
Quote:
Postfix does not deliver mail via TCP port 465 (the obsolete "wrappermode" protocol). See TLS_README for a solution that uses the "stunnel" command.
I've looked at the TLS_README and can't figure out what I need to do. how to configure this?
View 7 Replies
View Related
Jan 29, 2011
I'm a NOOB setting up Postfix but managed quite well by following the Ubuntu Server guide. I have managed to set it up using SSL but testing a mail client like thunderbird I can also connect to port 25 using no authentication. Connecting using SSL on port 465 by editing "master.cf" file works but 25 i still open.
1. How do I prevent clients to connect to port 25 without authentication?
2. I guess I have to have port 25 open in order to receive mail from the outside world?
View 2 Replies
View Related
Jul 19, 2011
when I try to access any page even small html pages it stays like 3 seconds in HTTP request sent; waiting for response. state..even when I use Lynx locally on the server..bypassing any possible network issues..logs dont show a thing..the server itself is a high end server with nothing running on it apart from apache which is not serving anny clients now, firewall is disabled and hostnamelookups are set to OFF.
View 1 Replies
View Related
Mar 11, 2010
Here is what i do: make clean make makefiles CCARGS='-DEF_CONFIG_DIR="/opt/product/postfix-2.6.5/etc"
-DEF_COMMAND_DIR="/opt/product/postfix-2.6.5"
-DEF_DAEMON_DIR="/opt/product/postfix-2.6.5/libexec"
-DEF_MAILQ_PATH="/opt/product/postfix-2.6.5/bin/mailq"
-DEF_DATA_DIR="/opt/product/postfix-2.6.5/lib"
-DEF_NEWALIAS_DIR="/opt/product/postfix-2.6.5/bin/newaliases"
[Code]...
make install then i got this error: postfix: fatal: chdir(/usr/libexec/postfix): No such file or directory make: *** [install] Error 1 I don't understand why it's checking the usr/libexec folder for the daemons although I've set the folder to /opt/product/postfix-2.6.5/libexec in the makefile. Here is also the cat of my makedefs.out:
[Code]....
View 1 Replies
View Related
Jun 21, 2011
I got a request today from someone on the software development team that reads as follows: Quote: According to RFC 4409 client mail submission to an email server is supposed to use port 587. Server to server SMTP relays are to use port 25. When I am not on site, I can't email via my work account via my iPhone or my residential internet because my ISP(s) filter port 25 to only allow traffic to and from their mail servers. They do however allow 587 anywhere per RFC 4409. Just to send this email I am having to relay off my own server in California. get the proper ports opened on the mail server? [URL] So my question now is I'm wondering if my Postfix server isn't properly configured? Right now it's listening on the following ports:
[Code].....
View 1 Replies
View Related
Aug 31, 2009
Can anyone here point me to a walk-through or discussion of how to use Webmin to set up port forwarding/NAT on a dual-NIC Centos 5.3 box? The layout will be simple:
Internet --- NIC1 [CentOS Box] NIC2 --- Switch to other PCs
We have a BUNCH of exposed services that are on special ports -- for example, to connect to one machine, you go in with [IP_Address]:12000, and to connect to another, [IP_Address]:12002, etc., etc. We're currently using OpenSuse 10.3 on this box, and YaST makes this criminally easy (you give it the incoming port number and the destination IP/port numbers and it just works). But OpenSuse 10.3 is nearing EOL, we're buying a new machine, and I'd like to use CentOS on the new one.
I've read the sparse Webmin documentation in their Wiki, and it leads one to believe that you simply insert a "NAT" rule. But there's obviously something they're leaving out. I *am* opening the ports in the firewall. But when I log in to [IP_Address]:port, it just times out. The port forwarding never occurs. The test in this case is SSH, and I know that SSHD is working properly because I can log into that machine just fine from another PC on the same internal subnet.
View 8 Replies
View Related
May 30, 2011
i am not able to port 8080 on my CentOS VPS server.I have followed all the instuctions as mentioned on iptables wiki page.Also I am able to telnet my ip address and port number, But can not access from browser.
View 6 Replies
View Related
Feb 10, 2011
Pl can anyone guide me to connect centos 5.5 using ethernet port to ADSL Broadband modem which is configured in PPPoe mode?
View 19 Replies
View Related
Jul 13, 2010
I installed postfix and configured it but for some reason it keeps shutting down right after startup. Here is what happens,
[root@server /]# /etc/init.d/postfix restart
Shutting down postfix: [FAILED]
Starting postfix: [ OK ]
[code]....
View 8 Replies
View Related
Dec 26, 2009
we are going to install ASTERISK remotely, hence the port 22 in the server has to be open ,Can somebody reply me with exact commands?I tried these commands and got these results
Command : cat /etc/services | grep xxx
Result : No Such file or directory
Command :netstat -nan | grep 22
[code]....
View 4 Replies
View Related
Dec 22, 2009
I have a webserver that I run myself utilizing CentOS 5.3. I added a postfix server just to send outgoing mail to people who are part of my webpage. I do not do any email exchange so I can actually receive email on the server, only send (if someone can help me out with that I'm willing to listen).Basically I want to add a disclaimer to the bottom of every email that gets sent out, no matter who sends the email, stating the the email is sent from an unmonitored email account so don't reply to the email. I followed the steps listed here [URL].. even though it was for Fedora 8 it seemed to do what I needed it to do. For some reason no matter who I send email with the disclaimer does not show up. I am doing masquerading so when the email gets send it shows it comes from my domain, not localhost.localdomain because most webservers block it assuming it is spam mail.
View 2 Replies
View Related
Dec 27, 2009
What is wrong with my yum :(Sendmail refuses to start ( doesnt give an error ) just doesnt start.Anyway, so i want to use postfix or qmail, but yum doesnt have them in.?
Any ideas how i can get postfix installed? Im getting soo tired of yum not actually having anything useful in it. [root@status1 ~]# cat /etc/redhat-release CentOS release 5.4 (Final)
View 1 Replies
View Related
Aug 2, 2010
I bought an SSL certificate that I am using for my whole website and would like to use that for postfix as well. I created my own as a test and it worked fine, but I want to use the one I bought because that is trusted, more secure, and the user doesn't get an untrusted popup every time they check their mail through outlook.
The problem is that I don't have a defined "key". I have two files, they are two certificate files. One is the website certificate and the other is a bundle certificate. I tried setting bundle as the key and the actual website cert as the certificate but that did not work. Can I do this? Is their a different type of cert I need to buy for this? What do I need to make "smtpd_tls_key_file" and "smtpd_tls_cert_file"?
My two files are, "sf_bundle.crt", and "website.com.crt".
View 6 Replies
View Related
Sep 1, 2011
I would like to disable SSLv2 in Postfix but unfortunately Google has failed to produce a suitable answer. There are numerous posts on blogs and forums and such that do not appear to actually work. For example, one such post (which has been copied about quite a bit) says to use the following main.cf directives:
smtpd_tls_mandatory_protocols = SSLv3, TLSv1
smtpd_tls_mandatory_ciphers = medium, high
But if I run:
$ openssl s_client -connect xxxx.xxxxxxx.xxx:25 -starttls smtp -ssl2
the command is successful and SSLv2 is still negotiated.
The Postfix documentation does not provide an example of this particular case but I don't think it would matter much if it did since I somewhat doubt that anyone other than the developers themselves fully understand how these directives actually work.
How do I disable SSLv2 in Postfix and more generally disable ciphers that are considered to be weak?
View 1 Replies
View Related
Feb 25, 2010
I was having before Redhat mail server which using postfix mail there is some problem of this mail server i need to format and to set up again new mail server in Centos 5.4.how to back up postfix mail server and to restore into Centos 5.4?[/B]
View 1 Replies
View Related
Feb 25, 2010
I have a CentOS 5.3 system running a recently installed Postfix (I removed sendmail so I positively know it's running Postfix).
I am able to send out email as user root, but when I change to another user on the same server, the mail delivery fails.
Here's what's captured in the /var/log/maillog:
Here's my main.cf
No changes to other Postfix files since install, so they are the default files.
View 1 Replies
View Related