PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Debian sarge Mailserver postfix cyrus21 procmail clamav spamassassin



ApeArt
04.11.05, 15:16
Hi all,

setze gerade einen neuen mailsever auf und hab dabei folgendes problem:
erstens ich sitze gerade in estland und fliege morgen wieder nach hause da muss das teil laufen

zweitens die Mails verschicken funktioniert bestens, beim abrufen kommen erst die problem.
Beim fetchen bekomm ich diesen fehler:

Nov 4 14:42:49 localhost postfix/smtpd[4641]: 076352C6A04: client=localhost.localdomain[127.0.0.1]
Nov 4 14:42:49 localhost postfix/cleanup[4625]: 076352C6A04: message-id=<002c01c5e145$9f25ba10$1547a8c0@juxxa1>
Nov 4 14:42:49 localhost postfix/smtpd[4641]: disconnect from localhost.localdomain[127.0.0.1]
Nov 4 14:42:49 localhost postfix/qmgr[4554]: 076352C6A04: from=<rain@msbaltitrafo.ee>, size=2674, nrcpt=1 (queue active)
Nov 4 14:42:49 localhost postfix/smtp[4626]: C09ED2C6A09: to=<rain@localhost.ms.baltitrafo>, orig_to=<rain@localhost>, relay=127.0.0.1[127.0.0.1], delay=4, status=sent (250 2.6.0 Ok, id=01300-04, from MTA: 250 Ok: queued as 076352C6A04)
Nov 4 14:42:49 localhost postfix/qmgr[4554]: C09ED2C6A09: removed
Nov 4 14:42:49 localhost postfix/smtp[4556]: 076352C6A04: to=<rain@localhost.ms.baltitrafo>, relay=mail.centrum.neti.ee[194.126.101.100], delay=0, status=deferred (host mail.centrum.neti.ee[194.126.101.100] said: 450 <rain@localhost.ms.baltitrafo>: Recipient address rejected: Domain not found (in reply to RCPT TO command))
Nov 4 14:43:32 localhost cyrus/master[1323]: process 4632 exited, status 0
Nov 4 14:46:46 localhost postfix/smtpd[4648]: connect from localhost.localdomain[127.0.0.1]
Nov 4 14:47:48 localhost postfix/smtpd[4648]: disconnect from localhost.localdomain[127.0.0.1]

was ist da nicht in ordnung?

meine main.cf:

mydomain = ms.baltitrafo
myhostname = msmailee.ms.baltitrafo
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = msmailee.ms.baltitrafo.ee, localhost.localdomain, localhost
relayhost = [mail.centrum.neti.ee]
mynetworks = 192.168.71.0/24 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipent_delimiter = +
smtpd_sasl_local_domain = $myhostname
smptd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_retrictions = permit_sasl_authenticated,permit_mynetworks,check_ relay_domains
smtpd_recipient_retrictions =
inet_interfaces = all
smtpd_tls_auth_only = no
smtp_use_tls = no
smtpd_use_tls = no
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
content_filter = amavis:[127.0.0.1]:10024
mailbox_transport = procmail
canonical_maps = hash:/etc/postfix/canonical
#mailq_path = /usr/bin/mailq
#mail_spool_directory = /var/mail
#program_directory = /usr/lib/postfix
smtpd_helo_required = yes
strict_rfc821_envelopes = no
#virtual_alias_domains =msmailee.ms.baltitrafo

meine master.cf:

# ================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ================================================== ========================
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
amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o disable_dns_lookups=yes

127.0.0.1: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,rej ect
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes


binn um jeden Tip dankbar

Gruss
Ape

DaGrrr
04.11.05, 15:44
Hi,

vielleicht hilft dir dieser Link etwas weiter.
klick (http://workaround.org/articles/ispmail-sarge/index.shtml.de)

Gruß
DaGrrr

ApeArt
04.11.05, 15:52
Danke dir, kann aber leider mit mysql nichts anfangen.

Hab die gleich sache auch schon auf suse installiert, da ging das einwandfrei. ich werd noch wahnsinnig

Gruss
Ape

DaGrrr
04.11.05, 16:01
Hm ok, ein versuch wars wert.

In dem log steht, dass er die Domain nicht finden kann und ich habe folgendes in der main.cf bei dir gefunden:

mydestination = msmailee.ms.baltitrafo.ee, localhost.localdomain, localhost

Sollte die Zeile nicht in etwa so aussehen?

mydestination = $myhostname, localhost.$mydomain, localhost

Damit meine ich, der Domainname "msmailee.ms.baltitrafo.ee" sollte in "mydomain = " stehen wie du es schon hast.

Wo kommt denn die Endung ".ee" her? Da passt was nicht.

Grüße
DaGrrr

ApeArt
04.11.05, 16:14
haste recht war ein tippfehler, hat aber leider nix berwirkt die meldung bleibt die gleich :-(

Roger Wilco
04.11.05, 23:26
Du hast da den einen oder anderen Fehler in deiner main.cf, z. B. "smtpd_recipient_retrictions" sollte "smtpd_recipient_restrictions" heißen. Die Option "check_relay_domains" ist mir ebenfalls neu.

ApeArt
06.11.05, 21:22
den fehler hab ich auch schon verbessert aber leider ohne erfolg.
Ich glaub ich mach wieder ein suse mailserver da gabs solche problem nicht.
Wobei Debian bis auf den mailserver das besser system miener meinung ist.

Aber trotzdem danke

Gruss
Andi