I have spent the past month learning how to setup an unmanaged VPS on my own...but there's one thing I can't figure out. I've searched for and read everything I could, but nothing I try seems to work. I don't know what I'm missing. When trying to send email through Outlook, I get the error message: "421 Cannot connect to SMTP server 173.0.48.122 (173.0.48.122:25), connect timeout', Port: 25, Secure(SSL): No, Server Error: 421, Error Number: 0x800CCC67" error." Any kind of help would be greatly appreciated! This is the only thing I have left to finally have a fully functioning VPS Here's some info that hopefully will help: * I am using Webmin w/ Postfix & Dovecot * Debian 5 OS * I don't have iptables set up yet, so all ports should be open. netstat -tap Code: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:smtp *:* LISTEN 12039/master tcp 0 0 *:imaps *:* LISTEN 1362/imap-login tcp 0 0 *:pop3s *:* LISTEN 9481/pop3-login tcp 0 0 localhost.localdo:10025 *:* LISTEN 12039/master tcp 0 0 localhost.localdo:mysql *:* LISTEN 11805/mysqld tcp 0 0 *:pop3 *:* LISTEN 9481/pop3-login tcp 0 0 *:imap2 *:* LISTEN 1362/imap-login tcp 0 0 *:www *:* LISTEN 15758/apache2 tcp 0 0 *:webmin *:* LISTEN 13684/perl tcp 0 0 theadultindustry:domain *:* LISTEN 28260/named tcp 0 0 localhost.locald:domain *:* LISTEN 28260/named tcp 0 0 *:ssh *:* LISTEN 1413/sshd tcp6 0 0 [::]:domain [::]:* LISTEN 28260/named tcp6 0 0 [::]:ftp [::]:* LISTEN 19664/proftpd: (acc tcp6 0 0 [::]:ssh [::]:* LISTEN 1413/sshd netstat -l Code: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 *:smtp *:* LISTEN tcp 0 0 *:imaps *:* LISTEN tcp 0 0 *:pop3s *:* LISTEN tcp 0 0 localhost.localdo:10025 *:* LISTEN tcp 0 0 localhost.localdo:mysql *:* LISTEN tcp 0 0 *:pop3 *:* LISTEN tcp 0 0 *:imap2 *:* LISTEN tcp 0 0 *:www *:* LISTEN tcp 0 0 *:webmin *:* LISTEN tcp 0 0 theadultindustry:domain *:* LISTEN tcp 0 0 localhost.locald:domain *:* LISTEN tcp 0 0 *:ssh *:* LISTEN tcp6 0 0 [::]:domain [::]:* LISTEN tcp6 0 0 [::]:ftp [::]:* LISTEN tcp6 0 0 [::]:ssh [::]:* LISTEN udp 0 0 *:10000 *:* udp 0 0 theadultindustry:domain *:* udp 0 0 localhost.locald:domain *:* udp6 0 0 [::]:domain [::]:* udp6 0 0 [::]:talk [::]:* udp6 0 0 [::]:ntalk [::]:* Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node Path unix 2 [ ACC ] STREAM LISTENING 652073400 /var/run/saslauthd/mux unix 2 [ ACC ] STREAM LISTENING 674373607 /var/spool/postfix/var/run/saslauthd/mux unix 2 [ ACC ] STREAM LISTENING 651212837 /var/run/dovecot/dict-server unix 2 [ ACC ] STREAM LISTENING 651212839 /var/run/dovecot/login/default unix 2 [ ACC ] STREAM LISTENING 651212844 /var/run/dovecot/auth-worker.18333 unix 2 [ ACC ] STREAM LISTENING 674456502 public/cleanup unix 2 [ ACC ] STREAM LISTENING 650449657 /var/run/nscd/socket unix 2 [ ACC ] STREAM LISTENING 674456509 private/tlsmgr unix 2 [ ACC ] STREAM LISTENING 674456513 private/rewrite unix 2 [ ACC ] STREAM LISTENING 674456517 private/bounce unix 2 [ ACC ] STREAM LISTENING 674456521 private/defer unix 2 [ ACC ] STREAM LISTENING 674456525 private/trace unix 2 [ ACC ] STREAM LISTENING 674456529 private/verify unix 2 [ ACC ] STREAM LISTENING 674456533 public/flush unix 2 [ ACC ] STREAM LISTENING 674456537 private/proxymap unix 2 [ ACC ] STREAM LISTENING 674456541 private/proxywrite unix 2 [ ACC ] STREAM LISTENING 674456545 private/smtp unix 2 [ ACC ] STREAM LISTENING 674456549 private/relay unix 2 [ ACC ] STREAM LISTENING 674456553 public/showq unix 2 [ ACC ] STREAM LISTENING 674456557 private/error unix 2 [ ACC ] STREAM LISTENING 674456561 private/retry unix 2 [ ACC ] STREAM LISTENING 674456565 private/discard unix 2 [ ACC ] STREAM LISTENING 674456569 private/local unix 2 [ ACC ] STREAM LISTENING 674456573 private/virtual unix 2 [ ACC ] STREAM LISTENING 674456577 private/lmtp unix 2 [ ACC ] STREAM LISTENING 674456581 private/anvil unix 2 [ ACC ] STREAM LISTENING 674456585 private/scache unix 2 [ ACC ] STREAM LISTENING 674456589 private/maildrop unix 2 [ ACC ] STREAM LISTENING 674456593 private/uucp unix 2 [ ACC ] STREAM LISTENING 650530584 /var/run/mysqld/mysqld.sock unix 2 [ ACC ] STREAM LISTENING 674456597 private/ifmail unix 2 [ ACC ] STREAM LISTENING 674456601 private/bsmtp unix 2 [ ACC ] STREAM LISTENING 674456605 private/scalemail-backend unix 2 [ ACC ] STREAM LISTENING 674456609 private/mailman postconf -n Code: alias_maps = hash:/etc/aliases biff = no broken_sasl_auth_clients = yes config_directory = /etc/postfix inet_interfaces = all mailbox_command = /usr/libexec/dovecot/deliver mailbox_size_limit = 0 mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname mydomain = theadultindustry.info myhostname = theadultindustry.info mynetworks = 127.0.0.0/8 myorigin = theadultindustry.info readme_directory = no recipient_delimiter = + smtp_tls_note_starttls_offer = yes smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtp_use_tls = yes smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_sasl_local_domain = smtpd_sasl_security_options = noanonymous smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem smtpd_tls_auth_only = no smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_security_level = may smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtpd_tls_session_cache_timeout = 3600s smtpd_use_tls = yes tls_random_source = dev:/dev/urandom DNS records Code: theadultindustry.info. NS Default ns1.theadultindustry.info. theadultindustry.info. NS Default ns2.theadultindustry.info. theadultindustry.info. A Default 173.0.48.122 mail.theadultindustry.info. A Default 173.0.48.122 ns1.theadultindustry.info. A Default 173.0.48.122 ns2.theadultindustry.info. A Default 173.0.48.123 theadultindustry.info. MX Default 10 mail.theadultindustry.info. www.theadultindustry.info. CNAME Default theadultindustry.info. Thank you in advance! ~ April
Is that mail server located in a local network? If so, make sure that your router doesn't block port 25. It is also possible that your ISP blocks port 25.
I just had someone set up a VPS for me with the same host prior to this problem. That VPS is sending mail through port 25, so I know the host doesn't block it. iptables -L Code: Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination
I can't connect to your server either: Code: server1:~# telnet 173.0.48.122 25 Trying 173.0.48.122... Connected to 173.0.48.122. Escape character is '^]'. Connection closed by foreign host. server1:~# Is 173.0.48.122 the correct server, or does it maybe have another IP?
Yes, 173.0.48.122 is the correct IP. I can connect to it through the web, FTP and SSH...just not through mail. I'm thinking about giving up or trying a different host.
Are there any errors in your mail log (in the /var/log/ directory)? What's the output of Code: ifconfig ?
VPS COnfigure Pls i need to set up my VPS to send bulk email for me...can u help on this...I will appreciate it so much. i bought my unmanaged VPS from sh3lls.net and i dont know how get started with bulk mailing. Thanks and i hope i hear from you soon
Cant configure VPS for bulk emailing Pls i need to set up my VPS to send bulk email for me...can u help on this...I will appreciate it so much. i bought my unmanaged VPS from sh3lls.net and i dont know how get started with bulk mailing. Thanks and i hope i hear from you soon
Maybe you might check if the packets on port 25 receive your server. You could check that with tcpdump: replace <yourinterace> with the one having your external IP adress replace <yourclienthostip> with the one of your client trying to connect on port 25