LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-02-2013, 12:06 PM   #1
adamos22
LQ Newbie
 
Registered: Jul 2013
Posts: 10

Rep: Reputation: Disabled
tune up config in postfix


Greetings all,

can some one provide me how to tune up my old postfix serwer

here is my config:
my config file main.cf:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
#inet_interfaces = localhost, 10.0.0.4
unknown_local_recipient_reject_code = 550
alias_database = hash:/etc/aliases

debug_peer_level = 2

debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5


sendmail_path = /usr/sbin/sendmail.postfix

newaliases_path = /usr/bin/newaliases.postfix

mailq_path = /usr/bin/mailq.postfix

setgid_group = postdrop

html_directory = no

manpage_directory = /usr/share/man

sample_directory = /usr/share/doc/postfix-2.2.2/samples

readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES

mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
delay_warning_time = 3h

myhostname = xxx-xxxxxxxxxxxxxxxx.xx
smtp_connect_timeout= 90
smtp_rset_timeout = 90
mydestination = $mydomain, $myhostname, localhost.$mydomain, $myhostname.$mydomain ,hash:/opt/tequila/domains/postfix/summary_domains
smtpd_banner = $myhostname ESMTP ready
debug_peer_level = 2
virtual_alias_maps = hash:/opt/tequila/domains/postfix/summary_virtual,hash:/etc/postfix/virtual
virtual_alias_domains =
transport_maps = hash:/etc/postfix/transport
alias_maps = hash:/etc/aliases, hash:/opt/tequila/domains/postfix/summary_aliases
message_size_limit = 50600000
mailbox_size_limit = 50660000
smtpd_recipient_restrictions = reject_non_fqdn_sender
reject_non_fqdn_recipient
permit_mynetworks
permit_sasl_authenticated
reject_unauth_destination
reject_unlisted_recipient
reject_unlisted_sender
check_sender_access hash:/etc/postfix/spamaccess
reject_rbl_client cbl.abuseat.org
reject_rbl_client dnsbl.sorbs.net
reject_rbl_client zen.spamhaus.org
broken_sasl_auth_clients = yes
body_checks = pcre:/etc/postfix/body_checks
header_checks = pcre:/etc/postfix/header_checks
mime_header_checks = pcre:/etc/postfix/noattach
local_recipent_maps = $alias_maps, unixasswd.byname
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = xxx-bxxxxxxxxxxx.xx
relay_domains = $mydestination
#smtp_sasl_auth_enable = yes
#smtp_sasl_security_options = noanonymous
#smtp_sasl_password_maps = hash:/etc/postfix/mdpwd
#myorigin = $mydomain
#append_dot_mydomain = no
mynetworks = 127.0.0.0/8
#mynetworks = 192.168.1.0/24
 
Old 08-02-2013, 12:20 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,956

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by adamos22 View Post
Greetings all,
can some one provide me how to tune up my old postfix serwer
Nope, because you don't say what problems (if any) you're having, how many users are on the system, what you mean by 'tune up' your server, what new features you want to add (if any), version/distro of Linux.

Without details or a clear goal, there's little anyone can help with.
 
Old 08-02-2013, 02:04 PM   #3
adamos22
LQ Newbie
 
Registered: Jul 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
my problems in postfix is that few times users send me info that e-mail beetween them are not reciving, what i mea tune up ?
like in this article:http://www.postfix.org/TUNING_README.html

performane tune speed of sending e-mail from serwer almost everyday i have situatin when about 200 e-mail is waiting for send because of queue and its groving.
 
Old 08-02-2013, 02:10 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,956

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by adamos22 View Post
my problems in postfix is that few times users send me info that e-mail beetween them are not reciving, what i mea tune up ?
like in this article:http://www.postfix.org/TUNING_README.html

performane tune speed of sending e-mail from serwer almost everyday i have situatin when about 200 e-mail is waiting for send because of queue and its groving.
Ok, and you still don't say how many users, what version/distro of Linux, version of postfix, how many emails per day are going out, or any details about your environment. You don't provide details about your server, bandwidth, if it's a dedicated email server, or sharing resources with other pieces of software, and whether your server is just acting as a relay host, sending it along to another server upstream (i.e. a smarthost).

The link you posted is a great tune-up guide, that tells you how to do these things...read/follow it. What is generating all those emails? How many users aren't getting their emails, and how do they know they're not? Again...without details, there is little we can tell you.
 
Old 08-07-2013, 10:42 AM   #5
adamos22
LQ Newbie
 
Registered: Jul 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
my lin version:2.6.14-1 Fedora Core 4

problems like this user have this bounced on email:
<xxxxxxxxxx_x@xxxxxxxx.xx>: host
/var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp] said: 250 2.1.5 ok (in
reply to DATA command)
 
