#1  
Old 19th April 2008, 13:36
martin_rudowicz martin_rudowicz is offline
Junior Member
 
Join Date: Jan 2007
Posts: 7
Thanks: 3
Thanked 0 Times in 0 Posts
Default What can be wrong

In log i find :

Apr 19 03:49:13 server postfix/tlsmgr[3091]: warning: request to update table btree:/var/spool/postfix/smtpd_scache in non-postfix directory /var/spool/postfix
Apr 19 03:49:13 server postfix/tlsmgr[3091]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix
Apr 19 03:49:13 server postfix/tlsmgr[3091]: warning: request to update table btree:/var/spool/postfix/smtp_scache in non-postfix directory /var/spool/postfix
Apr 19 03:49:13 server postfix/tlsmgr[3091]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix
Apr 19 03:49:14 server postfix/smtpd[3089]: connect from 133-0-16-190.fibertel.com.ar[190.16.0.133]


main.cf

Code:
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
append_dot_mydomain = no
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
myhostname = server.spp.pl
mydomain = spp.pl
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
relayhost = 
mynetworks = 127.0.0.0/8
mailbox_command = 
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, reject_unknown_recipient_domain, reject_rbl_client multi.uribl.com, reject_rbl_client bl.spamcop.net, reject_rbl_client dnsbl.sorbs.net, reject_rbl_client cbl.abuseat.org
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 = 4000s
tls_random_source = dev:/dev/urandom
mydestination = /etc/postfix/local-host-names
home_mailbox = Maildir/
smtpd_recipient_limit = 10
local_destination_concurrency_limit = 3
Reply With Quote
Sponsored Links
  #2  
Old 19th April 2008, 20:28
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,490
Thanks: 835
Thanked 5,526 Times in 4,346 Posts
Default

Please try to change:

smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

to:

smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_scache
smtp_tls_session_cache_database = btree:/var/lib/postfix/smtp_scache

and restart postfix.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 20th April 2008, 17:00
martin_rudowicz martin_rudowicz is offline
Junior Member
 
