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
  #1  
Old 26th March 2008, 00:32
AceFrahm AceFrahm is offline
Junior Member
 
Join Date: Jun 2007
Posts: 22
Thanks: 3
Thanked 0 Times in 0 Posts
Question Changed ISP Address, Now Postfix SMTP Outbox Filling Up

My ISP changed my IP address,
on a box with ISPconfig, Apache, PHP, Drupal, PROftp and Postfix.

I changed the IP in many places according to instructions in other forum posts.
Everything else works,

BUT, now Outlook on my laptop can't send messages thru the SMTP on my server.

Did I miss a setting?

Telnet to port 25 on laptop to the server connects. . . .

Why aren't the messages flowing?
Reply With Quote
Sponsored Links
  #2  
Old 26th March 2008, 08:25
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
Default

Which error messages do you get in the mail log?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 27th March 2008, 06:33
AceFrahm AceFrahm is offline
Junior Member
 
Join Date: Jun 2007
Posts: 22
Thanks: 3
Thanked 0 Times in 0 Posts
Post From the Mail Log

File
/var/log/mail.log

has repeated instances of this:

Mar 27 05:29:12 dns01 postfix/tlsmgr[8202]: warning: request to update file /var/lib/postfix/prng_exch in non-postfix directory /var/lib/postfix
Mar 27 05:29:12 dns01 postfix/tlsmgr[8202]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix
Mar 27 05:29:12 dns01 postfix/tlsmgr[8202]: fatal: tls_prng_exch_open: cannot open PRNG exchange file /var/lib/postfix/prng_exch: Permission denied
Mar 27 05:29:13 dns01 postfix/master[6198]: warning: process /usr/lib/postfix/tlsmgr pid 8202 exit status 1
Mar 27 05:29:13 dns01 postfix/master[6198]: warning: /usr/lib/postfix/tlsmgr: bad command startup -- throttling
Reply With Quote
  #4  
Old 27th March 2008, 06:38
AceFrahm AceFrahm is offline
Junior Member
 
Join Date: Jun 2007
Posts: 22
Thanks: 3
Thanked 0 Times in 0 Posts
Post Is This Important?

From file
/var/log/messages

Mar 27 04:52:19 dns01 syslogd 1.4.1#21ubuntu3: restart.
Mar 27 05:22:05 dns01 -- MARK --
Mar 27 05:26:12 dns01 kernel: [ 2678.568848] npviewer.bin[7990]: segfault at 00000000f77ca5cd rip 00000000f7aac0ed rsp 00000000fff29e00 error 7
Mar 27 05:26:12 dns01 kernel: [ 2678.568853] npviewer.bin[8007]: segfault at 0000000073776f72 rip 00000000f783fba8 rsp 00000000f5b2dcbc error 4
Mar 27 05:28:17 dns01 kernel: [ 2803.126594] npviewer.bin[8130]: segfault at 0000000000000002 rip 00000000f7af0e98 rsp 00000000ffe52cd0 error 4
Mar 27 05:28:17 dns01 kernel: [ 2803.126746] npviewer.bin[8147]: segfault at 00000000e8f85d89 rip 00000000f7af0dd9 rsp 00000000f5ab7d30 error 4
Reply With Quote
  #5  
Old 28th March 2008, 13:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Which distribution are you using?
What's in /etc/postfix/main.cf? What's the output of
Code:
netstat -tap
?

Do you use a hostname or the new IP address in Outlook to connect? If you use a hostname, make sure that it already points to the new IP.
__________________
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
  #6  
Old 3rd April 2008, 01:14
AceFrahm AceFrahm is offline
Junior Member
 
Join Date: Jun 2007
Posts: 22
Thanks: 3
Thanked 0 Times in 0 Posts
Default Status

Distro is
Ubuntu 7.10 Gutsy Gibbon

Content of
/etc/postfix/main.cf:
Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = dns01.acefrahm.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = dns01.acefrahm.com, localhost.acefrahm.com, , localhost, dns02.acefrahm.com
relayhost = 
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain = 
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

virtual_maps = hash:/etc/postfix/virtusertable

