#1  
Old 18th November 2011, 18:56
kiddiak kiddiak is offline
Junior Member
 
Join Date: Nov 2011
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
Default master server postfix config

Hi,

I'm noticing that /var/log/mail.log is huge on my master server. Comparing postfix main.cf to other servers ( non mail servers ), they have

mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
----- and no more ----

master server has

mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailb.............
---- and pretty much the same content as mail servers ----

Is that right ? I can't recall that I configured mail on the master server, the errors are eg.

Nov 18 16:39:21 master-server postfix/qmgr[32013]: warning: connect to mysql server 127.0.0.1: Access denied for user 'ispconfig'@'localhost' (using password: YES)
Nov 18 16:39:21 master-server postfix/qmgr[32013]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Nov 18 16:39:21 master-server postfix/master[1165]: warning: process /usr/lib/postfix/error pid 32020 exit status 1
Nov 18 16:39:21 master-server postfix/master[1165]: warning: process /usr/lib/postfix/error pid 32021 exit status 1
Nov 18 16:39:21 master-server postfix/master[1165]: warning: process /usr/lib/postfix/error pid 32023 exit status 1
Nov 18 16:39:22 master-server postfix/master[1165]: warning: process /usr/lib/postfix/qmgr pid 32013 exit status 1

hundreds of lines pr min.

I've tried to take mysql db password from /usr/local/ispconfig/server/lib/config.inc.php and set the same pw for user ispconfig but I guess the whole system would not work anyways if the pw was off. Any idea? I'm about to remove those lines in main.cf and reconfigure postfix but I want to be sure ispconfig master server ( wo mail ) should not be configured this way in general.

Regards,
Kiddi.
Reply With Quote
Sponsored Links
  #2  
Old 18th November 2011, 19:43
kiddiak kiddiak is offline
Junior Member
 
Join Date: Nov 2011
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Well I've commented out everything and mail.log is quite now.... if you see that I'm doing something terribly wrong, let me know Now I've got to figure out php mail, probably need a new post for that
Reply With Quote
Reply

Bookmarks

Tags
mail, master, master server, postfix

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
Postfix/courier/Centos 6 cant send email to external email servers maxtorzito Installation/Configuration 14 7th October 2011 11:56
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 15:33
Spamsnake - Problem with spamassassin, FuzzyOcr and MySQL debuguser HOWTO-Related Questions 6 16th September 2008 19:37
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47
Webmail Relay Error palkat General 17 23rd April 2006 19:12


All times are GMT +2. The time now is 03:58.


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