Current time: 11-27-2024, 06:16 AM Hello There, Guest! (LoginRegister)


Post Reply 
Big Postfix Problems
Author Message
elitepilot Offline
Member
***

Posts: 352
Joined: Feb 2008
Reputation: 0
Post: #1
Big Postfix Problems
Hello since 17:30 my MTA does not work anymore.

In mail.warn and mail.log:
[b]server postfix/master[2214]: fatal: bind 78.47.79.103 port 10025: Address already in use


System:
Debian Etch 64Bit
ISPCP Omega RC3 (sourceforge)
Vserver


Error in Webmail:
111 Can't open SMTP stream.


my main.cf:

#
# Postfix MTA Manager Main Configuration File;
#
# Please do NOT edit this file manually;
#

#
# Postfix directory settings; These are critical for normal Postfix MTA functionallity;
#

command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix

#
# Some common configuration parameters;
#

inet_interfaces = all
mynetworks_style = host

myhostname = server.haicon.eu
mydomain = server.haicon.eu.local
myorigin = $myhostname

smtpd_banner = $myhostname Mail
setgid_group = postdrop

#
# Receiving messages parameters;
#

mydestination = $myhostname, $mydomain
append_dot_mydomain = no
append_at_myorigin = yes
local_transport = local
transport_maps = hash:/etc/postfix/ispcp/transport

#
# Delivering local messages parameters;
#

mail_spool_directory = /var/mail

# Mailboxquota
# => 0 for unlimited
# => 104857600 for 100 MB
mailbox_size_limit = 0
mailbox_command = procmail -a "$EXTENSION"

biff = no

alias_database = hash:/etc/aliases

local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database

#
# ISPCP Autoresponder parameters;
#

ispcp-arpl_destination_recipient_limit = 1

#
# Delivering virtual messages parameters;
#

virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_limit = 0

virtual_mailbox_domains = hash:/etc/postfix/ispcp/domains
virtual_mailbox_maps = hash:/etc/postfix/ispcp/mailboxes

virtual_alias_maps = hash:/etc/postfix/ispcp/aliases

virtual_minimum_uid = 1001
virtual_uid_maps = static:1001
virtual_gid_maps = static:8

#
# SASL paramters;
#
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
#smtpd_sasl2_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_authenticated_header = yes
#smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1

smtpd_helo_required = yes

smtpd_helo_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_invalid_helo_hostname,
reject_non_fqdn_helo_hostname

smtpd_sender_restrictions = reject_non_fqdn_sender,
reject_unknown_sender_domain,
permit_mynetworks,
permit_sasl_authenticated

smtpd_recipient_restrictions = reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_unlisted_recipient,
check_policy_service inet:127.0.0.1:12525,
#check_policy_service inet:127.0.0.1:60000,
permit

smtpd_data_restrictions = reject_multi_recipient_bounce,
reject_unauth_pipelining


#
# TLS parameters; activate, if avaible/used
#

#smtpd_tls_loglevel = 2
#smtpd_tls_cert_file = /etc/postfix/cert.pem
#smtpd_tls_key_file = /etc/postfix/privkey.pem
#smtpd_use_tls = yes
#smtpd_tls_auth_only = no
#smtpd_tls_received_header = yes


#
# AMaViS parameters; activate, if available/used
#

content_filter = amavis:[127.0.0.1]:10024

#
# Quota support; activate, if available/used
#

#virtual_create_maildirsize = yes
#virtual_mailbox_extended = yes
#virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
#virtual_mailbox_limit_override = yes
#virtual_maildir_limit_message = "The user you're trying to reach is over mailbox quota."
#virtual_overquota_bounce = yes


my master.cf:

#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - - - - smtpd
#submission inet n - - - - smtpd
# -o smtpd_enforce_tls=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps inet n - - - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
# For AOL-Accounts
587 inet n - - - - smtpd
-o smtpd_client_restrictions=permit_sasl_authenticated,reject_unauth_destination
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - - - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - - - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
# ====================================================================
# ISPCP ω OMEGA configuration
# ====================================================================
# AMaViS => Antivir / Antispam
amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes

localhost:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o smtpd_override_options=no_address_mappings
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes

# ISPCP autoresponder
ispcp-arpl unix - n n - - pipe
flags=O user=vmail argv=/var/www/ispcp/engine/messager/ispcp-arpl-msgr

# TLS - Activate, if TLS is avaiable/used
smtps inet n - - - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix - n n - - pipe
flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
cyrus unix - n n - - pipe
user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
dovecot unix - n n - - pipe
flags=DRhu user=vmail:mail argv=/usr/lib/dovecot/deliver -d ${recipient}


I am using Postfix, dovecot, Maia Mailguard Amavis, Clam Av( from Tutorial)