mydestination = /etc/postfix/local-host-names
Output of
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 *:mysql                 *:*                     LISTEN     5245/mysqld         
tcp        0      0 *:www                   *:*                     LISTEN     6077/apache2        
tcp        0      0 *:81                    *:*                     LISTEN     6038/ispconfig_http 
tcp        0      0 *:ftp                   *:*                     LISTEN     6299/proftpd: (acce 
tcp        0      0 dns02.acefrahm.c:domain *:*                     LISTEN     6220/named          
tcp        0      0 dns01.acefrahm.c:domain *:*                     LISTEN     6220/named          
tcp        0      0 localhost:domain        *:*                     LISTEN     6220/named          
tcp        0      0 localhost:ipp           *:*                     LISTEN     5169/cupsd          
tcp        0      0 localhost:953           *:*                     LISTEN     6220/named          
tcp        0      0 *:smtp                  *:*                     LISTEN     6172/master         
tcp        0      0 *:https                 *:*                     LISTEN     6077/apache2        
tcp        1      0 dns01.acefrahm.com:smtp static-71-248-100-:1971 CLOSE_WAIT -                   
tcp        0      0 dns01.acefrahm.com:smtp static-71-248-100-:1979 ESTABLISHED-                   
tcp        1      0 dns01.acefrahm.com:smtp mail5.meetup.com:34070  CLOSE_WAIT -                   
tcp        0      0 dns02.acefrahm.co:47636 a204-2-177-32.deplo:www TIME_WAIT  -                   
tcp        0      0 dns02.acefrahm.co:34019 216.207.68.72:www       ESTABLISHED6614/firefox-bin    
tcp        1      0 dns01.acefrahm.com:smtp static-71-248-100-:1955 CLOSE_WAIT -                   
tcp        1      0 dns01.acefrahm.com:smtp static-71-248-100-:1948 CLOSE_WAIT -                   
tcp        1      0 dns01.acefrahm.com:smtp static-71-248-100-:1963 CLOSE_WAIT -                   
tcp6       0      0 *:imaps                 *:*                     LISTEN     5383/couriertcpd    
tcp6       0      0 *:pop3s                 *:*                     LISTEN     5424/couriertcpd    
tcp6       0      0 *:pop3                  *:*                     LISTEN     5399/couriertcpd    
tcp6       0      0 *:imap2                 *:*                     LISTEN     5360/couriertcpd    
tcp6       0      0 *:ssh                   *:*                     LISTEN     5120/sshd           
tcp6       0      0 ip6-localhost:953       *:*                     LISTEN     6220/named          
tcp6       0      0 *:smtp                  *:*                     LISTEN     6172/master
Reply With Quote
  #7  
Old 3rd April 2008, 02:27
AceFrahm AceFrahm is offline
Junior Member
 
Join Date: Jun 2007
Posts: 22
Thanks: 3
Thanked 0 Times in 0 Posts
Default Pictures of settings

My ISPconfig DNS settings

Outlook Setting

It makes no difference whether or not I use the IP, or hostname dns01 or hostname "www".

They all fail to send messages from outlook.
Reply With Quote
  #8  
Old 3rd April 2008, 20:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Looks good. What's the output of
Code:
ls -la /var/lib/postfix
?
__________________
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
  #9  
Old 4th April 2008, 05:17
AceFrahm AceFrahm is offline
Junior Member
 
Join Date: Jun 2007
Posts: 22
Thanks: 3
Thanked 0 Times in 0 Posts
Default ls -la /var/lib/postfix

Code:
root@dns01:/# ls -la /var/lib/postfix
total 12
drwxr-xr-x  2 root root 4096 2007-10-31 17:11 .
drwxr-xr-x 58 root root 4096 2008-03-28 07:45 ..
-rw-------  1 root root 1024 2008-03-12 23:39 prng_exch
Is this what a non-ISPConfig postfix would look like?
what does prng_exch do?
Reply With Quote
  #10  
Old 4th April 2008, 19:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Try
Code:
chmod 644 /var/lib/postfix/prng_exch
Does it work then?
__________________
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 14:33
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 09:40
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


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


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