Current time: 11-23-2024, 03:14 PM Hello There, Guest! (LoginRegister)


Post Reply 
Mailserver Problem
Author Message
Helix Offline
Junior Member
*

Posts: 23
Joined: Apr 2010
Reputation: 0
Post: #1
Mailserver Problem
hello,
yesterday i dicided to install on my strato vserver debian 5.0 and ispcp. Now its all done. I followed this tutorial:
http://www.isp-control.net/documentation...ion:debian


when i try to send a mail via the webmail interface i get this message:

Code:
Message not sent. Server replied:

    Service not available, closing channel
    421 4.3.0 collect: Cannot write ./dfo3E7HjHf003893 (bfcommit, uid=0, gid=107): No such file or directory

/var/log/mail.log :
Code:
Apr 14 09:17:45 h1676638 sm-mta[3893]: o3E7HjHf003893: SYSERR(root): collect: Cannot write ./dfo3E7HjHf003893 (bfcommit, uid=0, gid=107): No such file or directory
Apr 14 09:17:45 h1676638 sm-mta[3893]: o3E7HjHf003893: from=<test@yourclanhost.de>, size=533, class=0, nrcpts=1, proto=ESMTP, daemon=MTA-v4, relay=h1676638.stratoserver.net.local [127.0.0.1]

when i try to send a mail wiht my gmx account there is nothing in the logs but it doesnt work,too


please help me

here a list of packages i installed on my debian 5.0 server:

Code:
ii  adduser                         3.110                    add and remove users and groups
ii  apache2                         2.2.9-10+lenny6          Apache HTTP Server metapackage
ii  apache2-mpm-worker              2.2.9-10+lenny6          Apache HTTP Server - high speed threaded mod
ii  apache2-suexec                  2.2.9-10+lenny6          Standard suexec program for Apache 2 mod_sue
ii  apache2-utils                   2.2.9-10+lenny6          utility programs for webservers
ii  apache2.2-common                2.2.9-10+lenny6          Apache HTTP Server common files
ii  apt                             0.7.20.2+lenny1          Advanced front-end for dpkg
ii  apt-utils                       0.7.20.2+lenny1          APT utility programs
ii  aptitude                        0.4.11.11-1~lenny1       terminal-based package manager
ii  aptitude-doc-en                 0.4.11.11-1~lenny1       English manual for aptitude, a terminal-base
ii  awstats                         6.7.dfsg-5.1             powerful and featureful web server log analy
ii  base-files                      5lenny5                  Debian base system miscellaneous files
ii  base-passwd                     3.5.20                   Debian base system master password and group
ii  bash                            3.2-4                    The GNU Bourne Again SHell
ii  bind9                           1:9.5.1.dfsg.P3-1+lenny1 Internet Domain Name Server
ii  bind9utils                      1:9.5.1.dfsg.P3-1+lenny1 Utilities for BIND
ii  binutils                        2.18.1~cvs20080103-7     The GNU assembler, linker and binary utiliti
ii  bsd-mailx                       8.1.2-0.20071201cvs-3    A simple mail user agent
ii  bsdmainutils                    6.1.10                   collection of more utilities from FreeBSD
ii  bsdutils                        1:2.13.1.1-1             Basic utilities from 4.4ens: 8108  Flush tables: 1  Open tables: 64  Queries per second avg: 39.713-quality block-sorting file compressor -
ii  ca-certificates                 200E4ii  chkrootkit                      0.48-8                   rootkit detector
ii  console-common                  0.7.80                   basic infrastructure for text console config
ii  console-data                    2:1.07-11                keymaps, fonts, charset maps, fallback table
ii  console-tools                   1:0.2.3dbs-65.1          Linux console and font utilities
ii  console-tools-dev               1:0.2.3dbs-65.1          Development files for Linux console and font
ii  coreutils                       6.10-6                   The GNU core utilities
ii  courier-authdaemon              0.61.0-1+lenny1          Courier authentication daemon
ii  courier-authlib                 0.61.0-1+lenny1          Courier authentication library
ii  courier-authlib-userdb          0.61.0-1+lenny1          userdb support for the Courier authenticatio
ii  courier-base                    0.60.0-2                 Courier mail server - base system
ii  courier-imap                    4.4.0-2                  Courier mail server - IMAP server
ii  courier-maildrop                0.60.0-2                 Courier mail server - mail delivery agent
ii  courier-pop   ���������������E��4�9@�@�������     Courier mail server - POP3 server
ii  cpio                            2.9-13                   GNU cpio -- a program to manage archives of
ii  cpp                             4:4.3.2-2                The GNU C preprocessor (cpp)
ii  cpp-4.3                         4.3.2-1.1                The GNU C preprocessor
ii  cracklib-runtime                2.8.12-8lenny1           runtime support for password checker library
ii  cron                            3.0pl1-105               management of regular background processing
ii  curl                            7.18.2-8lenny4           Get a file from an HTTP, HTTPS or FTP server
ii  db4.6-util                      4.6.21-11                Berkeley v4.6 Database Utilities
04-14-2010 05:56 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Mailserver Problem
The package list is very short - ends with "db4"... :-)

