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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 17th September 2008, 01:14
willieray25 willieray25 is offline
Junior Member
 
Join Date: Sep 2008
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I just checked postconf -v and the hostname was wrong.

I changed it to mail.mydomain2.com and restarted.

should this have any affect?
Reply With Quote
Sponsored Links
  #12  
Old 17th September 2008, 01:21
willieray25 willieray25 is offline
Junior Member
 
Join Date: Sep 2008
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am able to telnet even remotely to mail.mydomain2.com

Code:
telnet mail.mydomain2.com 25
Trying myIP...
Connected to mail.mydomain2.com.
Escape character is '^]'.
220 mail.mydomain2.com ESMTP Postfix
AUTH PLAIN 'hashed user /pw'
235 2.0.0 Authentication successful
but the webmail, and mail clients (OS X mail.app and Outlook 2003) can not receive or send. I have sent several mails from clients i know to be working that never reach the mailbox that i can see. Please help, this is driving me nuts.
Reply With Quote
  #13  
Old 17th September 2008, 01:27
Br8knitOFF Br8knitOFF is offline
Member
 
Join Date: Sep 2008
Posts: 35
Thanks: 0
Thanked 1 Time in 1 Post
Default

What is the domain name? Do you have MX records setup that point to your new server? If so, do you have a firewall in front of it? If so, do you have tcp 25 open and pointing to it?

//Todd
Reply With Quote
  #14  
Old 17th September 2008, 01:33
willieray25 willieray25 is offline
Junior Member
 
Join Date: Sep 2008
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Br8knitOFF View Post
What is the domain name? Do you have MX records setup that point to your new server? If so, do you have a firewall in front of it? If so, do you have tcp 25 open and pointing to it?

//Todd
pressure-parts.com

I have MX records In ISPConfig for the site set to mail.pressure-parts.com
I have MX records setup in ZoneEdit (my external DNS) for mail.pressure-parts.com
I have port 25 open, and pointing to my servers internal static IP
Reply With Quote
  #15  
Old 17th September 2008, 02:14
Br8knitOFF Br8knitOFF is offline
Member
 
Join Date: Sep 2008
Posts: 35
Thanks: 0
Thanked 1 Time in 1 Post
Default

Okay- tail your mail.log, and send yourself something.

Need to see what postfix is saying about the inbound mail, where/what it's handing it off to, etc. to track the problem down.

'tail -f /var/log/mail.log'

Then, send something to a vaild email address on that domain- it should look something like this:

Sep 16 18:12:38 liasis postfix/smtpd[9112]: connect from rv-out-0506.google.com[209.85.198.237]
Sep 16 18:12:38 liasis postfix/smtpd[9112]: C140D6E80FC: client=rv-out-0506.google.com[209.85.198.237]
Sep 16 18:12:38 liasis postfix/cleanup[9180]: C140D6E80FC: message-id=<e2c497d00809161612s564694ddrc57fec9015567a61@m ail.gmail.com>
Sep 16 18:12:38 liasis postfix/qmgr[12852]: C140D6E80FC: from=<todd.lapittus@gmail.com>, size=2082, nrcpt=1 (queue active)
Sep 16 18:12:38 liasis postfix/pickup[8500]: E7DD96E8125: uid=10004 from=<web7_todd>
Sep 16 18:12:38 liasis postfix/cleanup[9180]: E7DD96E8125: message-id=<20080916231238.E7DD96E8125@liasis.blah.net>
Sep 16 18:12:38 liasis postfix/qmgr[12852]: E7DD96E8125: from=<web7_todd@liasis.blah.net>, size=402, nrcpt=1 (queue active)
Sep 16 18:12:38 liasis postfix/local[9198]: E7DD96E8125: to=<admispconfig@localhost.localdomain>, relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
Sep 16 18:12:38 liasis postfix/qmgr[12852]: E7DD96E8125: removed
Sep 16 18:12:43 liasis postfix/local[9181]: C140D6E80FC: to=<web7_todd@liasis.blah.net>, orig_to=<todd@lapittus.com>, relay=local, delay=5, delays=0.41/0.01/0/4.5, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
Sep 16 18:12:43 liasis postfix/qmgr[12852]: C140D6E80FC: removed

//Todd
Reply With Quote
  #16  
Old 17th September 2008, 02:24
willieray25 willieray25 is offline
Junior Member
 
