Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th December 2011, 21:17
zoomm zoomm is offline
Junior Member
 
Join Date: Nov 2010
Posts: 16
Thanks: 4
Thanked 1 Time in 1 Post
Default POP3/IMAP-Server: Offline

Hi,

the pop3 and imap server is offline on Debian Lenny.
Thanks for any help or advice
Reply With Quote
Sponsored Links
  #2  
Old 6th December 2011, 22:30
Ghostdare Ghostdare is offline
Senior Member
 
Join Date: Aug 2009
Location: Europe - Romania - Bucharest
Posts: 159
Thanks: 12
Thanked 26 Times in 26 Posts
Default

Can tou give us a little bit information here... post logs.
Reply With Quote
  #3  
Old 6th December 2011, 22:42
zoomm zoomm is offline
Junior Member
 
Join Date: Nov 2010
Posts: 16
Thanks: 4
Thanked 1 Time in 1 Post
Default

the last mail error log:

Dec 6 11:46:13 www sm-mta[14918]: pB5DI2Vm003131: SYSERR(root): Cannot exec /usr/sbin/sensible-mda: No such file or directory
Dec 6 13:34:10 www postfix/master[6334]: fatal: bind 0.0.0.0 port 25: Address already in use
Dec 6 13:41:14 www postfix/master[7241]: fatal: bind 0.0.0.0 port 25: Address already in use
Dec 6 13:52:17 www postfix/smtpd[4408]: fatal: no SASL authentication mechanisms
Reply With Quote
  #4  
Old 7th December 2011, 00:00
cbj4074 cbj4074 is offline
Senior Member
 
Join Date: Nov 2010
Posts: 395
Thanks: 30
Thanked 58 Times in 50 Posts
Default

It would be helpful if you told us something about your software.

Are you using Courier or Dovecot? Did you install the software yourself?

As the error message cited indicates, something else is already bound to port 25, which may be (part of) the reason that Postfix won't start.

What does the output of

Code:
netstat -l
indicate with regard to SMTP and POP/IMAP?
Reply With Quote
  #5  
Old 7th December 2011, 00:10
zoomm zoomm is offline
Junior Member
 
Join Date: Nov 2010
Posts: 16
Thanks: 4
Thanked 1 Time in 1 Post
Default

i use the Debian Lenny (Debian 5.0) With BIND & Dovecot [ISPConfig 3]

netstat -l

tcp 0 0 localhost:953 *:* LISTEN
tcp6 0 0 [::]:http-alt [::]:* LISTEN
tcp6 0 0 [::]:www [::]:* LISTEN
tcp6 0 0 [::]:tproxy [::]:* LISTEN
tcp6 0 0 [::]:"ssh port" [::]:* LISTEN
tcp6 0 0 [::]:ftp [::]:* LISTEN
tcp6 0 0 [::]:domain [::]:* LISTEN
tcp6 0 0 ip6-localhost:953 [::]:* LISTEN
tcp6 0 0 [::]:https [::]:* LISTEN
udp 0 0 mail."domain":domain *:*
udp 0 0 www.:"domain"*:*
udp 0 0 localhost:domain *:*
udp 0 0 mail."domain":ntp *:*
udp 0 0 "domain":ntp *:*
udp 0 0 localhost:ntp *:*
udp 0 0 *:ntp *:*
udp6 0 0 [::]:domain [::]:*
udp6 0 0 fe80::6e62:6dff:fe8:ntp [::]:*
udp6 0 0 ip6-localhost:ntp [::]:*
udp6 0 0 [::]:ntp [::]:*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 217556 public/cleanup
unix 2 [ ACC ] STREAM LISTENING 217564 private/tlsmgr
unix 2 [ ACC ] STREAM LISTENING 217568 private/rewrite
unix 2 [ ACC ] STREAM LISTENING 217572 private/bounce
unix 2 [ ACC ] STREAM LISTENING 217576 private/defer
unix 2 [ ACC ] STREAM LISTENING 217580 private/trace
unix 2 [ ACC ] STREAM LISTENING 217584 private/verify
unix 2 [ ACC ] STREAM LISTENING 217588 public/flush
unix 2 [ ACC ] STREAM LISTENING 217592 private/proxymap
unix 2 [ ACC ] STREAM LISTENING 217596 private/proxywrite
unix 2 [ ACC ] STREAM LISTENING 217600 private/smtp
unix 2 [ ACC ] STREAM LISTENING 217604 private/relay
unix 2 [ ACC ] STREAM LISTENING 217608 public/showq
unix 2 [ ACC ] STREAM LISTENING 217612 private/error
unix 2 [ ACC ] STREAM LISTENING 217616 private/retry
unix 2 [ ACC ] STREAM LISTENING 217620 private/discard
unix 2 [ ACC ] STREAM LISTENING 217624 private/local
unix 2 [ ACC ] STREAM LISTENING 217628 private/virtual
unix 2 [ ACC ] STREAM LISTENING 217632 private/lmtp
unix 2 [ ACC ] STREAM LISTENING 217636 private/anvil
unix 2 [ ACC ] STREAM LISTENING 217640 private/scache
unix 2 [ ACC ] STREAM LISTENING 217644 private/maildrop
unix 2 [ ACC ] STREAM LISTENING 217648 private/uucp
unix 2 [ ACC ] STREAM LISTENING 217653 private/ifmail
unix 2 [ ACC ] STREAM LISTENING 217657 private/bsmtp
unix 2 [ ACC ] STREAM LISTENING 217661 private/scalemail-backend
unix 2 [ ACC ] STREAM LISTENING 217665 private/mailman
unix 2 [ ACC ] STREAM LISTENING 217669 private/dovecot
unix 2 [ ACC ] STREAM LISTENING 217673 private/amavis
unix 2 [ ACC ] STREAM LISTENING 143256 /var/run/dovecot/login/default
unix 2 [ ACC ] STREAM LISTENING 143261 /var/run/dovecot/auth-worker.13195
unix 2 [ ACC ] STREAM LISTENING 143266 /var/spool/postfix/private/auth
unix 2 [ ACC ] STREAM LISTENING 143272 /var/run/dovecot/auth-master
unix 2 [ ACC ] STREAM LISTENING 6461 /var/run/acpid.socket
unix 2 [ ACC ] STREAM LISTENING 10015 /var/run/fail2ban/fail2ban.sock
unix 2 [ ACC ] STREAM LISTENING 143254 /var/run/dovecot/dict-server
unix 2 [ ACC ] STREAM LISTENING 220932 /var/run/clamav/clamd.ctl
unix 2 [ ACC ] STREAM LISTENING 6729 /var/lib/amavis/amavisd.sock
unix 2 [ ACC ] STREAM LISTENING 6832 /var/run/mysqld/mysqld.sock
Reply With Quote
  #6  