The errors above seem to point to a write permission problem - I don't know what went wrong during the installation but either there are some permissions set worng or there are some directory settings set wrong.

what's inside the master.cf?

is the debian a "normal" or a strato-adopted version?

/J
04-14-2010 06:03 PM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #3
RE: Mailserver Problem
I Close here. Smile DON'T OPEN TWO THREADS FOR THE SAME PROBLEM !!!
04-14-2010 06:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Mailserver Problem
reopened - since the german post seems to attract to few people...
04-14-2010 06:31 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Helix Offline
Junior Member
*

Posts: 23
Joined: Apr 2010
Reputation: 0
Post: #5
RE: Mailserver Problem
thanks...yeah i think its a normal debian5.0 image.

which master.cf do you mean?

find /* | grep master.cf :
Code:
/etc/postfix/master.cf
/etc/ispcp/postfix/master.cf
/etc/ispcp/postfix/working/master.cf
/etc/ispcp/postfix/backup/master.cf.system
/tmp/ispcp/etc/ispcp/postfix/master.cf
/usr/local/src/ispcp/ispcp-omega-1.0.5/configs/gentoo/postfix/master.cf
/usr/local/src/ispcp/ispcp-omega-1.0.5/configs/centos/postfix/master.cf
/usr/local/src/ispcp/ispcp-omega-1.0.5/configs/openbsd/postfix/master.cf
/usr/local/src/ispcp/ispcp-omega-1.0.5/configs/redhat/postfix/master.cf
/usr/local/src/ispcp/ispcp-omega-1.0.5/configs/fedora/postfix/master.cf
/usr/local/src/ispcp/ispcp-omega-1.0.5/configs/freebsd/postfix/master.cf
/usr/local/src/ispcp/ispcp-omega-1.0.5/configs/opensuse/postfix/master.cf
/usr/local/src/ispcp/ispcp-omega-1.0.5/configs/ubuntu/postfix/master.cf
/usr/local/src/ispcp/ispcp-omega-1.0.5/configs/debian/postfix/master.cf
/usr/share/postfix/master.cf.dist
04-14-2010 06:35 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: Mailserver Problem
the first...

maybe also a "postconf -n" could help.

please check what is gid 107

/J
04-14-2010 09:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Helix Offline
Junior Member
*

Posts: 23
Joined: Apr 2010
Reputation: 0
Post: #7
RE: Mailserver Problem
nano /etc/postfix/master.cf
Code:
#
# 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
#    -o receive_override_options=no_address_mappings                # Uncomment this line, when unsing AMaViS
#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       -       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) a Virtual Hosting Control System
#
# @copyright    2001-2006 by moleSoftware GmbH
# @copyright    2006-2010 by ispCP | http://isp-control.net
# @version        SVN: $Id: master.cf 2505 2010-01-06 20:30:53Z nuxwin $
# @link            http://isp-control.net
# @author        ispCP Team
# ====================================================================
# for AMaViS and spam filter support
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/messenger/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/bin/maildrop -d ${recipient}
#
# 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=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}

postconf -n
Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_at_myorigin = yes
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
inet_interfaces = all
local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database
local_transport = local
mail_spool_directory = /var/mail
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
message_size_limit = 0
mydestination = $myhostname, $mydomain
mydomain = h1676638.stratoserver.net.local
myhostname = h1676638.stratoserver.net
mynetworks_style = host
myorigin = $myhostname
recipient_delimiter = +
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP ispCP 1.0.5 OMEGA Managed
smtpd_data_restrictions = reject_multi_recipient_bounce,                               reject_unauth_pipelining
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,                               permit_sasl_authenticated,                               reject_invalid_helo_hostname,                               reject_non_fqdn_helo_hostname
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_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = reject_non_fqdn_sender,                               reject_unknown_sender_domain,                               permit_mynetworks,                               permit_sasl_authenticated
transport_maps = hash:/etc/postfix/ispcp/transport
virtual_alias_maps = hash:/etc/postfix/ispcp/aliases
virtual_gid_maps = static:8
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_domains = hash:/etc/postfix/ispcp/domains
virtual_mailbox_limit = 0
virtual_mailbox_maps = hash:/etc/postfix/ispcp/mailboxes
virtual_minimum_uid = 1001
virtual_transport = virtual
virtual_uid_maps = static:1001

nano /etc/group
Code:
smmsp:x:107:
04-14-2010 10:19 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #8
RE: Mailserver Problem
setgid_group = postdrop

is there a group named "postdrop" ?

/J
04-15-2010 08:01 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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