Emailproblem

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
dmj
Posts: 8
Joined: 2005-08-31 15:53

Emailproblem

Post by dmj » 2006-09-19 16:07

Server: V-Server mit 256 MB RAM bei Vanager.com
OS: Debian Sarge
Confixx 3.2.1

Ich kann die Emails per Outlook abrufen (dafür habe ich einen pop3 eingerichtet), Versand dagegen nicht möglich.
Abfrage per Confixx Email-Weboberfläche ist nicht möglich.
(Fehler: Verbindeung zum pop3 ist nicht möglich......)

Habe auf dem Server osdate (http://www.osdate.de) installiert, obwohl das Programm (per sendmail) emails an User rausschicken will, landen alle Nachrichten bei /var/mail/www-data und werden nicht zugestellt.

Könnte mir bitte einer kurz erklären, wo der Fehler liegen könnte und wie ich den ggfls. beheben kann ?

Danke im Voraus

duergner
RSAC
Posts: 976
Joined: 2003-08-20 11:30
Location: Pittsburgh, PA, USA

Re: Emailproblem

Post by duergner » 2006-09-19 16:22

Schon mal dran gedacht, dass in den Logfiles viellleicht wichtige Informationen stehen koennten?

oxygen
RSAC
Posts: 2179
Joined: 2002-12-15 00:10
Location: Bergheim

Re: Emailproblem

Post by oxygen » 2006-09-19 16:45

Sehr interessant wäre auch ob (und wenn ja welcher) MTA installiert ist und wie der konfiguriert ist.

dmj
Posts: 8
Joined: 2005-08-31 15:53

Postfix

Post by dmj » 2006-09-19 18:05

Postfix (aktuelle Version)

main.cf

Code: Select all

# See /usr/share/postfix/main.cf.dist for a commented, more complete version

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

myhostname = localhost.localdomain
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost.localdomain, localhost.localdomain, , localhost
relayhost = 
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

### CONFIXX POSTFIX ENTRY ###

virtual_maps = hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains

### /CONFIXX POSTFIX ENTRY ###
unknown_local_recipient_reject_code = 450
master.cf

Code: Select all

smtp      inet  n       -       -       -       -       smtpd
#submission inet n      -       -       -       -       smtpd
#	-o smtpd_etrn_restrictions=reject
#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
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
relay     unix  -       -       -       -       -       smtp
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
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 -d -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}

# only used by postfix-tls
#tlsmgr	  fifo	-	-	n	300	1	tlsmgr
#smtps	  inet	n	-	n	-	-	smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#587	  inet	n	-	n	-	-	smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes

duergner
RSAC
Posts: 976
Joined: 2003-08-20 11:30
Location: Pittsburgh, PA, USA

Re: Emailproblem

Post by duergner » 2006-09-19 18:45

Die Log-Files bist du aber immer noch schuldig. Achja und fuer Postfix ist die Ausgabe von postconf -n immer besser als die main.cf.

dmj
Posts: 8
Joined: 2005-08-31 15:53

Re: Emailproblem

Post by dmj » 2006-09-19 19:27

Postconf -n

Code: Select all

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
mailbox_command = /usr/bin/procmail
mailbox_size_limit = 0
mydestination = localhost.localdomain, localhost.localdomain, , localhost
myhostname = localhost.localdomain
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
unknown_local_recipient_reject_code = 450
/var/log/mail.err

Code: Select all

Sep 17 21:38:43 bluesercode dccproc[9695]: socket(UDP): Address family not supported by protocol
Sep 18 02:51:16 bluesercode dccproc[1767]: socket(UDP): Address family not supported by protocol
Sep 18 11:35:54 bluesercode postfix/smtp[5261]: fatal: watchdog timeout
Sep 18 22:21:46 bluesercode postfix/qmgr[23879]: fatal: socket: Cannot allocate memory
Sep 18 22:21:46 bluesercode postfix/smtp[7862]: fatal: socket: Cannot allocate memory
Sep 18 22:21:48 bluesercode postfix/smtp[7843]: fatal: socket: Cannot allocate memory
Sep 18 22:35:08 bluesercode postfix/postfix-script: fatal: the Postfix mail system is already running
Sep 19 02:52:44 bluesercode postfix/postfix-script: fatal: usage: postfix start (or stop, reload, abort, flush, check, set-permissions, upgrade-configuration)
Sep 19 02:53:23 bluesercode postfix/postfix-script: fatal: usage: postfix start (or stop, reload, abort, flush, check, set-permissions, upgrade-configuration)
Sep 19 14:06:04 bluesercode postfix/postfix-script: fatal: the Postfix mail system is already running
Sep 19 14:06:10 bluesercode postfix/postfix-script: fatal: usage: postfix start (or stop, reload, abort, flush, check, set-permissions, upgrade-configuration)
Sep 19 14:20:31 bluesercode postfix/postfix-script: fatal: usage: postfix start (or stop, reload, abort, flush, check, set-permissions, upgrade-configuration)
Sep 19 18:26:13 bluesercode dccproc[31887]: socket(UDP): Address family not supported by protocol
Sep 19 18:42:22 bluesercode dccproc[30568]: socket(UDP): Address family not supported by protocol
Hoffe, Du kannst damit was anfangen :-)

Roger Wilco
Administrator
Administrator
Posts: 6001
Joined: 2004-05-23 12:53

Re: Emailproblem

Post by Roger Wilco » 2006-09-19 22:04

dmj wrote:

Code: Select all

Sep 18 11:35:54 bluesercode postfix/smtp[5261]: fatal: watchdog timeout
Sep 18 22:21:46 bluesercode postfix/qmgr[23879]: fatal: socket: Cannot allocate memory
Sep 18 22:21:46 bluesercode postfix/smtp[7862]: fatal: socket: Cannot allocate memory
Sep 18 22:21:48 bluesercode postfix/smtp[7843]: fatal: socket: Cannot allocate memory
Sep 18 22:35:08 bluesercode postfix/postfix-script: fatal: the Postfix mail system is already running
Dein Speicher ist voll.