#1  
Old 20th November 2005, 04:11
Bob Krispen Bob Krispen is offline
Junior Member
 
Join Date: Nov 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Just not getting it...

For some reason, I just must be missing something.

I start with pages one and two of the Debian Sarge how-to, THEN I skip into the Virtual users and domains with postfix.... (etc) http://www.howtoforge.com/virtual_po..._quota_courier

I get the database infor setup in MySQL.
I get quota set up (I even hit page 3 of the Debian Sarge how-to to work that)
Get DNS set up (hit page 3 of Debian Sarge how-to to work that)

and I get to the point of getting users in the database and postfix logs saying mail is queued and delivered, but the mail bounces back.

I get:
<sales@example.com>: [mail.example.com]: Name or service not known

I've confirmed that 'mail.example.com' resolves on the server and it correctly identifies the external IP address of this server as that mail server.

Perhaps I should have delved deeper into the Sarge How-to first? But if I did that, doesn't the Virtual Users and Domains how-to duplicate a large amount of that effort?

I'm just not seeing it somehow.
Reply With Quote
Sponsored Links
  #2  
Old 20th November 2005, 16:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by Bob Krispen

I get:
<sales@example.com>: [mail.example.com]: Name or service not known

I've confirmed that 'mail.example.com' resolves on the server and it correctly identifies the external IP address of this server as that mail server.
This means that your DNS records aren't set up correctly, or that they need some more time to propagate (if you've changed the DNS records recently, it might take up to 3 days to propagate).
Can you tell me your real domain and IP address so that I can check?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 20th November 2005, 18:50
Bob Krispen Bob Krispen is offline
Junior Member
 
Join Date: Nov 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default DNS woes gone, but now amavis..

Ah, the overnight waiting seems to have cleared some DNS troubles leading to other problems with Amavis and MySQL.

Now I'm getting things like:

Code:
Nov 20 11:40:07 trogdor amavis[26431]: (26431-02) lookup_sql: 2006, MySQL server has gone away
Nov 20 11:40:07 trogdor amavis[26431]: (26431-02) NOTICE: Disconnected from SQL server
Nov 20 11:40:07 trogdor amavis[26431]: (26431-02) TROUBLE in check_mail: creating_partsdir FAILED: DBD::mysql::st execute failed: MySQL server has gone away at (eval 38) line 238, <GEN17> line 79.
Nov 20 11:40:07 trogdor amavis[26431]: (26431-02) PRESERVING EVIDENCE in /var/lib/amavis/amavis-20051119T205058-26431
Nov 20 11:40:07 trogdor postfix/smtp[32048]: 85EE714083: to=<sales@example.com>, relay=127.0.0.1[127.0.0.1], delay=1, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=26431-02, creating_partsdir FAILED: DBD::mysql::st execute failed: MySQL server has gone away at (eval 38) line 238, <GEN17> line 79. (in reply to end of DATA command))
Nov 20 11:40:07 trogdor amavis[26431]: (26431-02) lookup_sql: 2006, MySQL server has gone away
Nov 20 11:40:07 trogdor amavis[26431]: (26431-02) NOTICE: Disconnected from SQL server
Nov 20 11:40:07 trogdor amavis[26431]: (26431-02) TROUBLE in check_mail: creating_partsdir FAILED: DBD::mysql::st execute failed: MySQL server has gone away at (eval 38) line 238, <GEN17> line 79.
Nov 20 11:40:07 trogdor amavis[26431]: (26431-02) PRESERVING EVIDENCE in /var/lib/amavis/amavis-20051119T205058-26431
Nov 20 11:40:07 trogdor postfix/smtp[32048]: 85EE714083: to=<sales@example.com>, relay=127.0.0.1[127.0.0.1], delay=1, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=26431-02, creating_partsdir FAILED: DBD::mysql::st execute failed: MySQL server has gone away at (eval 38) line 238, <GEN17> line 79. (in reply to end of DATA command))
I will abuse amavis and it's related config files, re-reading the How-to where appropriate (and this forum) for a bit....

Thanks for your reply though, I hope you don't have to hear from me again for help.
Reply With Quote
  #4  
Old 20th November 2005, 19:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

It seems as if MyQL is not running. Try
Code:
/etc/init.d/mysql restart
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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


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


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