Join Date: Sep 2008
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Br8knitOFF View Post
Okay- tail your mail.log, and send yourself something.

Need to see what postfix is saying about the inbound mail, where/what it's handing it off to, etc. to track the problem down.

'tail -f /var/log/mail.log'

Then, send something to a vaild email address on that domain- it should look something like this:

Sep 16 18:12:38 liasis postfix/smtpd[9112]: connect from rv-out-0506.google.com[209.85.198.237]
Sep 16 18:12:38 liasis postfix/smtpd[9112]: C140D6E80FC: client=rv-out-0506.google.com[209.85.198.237]
Sep 16 18:12:38 liasis postfix/cleanup[9180]: C140D6E80FC: message-id=<e2c497d00809161612s564694ddrc57fec9015567a61@m ail.gmail.com>
Sep 16 18:12:38 liasis postfix/qmgr[12852]: C140D6E80FC: from=<todd.lapittus@gmail.com>, size=2082, nrcpt=1 (queue active)
Sep 16 18:12:38 liasis postfix/pickup[8500]: E7DD96E8125: uid=10004 from=<web7_todd>
Sep 16 18:12:38 liasis postfix/cleanup[9180]: E7DD96E8125: message-id=<20080916231238.E7DD96E8125@liasis.blah.net>
Sep 16 18:12:38 liasis postfix/qmgr[12852]: E7DD96E8125: from=<web7_todd@liasis.blah.net>, size=402, nrcpt=1 (queue active)
Sep 16 18:12:38 liasis postfix/local[9198]: E7DD96E8125: to=<admispconfig@localhost.localdomain>, relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
Sep 16 18:12:38 liasis postfix/qmgr[12852]: E7DD96E8125: removed
Sep 16 18:12:43 liasis postfix/local[9181]: C140D6E80FC: to=<web7_todd@liasis.blah.net>, orig_to=<todd@lapittus.com>, relay=local, delay=5, delays=0.41/0.01/0/4.5, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
Sep 16 18:12:43 liasis postfix/qmgr[12852]: C140D6E80FC: removed

