Current time: 06-28-2024, 12:58 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ERLEDIGT] gentoo postfix + dovecot problem
Author Message
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #1
[ERLEDIGT] gentoo postfix + dovecot problem
Halloa,

ein Problem habe ich atm mit meinem neuen gentoo system. Hab von debian zu gentoo migriert und bisher alles hinbekommen bis auf das hier:

reject: RCPT from unknown[79.185.91.217]: 451 4.3.5 Server configuration problem;

ist meine alte debian configuration gewesen. Hab die ganzen pfade überprüft sollten eigentlich alle jetzt stimmen. Denn postfix startet einwandfrei.

hier mein postconf -n

Code:
postconf -n
alias_database = hash:/etc/postfix/ispcp/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
mydestination = $myhostname, $mydomain
mydomain = nbkg.de
myhostname = server.nbkg.de
mynetworks_style = host
myorigin = $myhostname
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP ispCP 1.0 Priamos Managed 1.0.0 RC3 OMEGA
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_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
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:12
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 = 1004
virtual_transport = dovecot
virtual_uid_maps = static:1004

Rbtux du gott des mailservers XD siehst du meinen Fehler vielleicht?
(This post was last modified: 02-07-2008 08:20 AM by Zothos.)
02-06-2008 06:43 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: gentoo postfix + dovecot problem
Quote:Rbtux du gott des mailservers XD siehst du meinen Fehler vielleicht?
Da bin ich mir sehr sicher. Hat es den mit der default config funktioniert ? Bevor Du auf dovecot gewechselt hast ?
Deswegen ist auch deine Seite grad offline ?

Greez BeNe
02-06-2008 06:49 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #3
RE: gentoo postfix + dovecot problem
Nein, da ja ein paar pfade sich geändert haben. Bei meinem debian liefs aber einwandfrei Tongue
Und die default wurde bei mir nicht ins system kopiert. Hatte bei der installation ein paar probleme.

jap, da gibts nochn kleines problem mit suexec + fastcgi + php Tongue aber das ham wa gleich
(This post was last modified: 02-06-2008 06:57 AM by Zothos.)
02-06-2008 06:54 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #4
RE: gentoo postfix + dovecot problem
server configuration error ist vermutlich ein nicht erreichbarer policy server...

laufen policyd-weight und postgrey auf den ports 12525 und 60000?

ansonsten komplette log files posten...
02-06-2008 07:10 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #5
RE: gentoo postfix + dovecot problem
Habs doch gewusst rbtux kennt die antwort Tongue

Nur noch ein paar kleinigkeiten ausbügeln dann rennt mein mailserver wieder wie er soll. Ansonsten poste ich hier Wink
02-06-2008 08:06 AM
Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #6
RE: gentoo postfix + dovecot problem
So, postfix, dovecot, policyd-weight und postgrey laufen nun.
Ein kleiner Schreibfehler und ein
cp -p /etc/services /var/spool/postfix/etc/services
brachte alles zum laufen.

Doch nun dropped er meine mails weil er die domain angeblich nicht findet. Doch
virtual_mailbox_domains = hash:/etc/postfix/ispcp/domains
ist ja gesetzt, und in der datei sind alle ordnungsgemäs eingetragen.

bsp: zothos.net vdmn_entry

Code:
Feb  5 22:36:55 server postfix/smtpd[5291]: connect from unknown[213.165.64.20]
Feb  5 23:36:55 server postfix/policyd-weight[3796]: decided action=PREPEND X-policyd-weight: using cached result; rate: -8.5; delay: 0s
Feb  5 23:36:55 server postgrey: action=pass, reason=triplet found, client_name=unknown, client_address=213.165.64.20, sender=Jochen.Manz@gmx.de, recipient=zothos@zothos.net
Feb  5 22:36:55 server postfix/smtpd[5291]: NOQUEUE: reject: RCPT from unknown[213.165.64.20]: 450 4.1.8 <Jochen.Manz@gmx.de>: Sender address rejected: Domain not found; from=<Jochen.Manz@gmx.de>$
Feb  5 22:36:55 server postfix/smtpd[5291]: disconnect from unknown[213.165.64.20]

Hier mal die useflags von postfix, vielleicht hilfts XD:
Code:
- - cdb          : Adds support for the CDB database engine from the author of qmail
- - dovecot-sasl : Enable Dovecot protocol version 1 (server only) SASL implementation
- - hardened     : activate default security enhancements for toolchain (gcc, glibc, binutils)
+ + ipv6         : Adds support for IP version 6
- - ldap         : Adds LDAP support (Lightweight Directory Access Protocol)
- - mailwrapper  : Adds mailwrapper support to allow multiple MTAs to be installed
- - mbox         : Adds support for mbox (/var/spool/mail) style mail spools
+ + mysql        : Adds mySQL Database support
- - nis          : Support for NIS/YP services
+ + pam          : Adds support PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip
- - postgres     : Adds support for the postgresql database
+ + sasl         : Adds support for the Simple Authentication and Security Layer
- - selinux      : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
+ + ssl          : Adds support for Secure Socket Layer connections
+ + vda          : Adds support for virtual delivery agent quota enforcin
(This post was last modified: 02-06-2008 08:41 AM by Zothos.)
02-06-2008 08:40 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #7
RE: gentoo postfix + dovecot problem
dein server kann gmx.de nicht auflösen... ist im chroot unter /var/spool/postfix/etc dieselbe resolv.conf wie im system?
02-06-2008 08:48 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #8
RE: gentoo postfix + dovecot problem
so, nun startet alles ohne probleme. Nur will er die mails nicht in die mailboxes einsortieren XD Irgendwo hab ich nochn fehler in der conf. Mal danach suchen XD

Kann ich dem dovecot irgendwie sagen er solle einfach alle mailboxes frisch anlegen? Denn wirklich mails sind atm noch nicht drinn.
(This post was last modified: 02-07-2008 05:39 AM by Zothos.)
02-07-2008 05:30 AM
Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #9
RE: gentoo postfix + dovecot problem
So, alle fehler behoben Smile Läuft jetzt wie geschmiert Tongue

danke an alle die mit rat und dem Zaunpfahl behilflich waren Smile Vor allem tnk an rbtux.
02-07-2008 08:19 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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