Old 08-07-2013, 10:44 AM   #6
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
If you can get the complete headers of the bounce back, we can help you better.
 
Old 08-07-2013, 10:56 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,956

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by adamos22 View Post
my lin version:2.6.14-1 Fedora Core 4
Stop there: Fedora Core 4 reached end-of-life SEVEN YEARS AGO. It is ancient, unsupported, and hopelessly out of date. If you're running a company email server on something so old and insecure, stop. Load something current...the latest version of CentOS would be a good choice.
Quote:
problems like this user have this bounced on email:
<xxxxxxxxxx_x@xxxxxxxx.xx>: host
/var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp] said: 250 2.1.5 ok (in
reply to DATA command)
As said, the full bounce back message is needed, not just one line. And unless you also answer ALL the other questions that were asked previously, there's not much we can tell you. We can't/won't guess.
 
Old 08-07-2013, 11:18 AM   #8
adamos22
LQ Newbie
 
Registered: Jul 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
log file:
Aug 7 15:22:10 mail master[4578]: process 11550 exited, status 0
Aug 7 15:22:10 mail postfix/smtpd[11482]: 1C1CDFBD1: client=unknown[xx.xxx.xxx.xxx], sasl_method=LOGIN, sasl_username=xxxxxxxx.xx@xxxxxxxx.xx
Aug 7 15:22:10 mail postfix/cleanup[11393]: 1C1CDFBD1: message-id=<00e501ce9371$21d1fb00$6575f100$@xxxxxxxx.xx>
Aug 7 15:22:10 mail postfix/qmgr[26332]: 1C1CDFBD1: from=<xxxxxxxx.xx@xxxxxxxx.xx>, size=2113, nrcpt=1 (queue active)
Aug 7 15:22:10 mail postfix/lmtp[11366]: 1C1CDFBD1: to=<xxxxxxxx.xx@xxxxxxxx.xx>, relay=/var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp], delay=0, status=bounced (host /var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp] said: 250 2.1.5 ok (in reply to DATA command))
Aug 7 15:22:10 mail postfix/cleanup[11509]: 2BAEFFBF1: message-id=<20130807132210.2BAEFFBF1@xxxx.xxxxxxxx.xx>
Aug 7 15:22:10 mail postfix/qmgr[26332]: 2BAEFFBF1: from=<>, size=4035, nrcpt=1 (queue active)
Aug 7 15:22:10 mail postfix/qmgr[26332]: 1C1CDFBD1: removed
Aug 7 15:22:10 mail lmtpunix[11375]: duplicate_check: <20130807132210.2BAEFFBF1@xxxx.xxxxxxxx.xx> xxxxxxxx.xx!user.xxxxxxxx.xx 0
Aug 7 15:22:10 mail postfix/smtpd[11482]: 31963FBD1: client=unknown[xx.xxx.xxx.xxx], sasl_method=LOGIN, sasl_username=xxxxxxxx.xx@xxxxxxxx.xx
Aug 7 15:22:10 mail lmtpunix[11375]: mystore: starting txn 2147666290
Aug 7 15:22:10 mail lmtpunix[11375]: mystore: committing txn 2147666290
Aug 7 15:22:10 mail lmtpunix[11375]: duplicate_mark: <20130807132210.2BAEFFBF1@xxxx.xxxxxxxx.xx> xxxxxxxx.xx!user.xxxxxxxx.xx 1375881730 23373
Aug 7 15:22:10 mail lmtpunix[11375]: mystore: starting txn 2147666291
Aug 7 15:22:10 mail lmtpunix[11375]: mystore: committing txn 2147666291
Aug 7 15:22:10 mail lmtpunix[11375]: duplicate_mark: <20130807132210.2BAEFFBF1@xxxx.xxxxxxxx.xx> .xxxxxxxx.xx+@xxxxxxxx.xx.sieve. 1375881730 0
Aug 7 15:22:10 mail postfix/lmtp[11539]: 2BAEFFBF1: to=<xxxxxxxx.xx@xxxxxxxx.xx>, relay=/var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp], delay=0, status=sent (250 2.1.5 Ok)
Aug 7 15:22:10 mail postfix/qmgr[26332]: 2BAEFFBF1: removed
Aug 7 15:22:10 mail postfix/cleanup[11344]: 31963FBD1: message-id=<00e601ce9371$21e2c3e0$65a84ba0$@xxxxxxxx.xx>
Aug 7 15:22:10 mail postfix/qmgr[26332]: 31963FBD1: from=<xxxxxxxx.xx@xxxxxxxx.xx>, size=2256, nrcpt=1 (queue active)
Aug 7 15:22:10 mail lmtpunix[11543]: duplicate_check: <00e601ce9371$21e2c3e0$65a84ba0$@xxxxxxxx.xx> xxxxxxxx.xx!user.xxxxxxxx.xx 0
Aug 7 15:22:10 mail lmtpunix[11543]: mystore: starting txn 2147666292
Aug 7 15:22:10 mail lmtpunix[11543]: mystore: committing txn 2147666292
Aug 7 15:22:10 mail lmtpunix[11543]: duplicate_mark: <00e601ce9371$21e2c3e0$65a84ba0$@xxxxxxxx.xx> xxxxxxxx.xx!user.xxxxxxxx.xx 1375881730 23285
Aug 7 15:22:10 mail lmtpunix[11543]: mystore: starting txn 2147666293
Aug 7 15:22:10 mail lmtpunix[11543]: mystore: committing txn 2147666293
Aug 7 15:22:10 mail lmtpunix[11543]: duplicate_mark: <00e601ce9371$21e2c3e0$65a84ba0$@xxxxxxxx.xx> .xxxxxxxxxx_x+@xxxxxxxx.xx.sieve. 1375881730 0
Aug 7 15:22:10 mail postfix/lmtp[11576]: 31963FBD1: to=<xxxxxxxxxx_x@xxxxxxxx.xx>, relay=/var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp], delay=0, status=sent (250 2.1.5 Ok)
Aug 7 15:22:10 mail postfix/qmgr[26332]: 31963FBD1: removed
 