//Todd
here it is:
Code:
# tail -f /var/log/maillog
Sep 16 16:20:57 lianli postfix/smtp[5469]: warning: host mail.pressure-parts.com[24.180.57.228]:25 greeted me with my own hostname mail.pressure-parts.com
Sep 16 16:20:57 lianli postfix/smtp[5469]: warning: host mail.pressure-parts.com[24.180.57.228]:25 replied to HELO/EHLO with my own hostname mail.pressure-parts.com
Sep 16 16:20:57 lianli postfix/smtp[5469]: 2624D47EE6D: to=<web2_cs@mail.pressure-parts.com>, orig_to=<cs@pressure-parts.com>, relay=mail.pressure-parts.com[24.180.57.228]:25, delay=0.76, delays=0.32/0.04/0.39/0, dsn=5.4.6, status=bounced (mail for mail.pressure-parts.com loops back to myself)
Sep 16 16:20:57 lianli postfix/smtpd[5463]: disconnect from 24-180-57-228.dhcp.rvsd.ca.charter.com[24.180.57.228]
Sep 16 16:20:57 lianli postfix/cleanup[5468]: E35A747EE71: message-id=<20080916232057.E35A747EE71@mail.pressure-parts.com>
Sep 16 16:20:57 lianli postfix/qmgr[5332]: E35A747EE71: from=<>, size=3380, nrcpt=1 (queue active)
Sep 16 16:20:57 lianli postfix/bounce[5470]: 2624D47EE6D: sender non-delivery notification: E35A747EE71
Sep 16 16:20:57 lianli postfix/qmgr[5332]: 2624D47EE6D: removed
Sep 16 16:20:58 lianli postfix/smtp[5471]: E35A747EE71: to=<williambrady@sbcglobal.net>, relay=sbcmx3.prodigy.net[207.115.21.22]:25, delay=0.77, delays=0.01/0.02/0.71/0.03, dsn=5.3.0, status=bounced (host sbcmx3.prodigy.net[207.115.21.22] said: 553 5.3.0 flpi090 - m8GNKvi1031128, DNSBL:521< 24.180.57.228 >_is_blocked.__For_information_see_http://att.net/blocks (in reply to MAIL FROM command))
Sep 16 16:20:58 lianli postfix/qmgr[5332]: E35A747EE71: removed
Sep 16 16:21:33 lianli dovecot: imap-login: Login: user=<web2_cs>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
Sep 16 16:21:33 lianli dovecot: IMAP(web2_cs): Disconnected: Logged out
thanks for your help again
Reply With Quote
  #17  
Old 17th September 2008, 02:32
willieray25 willieray25 is offline
Junior Member
 
Join Date: Sep 2008
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

looks like i sent something from pp to pp.

heres one from bill@ccs247.nospam.dot.com on a different server:
Code:
# tail -f /var/log/maillog
Sep 16 16:29:13 lianli postfix/smtpd[5616]: disconnect from 24-180-57-228.dhcp.rvsd.ca.charter.com[24.180.57.228]
Sep 16 16:29:13 lianli postfix/cleanup[5620]: 072FF47EE71: message-id=<20080916232913.072FF47EE71@mail.pressure-parts.com>
Sep 16 16:29:13 lianli postfix/qmgr[5332]: 072FF47EE71: from=<>, size=3341, nrcpt=1 (queue active)
Sep 16 16:29:13 lianli postfix/bounce[5622]: 7E1F547EE6D: sender non-delivery notification: 072FF47EE71
Sep 16 16:29:13 lianli postfix/qmgr[5332]: 7E1F547EE6D: removed
Sep 16 16:29:13 lianli postfix/smtp[5623]: certificate verification failed for ccs247.com: num=20:unable to get local issuer certificate
Sep 16 16:29:13 lianli postfix/smtp[5623]: certificate verification failed for ccs247.com: num=27:certificate not trusted
Sep 16 16:29:13 lianli postfix/smtp[5623]: certificate verification failed for ccs247.com: num=21:unable to verify the first certificate
Sep 16 16:29:14 lianli postfix/smtp[5623]: 072FF47EE71: to=<bill@ccs247.com>, relay=ccs247.com[70.84.85.66]:25, delay=1.4, delays=0.01/0.02/0.77/0.64, dsn=2.0.0, status=sent (250 OK id=1Kfjyg-0006jQ-89)
Sep 16 16:29:14 lianli postfix/qmgr[5332]: 072FF47EE71: removed
Sep 16 16:29:33 lianli dovecot: imap-login: Login: user=<web2_cs>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
Sep 16 16:29:33 lianli dovecot: IMAP(web2_cs): Disconnected: Logged out
Sep 16 16:30:01 lianli postfix/smtpd[5616]: connect from localhost.localdomain[127.0.0.1]
Sep 16 16:30:01 lianli postfix/smtpd[5616]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Sep 16 16:30:01 lianli postfix/smtpd[5616]: disconnect from localhost.localdomain[127.0.0.1]
Sep 16 16:30:01 lianli dovecot: pop3-login: Disconnected: rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
dunno if it helps, but can't hurt
Reply With Quote
  #18  
Old 17th September 2008, 04:02
Br8knitOFF Br8knitOFF is offline
Member
 
Join Date: Sep 2008
Posts: 35
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Okay- couple of things:

1. Looks like the IP address you're using for your MX record is blacklisted by at least AT&T, and most likely others. That will certainly contribute to email problems. If the address you're using for your MX record is a statically assigned IP address, ask your ISP to add create a PTR record for you that matches your A record:

Non-authoritative answer:
228.57.180.24.in-addr.arpa name = 24-180-57-228.dhcp.rvsd.ca.charter.com.


2. You need to check your /etc/postfix/main.cf- specifically, your 'myhostname', 'mydomain' and the 'mydestination' parameters:

"Sep 16 16:20:57 lianli postfix/smtp[5469]: 2624D47EE6D: to=<web2_cs@mail.pressure-parts.com>, orig_to=<cs@pressure-parts.com>, relay=mail.pressure-parts.com[24.180.57.228]:25, delay=0.76, delays=0.32/0.04/0.39/0, dsn=5.4.6, status=bounced (mail for mail.pressure-parts.com loops back to myself)"

//Todd
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
hotmail rejects outgoing email nzimas Server Operation 3 1st May 2009 04:39
Help - virtual sites - email not working - what FQDN? sagor Installation/Configuration 4 26th April 2008 20:00
Email Forwarding not working grocal Installation/Configuration 5 12th September 2007 21:02
1 email working, but others arent? lipp9000 Installation/Configuration 8 22nd July 2006 17:35
email forwarding locally consumes all resources rdells General 20 1st May 2006 20:43


All times are GMT +2. The time now is 23:43.


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