Join Date: Jan 2007
Posts: 7
Thanks: 3
Thanked 0 Times in 0 Posts
Unhappy :(

I have still this same
look at this
var/lib/postfix/smtpd_scache.db: No such file or directory
Apr 20 15:47:52 server postfix/tlsmgr[3215]: fatal: open database var/lib/postfix/smtpd_scache.db: No such file or directory
Apr 20 15:48:53 server postfix/tlsmgr[3244]: fatal: open database var/lib/postfix/smtpd_scache.db: No such file or directory


mayby there is wrong presmisison i have 600

Last edited by martin_rudowicz; 20th April 2008 at 17:03.
Reply With Quote
  #4  
Old 20th April 2008, 17:14
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,490
Thanks: 835
Thanked 5,526 Times in 4,346 Posts
Default

Its not the same, its a different error now.

Please post the output of:

ls -la /var/lib/postfix/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 20th April 2008, 21:41
martin_rudowicz martin_rudowicz is offline
Junior Member
 
Join Date: Jan 2007
Posts: 7
Thanks: 3
Thanked 0 Times in 0 Posts
Default ;(

drwx 2 postfix postfix 4096 2008-04-17 01:19 .
drwxr-xr-x 50 root root 4096 2008-04-17 02:00 ..
-rw------ 1 postfix postfix 1024 2008-04-20 01:23 prng_exch
-rwxrw--- 1 postfix postfix 8192 2008-04-20 01:23 smtpd_scache.db
-rwxrw--- 1 postfix postfix 8192 2008-04-20 01:23 smtp_scache.db
Reply With Quote
  #6  
Old 21st April 2008, 15:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Please run
Code:
chmod 755 /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
The Following User Says Thank You to falko For This Useful Post:
robertoshulze2257 (29th June 2014)
  #7  
Old 21st April 2008, 21:00
martin_rudowicz martin_rudowicz is offline
Junior Member
 
Join Date: Jan 2007
Posts: 7
Thanks: 3
Thanked 0 Times in 0 Posts
Exclamation still nothing

chmod dont help

I send logs

auth.log

Code:
Apr 21 19:44:51 server sshd[4698]: Server listening on :: port 22.
Apr 21 19:44:51 server sshd[4698]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
Apr 21 19:45:06 server saslauthd[5171]: detach_tty      : master pid is: 5171
Apr 21 19:45:06 server saslauthd[5171]: ipc_init        : listening on socket: /var/spool/postfix/var/run/saslauthd/mux
Apr 21 19:45:28 server gdm[5316]: pam_unix(gdm-autologin:session): session opened for user rudowicz by (uid=0)
Apr 21 19:45:44 server sshd[5573]: reverse mapping checking getaddrinfo for ff016ca0f67c448 [192.168.0.102] failed - POSSIBLE BREAK-IN ATTEMPT!
Apr 21 19:45:46 server sshd[5573]: Accepted password for root from 192.168.0.102 port 61162 ssh2
Apr 21 19:45:46 server sshd[5573]: subsystem request for sftp
Apr 21 19:45:48 server sshd[5664]: pam_unix(ssh:session): session opened for user root by (uid=0)
Apr 21 19:45:49 server sshd[5665]: pam_unix(ssh:session): session opened for user root by root(uid=0)
mail.err
Code:
Apr 21 19:46:38 server postfix/tlsmgr[6026]: fatal: open database var/lib/postfix/smtpd_scache.db: No such file or directory
Apr 21 19:47:39 server postfix/tlsmgr[6101]: fatal: open database var/lib/postfix/smtpd_scache.db: No such file or directory
Apr 21 19:48:40 server postfix/tlsmgr[6192]: fatal: open database var/lib/postfix/smtpd_scache.db: No such file or directory
Apr 21 19:49:11 server postfix/tlsmgr[6301]: fatal: open database var/lib/postfix/smtpd_scache.db: No such file or directory

mail.info


Code:
Apr 21 19:46:19 server imapd: LOGIN, user=martin, ip=[::ffff:127.0.0.1], protocol=IMAP
Apr 21 19:46:19 server imapd: LOGOUT, user=martin, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=71, sent=568, time=0
Apr 21 19:46:19 server imapd: LOGIN, user=martin, ip=[::ffff:127.0.0.1], protocol=IMAP
Apr 21 19:46:19 server imapd: LOGOUT, user=martin, ip=[::ffff:127.0.0.1], headers=193, body=0, rcvd=338, sent=1265, time=0
Apr 21 19:46:21 server imapd: LOGIN, user=martin, ip=[::ffff:127.0.0.1], protocol=IMAP
Apr 21 19:47:31 server imapd: LOGOUT, user=martin, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=46, sent=432, time=0
Apr 21 19:47:39 server postfix/tlsmgr[6101]: fatal: open database var/lib/postfix/smtpd_scache.db: No such file or directory
Apr 21 19:47:40 server postfix/master[5863]: warning: process /usr/lib/postfix/tlsmgr pid 6101 exit status 1
Apr 21 19:47:40 server postfix/master[5863]: warning: /usr/lib/postfix/tlsmgr: bad command startup -- throttling
Apr 21 19:48:19 server postfix/master[5863]: warning: unix_trigger_event: read timeout for service private/tlsmgr

mail.log

Code:
Apr 21 19:45:00 server authdaemond: modules="authpam", daemons=5
Apr 21 19:45:00 server authdaemond: Installing libauthpam
Apr 21 19:45:00 server authdaemond: Installation complete: authpam
Apr 21 19:45:04 server postfix/master[5139]: daemon started -- version 2.5.1, configuration /etc/postfix
Apr 21 19:46:03 server postfix/master[5139]: terminating on signal 15
Apr 21 19:46:04 server postfix/master[5863]: daemon started -- version 2.5.1, configuration /etc/postfix
Apr 21 19:46:09 server freshclam[5957]: freshclam daemon 0.93 (OS: linux-gnu, ARCH: i386, CPU: i686) 
Apr 21 19:46:09 server freshclam[5957]: ClamAV update process started at Mon Apr 21 19:46:09 2008 
Apr 21 19:46:09 server freshclam[5957]: SECURITY WARNING: NO SUPPORT FOR DIGITAL SIGNATURES 
Apr 21 19:46:09 server freshclam[5957]: See the FAQ at http://www.clamav.net/support/faq for an explanation. 
Apr 21 19:46:09 server freshclam[5957]: main.cvd is up to date (version: 46, sigs: 231834, f-level: 26, builder: sven) 
Apr 21 19:46:09 server freshclam[5957]: daily.cld is up to date (version: 6865, sigs: 35377, f-level: 26, builder: ccordes) 
Apr 21 19:46:09 server freshclam[5957]: -------------------------------------- 
Apr 21 19:46:19 server imapd: Connection, ip=[::ffff:127.0.0.1]
Apr 21 19:46:19 server imapd: LOGIN, user=martin, ip=[::ffff:127.0.0.1], protocol=IMAP
Apr 21 19:46:19 server imapd: LOGOUT, user=martin, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=71, sent=568, time=0


mail.warm

Code:
Apr 21 19:46:38 server postfix/tlsmgr[6026]: fatal: open database var/lib/postfix/smtpd_scache.db: No such file or directory
Apr 21 19:46:39 server postfix/master[5863]: warning: process /usr/lib/postfix/tlsmgr pid 6026 exit status 1
Apr 21 19:46:39 server postfix/master[5863]: warning: /usr/lib/postfix/tlsmgr: bad command startup -- throttling
Apr 21 19:47:39 server postfix/tlsmgr[6101]: fatal: open database var/lib/postfix/smtpd_scache.db: No such file or directory
Apr 21 19:47:40 server postfix/master[5863]: warning: process /usr/lib/postfix/tlsmgr pid 6101 exit status 1
Apr 21 19:47:40 server postfix/master[5863]: warning: /usr/lib/postfix/tlsmgr: bad command startup -- throttling
Apr 21 19:48:19 server postfix/master[5863]: warning: unix_trigger_event: read timeout for service private/tlsmgr
Apr 21 19:48:40 server postfix/tlsmgr[6192]: fatal: open database var/lib/postfix/smtpd_scache.db: No such file or directory
Apr 21 19:48:41 server postfix/master[5863]: warning: process /usr/lib/postfix/tlsmgr pid 6192 exit status 1
Apr 21 19:48:41 server postfix/master[5863]: warning: /usr/lib/postfix/tlsmgr: bad command startup -- throttling
Apr 21 19:49:11 server postfix/tlsmgr[6301]: fatal: open database var/lib/postfix/smtpd_scache.db: No such file or directory
Apr 21 19:49:12 server postfix/master[6287]: warning: process /usr/lib/postfix/tlsmgr pid 6301 exit status 1
Apr 21 19:49:12 server postfix/master[6287]: warning: /usr/lib/postfix/tlsmgr: bad command startup -- throttling

why i have
Apr 21 19:46:19 server imapd: LOGIN, user=martin, ip=[::ffff:127.0.0.1], protocol=IMAP
??? i thing that mayby there is something wrong
Reply With Quote
  #8  
Old 22nd April 2008, 00:05
martin_rudowicz martin_rudowicz is offline
Junior Member
 
Join Date: Jan 2007
Posts: 7
Thanks: 3
Thanked 0 Times in 0 Posts
Post ;(

...........
Reply With Quote
  #9  
Old 22nd April 2008, 19:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Please try
Code:
chmod 666 /var/lib/postfix/smtpd_scache.db
If that doesn't help - what's in /etc/postfix/master.cf?
__________________
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
The Following User Says Thank You to falko For This Useful Post:
martin_rudowicz (22nd April 2008)
  #10  
Old 11th May 2008, 20:42
kkruecke kkruecke is offline
Junior Member
 
Join Date: Oct 2007
Posts: 1
Thanks: 0
Thanked 3 Times in 1 Post
 
Default

Change:

smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

to:

smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

and do:
postfix reload
Reply With Quote
The Following 3 Users Say Thank You to kkruecke For This Useful Post:
commentator (10th August 2009), hrvbid (18th June 2008), martin_rudowicz (12th May 2008)
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
Wrong quota messages Bruce General 10 15th September 2010 16:44
Installation Troubles bswinnerton Installation/Configuration 4 29th July 2007 17:56
E-mail delivered to wrong account pjdevries General 5 27th May 2007 20:19
FTP sends files to the wrong location tyson General 4 12th February 2007 17:59
gpar2, installed wrong package help please lizard_king825 Installation/Configuration 11 2nd November 2006 16:22


All times are GMT +2. The time now is 20:53.


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