in hope of answer,

ElitePilot
(This post was last modified: 03-12-2008 04:48 AM by elitepilot.)
03-12-2008 03:51 AM
Find all posts by this user Quote this message in a reply
Rene Offline
Member
*
Beta Team

Posts: 342
Joined: Sep 2007
Reputation: 4
Post: #2
RE: Big Postfix Problems
there is sth. else running on this port...

please install lsof...

Code:
lsof -i -P -T
(This post was last modified: 03-12-2008 04:23 AM by Rene.)
03-12-2008 04:22 AM
Find all posts by this user Quote this message in a reply
elitepilot Offline
Member
***

Posts: 352
Joined: Feb 2008
Reputation: 0
Post: #3
RE: Big Postfix Problems
Rene Wrote:there is sth. else running on this port...

please install lsof...

Code:
lsof -i -P -T


server:/# lsof -i -P -T

COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME

named 1463 bind 20u IPv4 530934172 UDP server.haicon.eu:53

named 1463 bind 21u IPv4 530934173 TCP server.haicon.eu:53

named 1463 bind 22u IPv4 530934174 UDP server.haicon.eu:42498

named 1463 bind 23u IPv4 530934175 TCP server.haicon.eu:953

mysqld 1553 mysql 15u IPv4 530934266 TCP server.haicon.eu:3306

amavisd-n 1704 amavis 6u IPv4 530934476 TCP server.haicon.eu:10024

policyd-w 1713 polw 5u IPv4 530934485 UDP server.haicon.eu:42499->ns5-coloc.hetzner.de:53

policyd-w 1713 polw 6u IPv4 530934488 TCP server.haicon.eu:12525

postgrey 1718 postgrey 7u IPv4 530934530 TCP server.haicon.eu:60000

oidentd 2149 nobody 8u IPv4 530934869 TCP server.haicon.eu:113

sshd 2220 root 3u IPv4 530935096 TCP server.haicon.eu:22

dovecot 2249 root 6u IPv4 530935135 TCP server.haicon.eu:143

dovecot 2249 root 7u IPv4 530935136 TCP server.haicon.eu:110

amavisd-n 2259 amavis 6u IPv4 530934476 TCP server.haicon.eu:10024

amavisd-n 2260 amavis 6u IPv4 530934476 TCP server.haicon.eu:10024

proftpd 2261 nobody 1u IPv4 530935176 TCP server.haicon.eu:21

apache2 2276 root 5u IPv4 530935206 TCP server.haicon.eu:80

apache2 2278 www-data 5u IPv4 530935206 TCP server.haicon.eu:80

apache2 2280 www-data 5u IPv4 530935206 TCP server.haicon.eu:80

apache2 2285 www-data 5u IPv4 530935206 TCP server.haicon.eu:80

ispcp_dae 2350 root 0u IPv4 530935271 TCP server.haicon.eu:9876

pop3-logi 2406 dovecot 0u IPv4 530935136 TCP server.haicon.eu:110

pop3-logi 2407 dovecot 0u IPv4 530935136 TCP server.haicon.eu:110

sshd 2417 root 3r IPv4 530935438 TCP server.haicon.eu:22->pD9E80DF9.dip0.t-ipconnect.de:54245

imap-logi 2455 dovecot 0u IPv4 530935135 TCP server.haicon.eu:143

miniserv. 2626 root 8u IPv4 530936037 TCP server.haicon.eu:10000

miniserv. 2626 root 9u IPv4 530936038 UDP server.haicon.eu:10000

server_li 3080 voice 19u IPv4 530936466 UDP server.haicon.eu:8767

server_li 3080 voice 28u IPv4 530936477 UDP server.haicon.eu:7001

server_li 3080 voice 31u IPv4 530936543 TCP server.haicon.eu:45042

server_li 3080 voice 32u IPv4 530936544 TCP server.haicon.eu:51632

server_li 3080 voice 34u IPv4 530936602 TCP server.haicon.eu:51632->server.haicon.eu:34995

server_li 3080 voice 35u IPv4 530937098 TCP server.haicon.eu:51632->server.haicon.eu:34996

perl 3228 voice 6u IPv4 530936601 TCP server.haicon.eu:34995->server.haicon.eu:51632

sshd 3421 root 3r IPv4 530936794 TCP server.haicon.eu:22->pD9E80DF9.dip0.t-ipconnect.de:54249

perl 3718 voice 5u IPv4 530937097 TCP server.haicon.eu:34996->server.haicon.eu:51632

ventrilo_ 3722 voice 6u IPv4 530937441 TCP server.haicon.eu:3785

apache2 6501 www-data 5u IPv4 530935206 TCP server.haicon.eu:80

