
26th March 2008, 00:32
|
|
Junior Member
|
|
Join Date: Jun 2007
Posts: 22
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
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?
|

26th March 2008, 08:25
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,907
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
|
|
Which error messages do you get in the mail log?
|

27th March 2008, 06:33
|
|
Junior Member
|
|
Join Date: Jun 2007
Posts: 22
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
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
|

27th March 2008, 06:38
|
|
Junior Member
|
|
Join Date: Jun 2007
Posts: 22
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
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
|

28th March 2008, 13:55
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Which distribution are you using?
What's in /etc/postfix/main.cf? What's the output of ?
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.
|

3rd April 2008, 01:14
|
|
Junior Member
|
|
Join Date: Jun 2007
Posts: 22
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
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
|

3rd April 2008, 02:27
|
|
Junior Member
|
|
Join Date: Jun 2007
Posts: 22
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
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.
|

3rd April 2008, 20:29
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Looks good. What's the output of
Code:
ls -la /var/lib/postfix
?
|

4th April 2008, 05:17
|
|
Junior Member
|
|
Join Date: Jun 2007
Posts: 22
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
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?
|

4th April 2008, 19:55
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Try
Code:
chmod 644 /var/lib/postfix/prng_exch
Does it work then?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 13:06.
|
|
Recent comments
13 hours 13 min ago
13 hours 18 min ago
18 hours 17 min ago
1 day 58 min ago
1 day 1 hour ago
1 day 3 hours ago
1 day 7 hours ago
1 day 13 hours ago
1 day 17 hours ago
1 day 19 hours ago