Old 7th December 2011, 00:29
cbj4074 cbj4074 is offline
Senior Member
 
Join Date: Nov 2010
Posts: 395
Thanks: 30
Thanked 58 Times in 50 Posts
Default

Great, thanks.

So, as we already suspected, neither SMTP or POP/IMAP is listening for incoming connections.

a.) Did this setup ever work? Or is this a new installation?

b.) Have you installed the SASL libraries, e.g.:

Code:
apt-get install libsasl2-2 libsasl2-modules libsasl2-modules-sql sasl2-bin libpam-mysql
c.) What happens (i.e., what is output to the terminal and what is appended to /var/log/mail.log) when you attempt to start Dovecot, e.g.:

Code:
# service dovecot start
d.) Can you post the contents of the following two files? (Please be sure to wrap the output with code tags.)

Code:
/etc/postfix/master.cf
/etc/postfix/main.cf
Let's start there...
Reply With Quote
  #7  
Old 7th December 2011, 04:20
zoomm zoomm is offline
Junior Member
 
Join Date: Nov 2010
Posts: 16
Thanks: 4
Thanked 1 Time in 1 Post
Default

/etc/postfix/master.cf

smtp inet n - - - - smtpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
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
proxywrite unix - - n - 1 proxymap
smtp unix - - - - - smtp
relay unix - - - - - smtp
-o smtp_fallback_relay=
showq unix n - - - - showq
error unix - - - - - error
retry 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
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${nexthop} ${sender}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
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=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}

dovecot unix - n n - - pipe
flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop}
amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes

127.0.0.1:10025 inet 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,rej ect
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o receive_override_options=no_unknown_recipient_chec ks,no_header_body_checks
-o smtpd_bind_address=127.0.0.1


/etc/postfix/main.cf

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
readme_directory = /usr/share/doc/postfix
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
myhostname = "domain"
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
myorigin = /etc/mailname
mydestination = "domain", localhost, localhost.localdomain
relayhost =
mynetworks = 127.0.0.0/8 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
html_directory = /usr/share/doc/postfix/html
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf, hash:/var/lib/mailman/data/virtual-mailman
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /var/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
smtpd_tls_security_level = may
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sende$
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
Reply With Quote
  #8  
Old 7th December 2011, 06:18
nveid nveid is offline
Member
 
Join Date: Jan 2006
Location: Daytona Beach, FL
Posts: 87
Thanks: 7
Thanked 17 Times in 14 Posts
Send a message via Yahoo to nveid Send a message via Skype™ to nveid
Default

Quote:
Originally Posted by zoomm View Post
Hi,
the pop3 and imap server is offline on Debian Lenny.
I know this is off topic.. But why are you using Lenny?
From debian.rog
Quote:
Debian GNU/Linux 5.0 (lenny) — obsolete stable release
You need to upgrade to squeeze.
__________________
-- RLB

Last edited by nveid; 7th December 2011 at 06:20.
Reply With Quote
  #9  
Old 7th December 2011, 23:53
cbj4074 cbj4074 is offline
Senior Member
 
Join Date: Nov 2010
Posts: 395
Thanks: 30
Thanked 58 Times in 50 Posts
 
Default

Thanks, but the only question of mine that you addressed was d.), and you neglected to wrap the contents in code tags.

To help you, we need more information. Please re-read my previous post.
Reply With Quote
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
Virtual Users+Postfix+Courier+CentOS problem telnet localhost 25 stinson HOWTO-Related Questions 11 5th February 2011 14:57
SSL don't work please help me walner8080 Installation/Configuration 8 26th September 2010 13:07
Email problem 'Cannot set my user or group id.' (using ISPConfig 3 + OpenSuSE 11.2) urosm Installation/Configuration 5 19th June 2010 23:41
I don't recieve mail. privir Installation/Configuration 2 3rd June 2009 23:08
Can't start apache Musty Server Operation 12 9th March 2008 14:58


All times are GMT +2. The time now is 22:29.


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