imap-logi 8607 dovecot 0u IPv4 530935135 TCP server.haicon.eu:143

imap-logi 8608 dovecot 0u IPv4 530935135 TCP server.haicon.eu:143

sshd 8992 root 3r IPv4 531148394 TCP server.haicon.eu:22->pD9E80DF9.dip0.t-ipconnect.de:54493

sbnc 11804 bouncers 3u IPv4 530946266 UDP *:42504

sbnc 11804 bouncers 4u IPv4 530946268 TCP server.haicon.eu:9000

sbnc 11804 bouncers 7u IPv4 530946271 TCP server.haicon.eu:8090

sbnc 11804 bouncers 8u IPv4 530946272 TCP server.haicon.eu:34454->clanserver4u.de.quakenet.org:6668

sbnc 11804 bouncers 9u IPv4 530968852 TCP server.haicon.eu:34474->clanserver4u.de.quakenet.org:6668

sbnc 11804 bouncers 10u IPv4 530946385 TCP server.haicon.eu:9000->BADb330.bad.pppool.de:51023

sbnc 11804 bouncers 11u IPv4 530947494 TCP server.haicon.eu:34456->clanserver4u.de.quakenet.org:6668

sbnc 11804 bouncers 12u IPv4 530950217 TCP server.haicon.eu:34459->clanserver4u.de.quakenet.org:6668

sbnc 11804 bouncers 13u IPv4 530965856 TCP server.haicon.eu:34471->clanserver4u.de.quakenet.org:6668

pop3-logi 21195 dovecot 0u IPv4 530935136 TCP server.haicon.eu:110

When i restart Postfix, no change.
I seems to be that Postfix crashes.

PS: ich komme aus Meckenheim ( Rheinland) Rheinbach dürfte nicht weit entfernt sein oder?
(This post was last modified: 03-12-2008 04:41 AM by elitepilot.)
03-12-2008 04:24 AM
Find all posts by this user Quote this message in a reply
Rene Offline
Member
*
Beta Team

Posts: 342
Joined: Sep 2007
Reputation: 4
Post: #4
RE: Big Postfix Problems
Code:
/etc/init.d/postfix start

please format your post it is hard to read...

hehe yes Smile
(This post was last modified: 03-12-2008 04:32 AM by Rene.)
03-12-2008 04:32 AM
Find all posts by this user Quote this message in a reply
elitepilot Offline
Member
***

Posts: 352
Joined: Feb 2008
Reputation: 0
Post: #5
RE: Big Postfix Problems
Rene Wrote:
Code:
/etc/init.d/postfix start

please format your post it is hard to read...

hehe yes Smile

server:/etc/init.d# /etc/init.d/postfix start
Starting Postfix Mail Transport Agent: postfix.

Nothing changed
(This post was last modified: 03-12-2008 04:38 AM by elitepilot.)
03-12-2008 04:33 AM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #6
RE: Big Postfix Problems
And what say's the log after restart?
03-12-2008 04:38 AM
Visit this user's website Find all posts by this user Quote this message in a reply
elitepilot Offline
Member
***

Posts: 352
Joined: Feb 2008
Reputation: 0
Post: #7
RE: Big Postfix Problems
gOOvER Wrote:And what say's the log after restart?

The Same.

Mar 11 19:25:27 server postfix/master[19462]: fatal: bind 78.47.79.103 port 10025: Address already in use
Mar 11 19:33:02 server postfix/master[17220]: fatal: bind 78.47.79.103 port 10025: Address already in use
Mar 11 19:34:39 server postfix/master[25305]: fatal: bind 78.47.79.103 port 10025: Address already in use


And "ps aux" does not show a postfix process"
(This post was last modified: 03-12-2008 04:47 AM by elitepilot.)
03-12-2008 04:42 AM
Find all posts by this user Quote this message in a reply
Rene Offline
Member
*
Beta Team

Posts: 342
Joined: Sep 2007
Reputation: 4
Post: #8
RE: Big Postfix Problems
did you test this before you use/install dovecot?
(This post was last modified: 03-12-2008 06:32 AM by Rene.)
03-12-2008 06:31 AM
Find all posts by this user Quote this message in a reply
elitepilot Offline
Member
***

Posts: 352
Joined: Feb 2008
Reputation: 0
Post: #9
RE: Big Postfix Problems
Rene Wrote:did you test this before you use/install dovecot?

yeah i test it. Do you have iCQ
03-12-2008 06:45 AM
Find all posts by this user Quote this message in a reply
Rene Offline
Member
*
Beta Team

Posts: 342
Joined: Sep 2007
Reputation: 4
Post: #10
RE: Big Postfix Problems
and what? was there the same problem?

yes i have icq but we should solve the problem here...
03-12-2008 06:50 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)