Old 08-07-2013, 11:24 AM   #9
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
This is log. Please get the headers of bounce back. Logs not giving more information.

Headers may give us more information.

Please check the user/password exists or not.

I think this is happening because the lmtp connection got out of sync somehow.

I think a temporary fix is to disable 'lmtp_cache_connect', but I'd prefer
to keep it in the long term.

Last edited by prayag_pjs; 08-07-2013 at 11:29 AM.
 
Old 08-07-2013, 11:39 AM   #10
adamos22
LQ Newbie
 
Registered: Jul 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by prayag_pjs View Post
This is log. Please get the headers of bounce back. Logs not giving more information.

Headers may give us more information.

Please check the user/password exists or not.

I think this is happening because the lmtp connection got out of sync somehow.

I think a temporary fix is to disable 'lmtp_cache_connect', but I'd prefer
to keep it in the long term.
ok, silly and newbie how to get headers ?
 
Old 08-07-2013, 01:27 PM   #11
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
I gave you two solutions.
One is get headers.
Other is lmtp_cache_connect changes.
You are asking for too much, please ask google how to get the headers.
 
Old 08-08-2013, 11:46 AM   #12
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,956

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by adamos22 View Post
ok, silly and newbie how to get headers ?
Did you read what I posted to you before??? There are several questions you've not even acknowledged, much less answered, and as said, running on Fedora Core 4 is a VERY BAD IDEA.

What log file did you get the information you've already posted from??
 
Old 08-08-2013, 12:52 PM   #13
adamos22
LQ Newbie
 
Registered: Jul 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Did you read what I posted to you before??? There are several questions you've not even acknowledged, much less answered, and as said, running on Fedora Core 4 is a VERY BAD IDEA.

What log file did you get the information you've already posted from??
thank you for informations taht you are gave me, i`m know that FC4 today for company serwer is legacy and critical way for mail serwer, at this point still want to fight with this serwer and distro and of course create new one server with centOS and migrate all data for new one serwer.

I`m think that there is huge possibility that new versions of postfix, horde, teuilla loomsday, all data prom sasl will not be compatible with there 7 old one versions of these aplications.
 
Old 08-08-2013, 01:18 PM   #14
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,956

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by adamos22 View Post
thank you for informations taht you are gave me, i`m know that FC4 today for company serwer is legacy and critical way for mail serwer, at this point still want to fight with this serwer and distro and of course create new one server with centOS and migrate all data for new one serwer.

I`m think that there is huge possibility that new versions of postfix, horde, teuilla loomsday, all data prom sasl will not be compatible with there 7 old one versions of these aplications.
Sorry, but that's not the case. Chances are you're having problems BECAUSE of the ancient versions of software you're running. Also, what do you plan on doing when the server dies? You NEED to upgrade, so doing it will only make your environment better. Yes, it will involve some work. And what do you mean by "7 old one versions"??? If all that server is running is postfix, what's the problem? If you're running ancient versions of all that OTHER software too, it also needs to be updated.

And you STILL haven't answered any of the questions asked to you previously. Unless you're going to answer questions and provide information, there's little point in posting. Again, we can't/won't guess.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Config toosoon Linux - Software 2 06-09-2011 08:16 PM
postfix config twisteguy22 Linux - Server 1 07-22-2010 05:55 PM
Postfix config VeeDubbs Linux - Server 3 08-28-2009 02:07 AM
postfix Config ratcateme Linux - Software 4 02-19-2008 08:15 AM
please help me with my postfix config carlene Linux - Networking 1 10-17-2006 10:45 PM


All times are GMT -5. The time now is 01:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration