Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #31  
Old 31st May 2010, 17:18
zogthegreat zogthegreat is offline
Member
 
Join Date: Jul 2008
Posts: 50
Thanks: 4
Thanked 3 Times in 2 Posts
Default

Hi falco,

The output of netstat -tap is:

[root@server1 ~]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:imaps *:* LISTEN 3636/dovecot
tcp 0 0 *op3s *:* LISTEN 3636/dovecot
tcp 0 0 localhost.localdomain:10024 *:* LISTEN 3683/amavisd (maste
tcp 0 0 localhost.localdomain:10025 *:* LISTEN 7945/master
tcp 0 0 *:mysql *:* LISTEN 3591/mysqld
tcp 0 0 *op3 *:* LISTEN 3636/dovecot
tcp 0 0 localhost.local:dyna-access *:* LISTEN 3506/clamd
tcp 0 0 *:imap *:* LISTEN 3636/dovecot
tcp 0 0 *:ftp *:* LISTEN 3812/pure-ftpd (SER
tcp 0 0 localhost.localdomai:domain *:* LISTEN 3354/named
tcp 0 0 localhost.localdomain:ipp *:* LISTEN 2867/cupsd
tcp 0 0 *:smtp *:* LISTEN 7945/master
tcp 0 0 localhost.localdomain:rndc *:* LISTEN 3354/named
tcp 0 0 localhost.localdomain:58229 localhost.localdomain:mysql ESTABLISHED 3716/amavisd (ch2-a
tcp 0 0 localhost.localdomain:55753 localhost.localdomain:mysql ESTABLISHED 3717/amavisd (ch1-a
tcp 0 0 localhost.localdomain:mysql localhost.localdomain:58229 ESTABLISHED 3591/mysqld
tcp 1 0 localhost.localdomain:41568 localhost.localdomain:10025 CLOSE_WAIT 3717/amavisd (ch1-a
tcp 0 0 localhost.localdomain:mysql localhost.localdomain:55753 ESTABLISHED 3591/mysqld
tcp 0 0 *:imaps *:* LISTEN 3636/dovecot
tcp 0 0 *op3s *:* LISTEN 3636/dovecot
tcp 0 0 *op3 *:* LISTEN 3636/dovecot
tcp 0 0 *:imap *:* LISTEN 3636/dovecot
tcp 0 0 *:webcache *:* LISTEN 5298/httpd
tcp 0 0 *:http *:* LISTEN 5298/httpd
tcp 0 0 *:tproxy *:* LISTEN 5298/httpd
tcp 0 0 *:ftp *:* LISTEN 3812/pure-ftpd (SER
tcp 0 0 localhost6.localdoma:domain *:* LISTEN 3354/named
tcp 0 0 *:ssh *:* LISTEN 3478/sshd
tcp 0 0 localhost6.localdomain:rndc *:* LISTEN 3354/named
tcp 0 0 *:https *:* LISTEN 5298/httpd
tcp 0 148 server1.example.com:ssh ::ffff:192.168.0.200:49658 ESTABLISHED 4806/0

[root@server1 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.0.100 server1.example.com server1
::1 localhost6.localdomain6 localhost6

(The local IP is correct)

thanks

zog
Reply With Quote
Sponsored Links
  #32  
Old 31st May 2010, 20:11
Torch_za Torch_za is offline
Junior Member
 
Join Date: Apr 2010
Posts: 19
Thanks: 0
Thanked 2 Times in 2 Posts
Default gmail ....

I'm pretty sure gmail is rejecting because of the dynamic dns and reverse lookup. on http://mxtoolbox.com what does the smtp check produce?

Also what does the reverse dns lookup produce? It's a quick and nasty hack (aren't they all) but if you copy that string into /etc/postfix/main.cf such that

smtpd_banner = REVERSE_LOOKUP_STRING ESTMP $mail_name (Debian/GNU)

(it's right neart the top ... )

see it that bites...

Last edited by Torch_za; 31st May 2010 at 21:31.
Reply With Quote
  #33  
Old 31st May 2010, 22:14
zogthegreat zogthegreat is offline
Member
 
Join Date: Jul 2008
Posts: 50
Thanks: 4
Thanked 3 Times in 2 Posts
Default

Hi Torch_za,

OK, here's what I got:

mx:XXX.net

Not an open relay.
0 seconds - Good on Connection time
0.484 seconds - Good on Transaction time
OK - 70.53.152.148 resolves to
Warning - Reverse DNS does not match SMTP Banner

Session Transcript:
HELO please-read-policy.mxtoolbox.com
250 server1.example.com [109 ms]
MAIL FROM: <supertool@mxtoolbox.com>
250 2.1.0 Ok [125 ms]
RCPT TO: <test@example.com>
554 5.7.1 <test@example.com>: Relay access denied [125 ms]
QUIT
221 2.0.0 Bye [125 ms]

reverse lookup:

PTR 70.XX.XXX.148 bas4-montreal28-1177917588.dsl.bell.ca 24 hrs

Quote:

smtpd_banner = REVERSE_LOOKUP_STRING ESTMP $mail_name (Debian/GNU)
From what I understand, I should do this:

smtpd_banner = bas4-montreal28-1177917588.dsl.bell.ca $mail_name Debian/GNU)

Is this what you meant? (googling right now!!!)

Thanks

zog
Reply With Quote
  #34  
Old 31st May 2010, 22:25
Torch_za Torch_za is offline
Junior Member
 
Join Date: Apr 2010
Posts: 19
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Code:
smtpd_banner = bas4-montreal28-1177917588.dsl.bell.ca ESTMP $mail_name Debian/GNU)
remember though this changes every time your ip resets.. a pain in the butt - if it works then you have your answer.
Reply With Quote
  #35  
Old 3rd June 2010, 23:28
zogthegreat zogthegreat is offline
Member
 
Join Date: Jul 2008
Posts: 50
Thanks: 4
Thanked 3 Times in 2 Posts
 
Default SOLVED!! (sort of!)

Hi everyone,

Well, finally success. I did the following:

I created an account at http://www.dyndns.com/services/mailhop/outbound.html. It is $20.00 USD a year, but after messing with this for the last two months, IMO, well worth it!

I longed into my ISPConfig interface and went to "System", then "Server Config", and then clicked on "server1.example.com".

After, I clicked on the "Mail" tab, (not the upper "Email" tab).

Under "relayhost" field, I entered:

outbound.mailhop.org:2525

Under Relayhost User" I entered the username given to me by dyndns.com.
Under Relayhost Password, I entered the password given to me by dyndns.com.

(NOTE: Not to sound silly, but use the info given to you by dyndns.com, not the example info I have listed!)

I then restarted postfix and everything now works like a charm!!


Many thanks to everyone how has tried to help me with this problem.

I am still would like to figure out how to do SMTP with dynamic IP's, but for now I am happy!

Thanks
to all

zog
Attached Images
  

Last edited by zogthegreat; 4th June 2010 at 01:47.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Timeout after DATA from some emails treeman Server Operation 13 25th September 2013 13:51
421 Unexpected failure Lizard King Installation/Configuration 20 7th July 2009 21:43
Postfix & mail forwarding loop varnik Server Operation 21 9th December 2008 16:13
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 10:40
External mail server with gmail MX service adrenalinic Installation/Configuration 20 24th April 2007 15:49


All times are GMT +2. The time now is 07:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.