|
Webserver Fragen zum Apache, MySQL-Einrichtung und was sonst noch mit WebServern zu tun hat |
|
Themen-Optionen | Ansicht |
|
08.04.2010, 19:02 | #1 | |||||||||||
Moderator
Registriert seit: 10.04.2008
Alter: 36
Beitr?ge: 4.074
Abgegebene Danke: 200
Erhielt 1.331 Danke für 153 Beiträge
Downloads: 2
Uploads: 1 Nachrichten: 731 Renommee-Modifikator:
6014 |
Mailserver Problem
Ich hab jetzt schon seit einigen Monaten richtig trouble mit meinem Mailserver...
leider hat mir bis jetzt keiner bis zum abschluss (also sodass alles funzte) helfen können, daher frag ich einfach mal blind hier rein. System: Debian Etch Mailsystem vorher: MTA Exim4 + Vexim als Konfig oberfläche dovecot als imap+pop3 clamd spamd mailman Angefangen hat es mit meiner Dummheit, als ich aus testzwecken mal die Rechte für alle anderen User (nicht Owner der files) wegnahm, da ich davon ausging, wenn ein programm zugriff will, wirds das schon chowned haben, dass dann die ganzen phps nicht mehr gingen war der erste effekjt der sich aber relativ schnell wieder rückgängig hat machen lassen. das was ich danach gemerkt habe (2 Wochen später), war, dass ein User mit richtigem Passwort nicht mehr auf die Mail- Weboberfläche gekommen ist. Auth. Fehlgeschlagen. Meine Auth ging noch. Ich änderte sein passwd im Vexim, was jedoch nichts änderte... das neue pass ging auch nicht. Ich änderte mein passwort mal zum test, dann ging bei mir jedoch weder das alte noch das neue passwort... Grande Shit! Da ich ja aktiv mit dem mailserver arbeite ist das ein echtes scheißproblem. Da ich mir nicht zu helfen wusste, deinstallierte ich die dienste, reinstallierte sie, prüfte nochmal die Configs und nun ging der imap login auch nicht mehr... Da das Tut mit dem ich den Mailserver aufgestellt habe weg ist (im internet gelöscht worden) habe ich nun von Feudas ein neues tut bekommen nachdem ich den Mailserver komplett neu aufgesetzt habe (also alles was mit mail server zu tun hatte -purge und dann gemäss der anleitung weiter). Dieses System ist nun jetzt am laufen: MTA Exim4 + Vexim als Konfig oberfläche courier als imap+pop3 clamd spamd mailman Nun ging imap, pop3 und das versenden von mails (smtp) aber trotz dass ich mir von meinem gmx acc mails schicke kommen diese nicht an... Wohlgemerkt bekomme ich keine meldung dass die mail nicht zugestellt werden konnte und die Logs auf dem Server sind auch leer diesbezüglich... mail verschwunden... Ich habs dann mal mit dovecot nochmal als imap und pop3 server versucht, aber die laufen nichtmal an als dienst, geschweige denn was annehmen. Kurzum weiß ich nicht mehr was ich machen soll... dabei hat das doch am anfang so toll gefunzt... hat irgendeiner noch ne idee? Falls mir jemand helfen kann, schließe ich eine kleine Gegenleistung nicht aus. Wie diese Gegenleistung aussieht kann man dann bei Behebung des Problems ausmachen. Hilfe! , *heul* und *verzweifel* Solstice
__________________
Schmutziges Geschirr schimmelt nicht,
wenn man es einfriert |
|||||||||||
08.04.2010, 20:33 | #2 | |||||||||||
Erfahrener Benutzer
Registriert seit: 06.12.2008
Ort: /dev
Beitr?ge: 433
Abgegebene Danke: 12
Erhielt 77 Danke für 8 Beiträge
Downloads: 10
Uploads: 0 Nachrichten: 331 Renommee-Modifikator:
791 |
Hi,
das hört sich nach nem config/rechte Problem an. Iwas zwischen Mail annehmen und ins Maildir/mfile schmeißen läuft da schief. Vermutlich wird da vom MTA(Exim) was falsch zugeordnet. Gruß SP4c3 |
|||||||||||
08.04.2010, 20:41 | #3 |
Ausbilder Schmidt
Registriert seit: 30.10.2008
Ort: Essen (Ruhr) Ruhrpott4Ever :D
Alter: 36
Beitr?ge: 2.665
Abgegebene Danke: 107
Erhielt 1.644 Danke für 154 Beiträge
Downloads: 43
Uploads: 1 Nachrichten: 3942 Renommee-Modifikator:
10 |
für mich sind das alles böhmische dörfer.. weiß nur was pop3 und imap ist
__________________
|
08.04.2010, 20:53 | #4 | |||||||||||
Profi
Registriert seit: 30.03.2009
Ort: Zuhause
Alter: 34
Beitr?ge: 841
Abgegebene Danke: 91
Erhielt 137 Danke für 27 Beiträge
Downloads: 18
Uploads: 0 Nachrichten: 84 Renommee-Modifikator:
995 |
Mööp.
sieht bei mir genauso aus, habe leider 0 Plan von Mailservern. So gerne ich Solstice auch mal "zurückhelfen" würde ^^
__________________
Lernt suchen!
http://www.netvision-technik.de/foru...ead.php?t=3490 Mein auführliches, idiotensicheres How-To! |
|||||||||||
08.04.2010, 21:43 | #5 | |||||||||||
König
Registriert seit: 06.09.2008
Ort: Da wo der Himmel neun schlägt...
Beitr?ge: 1.630
Abgegebene Danke: 253
Erhielt 1.103 Danke für 139 Beiträge
Downloads: 89
Uploads: 3 Nachrichten: 3824 Renommee-Modifikator:
3461 |
sol versuch mal dieses tut hier........
http://holl.co.at/howto-email/ benutze ich auch meistens immer. lg dark
__________________
Chaosqueen: Gegen unseren DDos Schutz hat keiner ne Chance.
Ich: Träum mal schön weiter du Naive Person. |
|||||||||||
08.04.2010, 22:36 | #6 | ||||||||||||
Erfahrener Benutzer
Registriert seit: 06.12.2008
Ort: /dev
Beitr?ge: 433
Abgegebene Danke: 12
Erhielt 77 Danke für 8 Beiträge
Downloads: 10
Uploads: 0 Nachrichten: 331 Renommee-Modifikator:
791 |
Zitat:
Es läuft net also nochmal neu machen. Geht natürlich auch, aber bringt Sol in dem Fall kein Wissen über den Fehler(wenn er dann behoben ist) |
||||||||||||
09.04.2010, 00:15 | #7 | |||||||||||
Moderator
Registriert seit: 10.04.2008
Alter: 36
Beitr?ge: 4.074
Abgegebene Danke: 200
Erhielt 1.331 Danke für 153 Beiträge
Themenstarter
Downloads: 2
Uploads: 1 Nachrichten: 731 Renommee-Modifikator:
6014 |
Ich bleibe bei exim wegen der geilen oberfläche vexim die dat alles überschaubar macht.
daher ist das tut für mich ungeeignet... ich hatte diese version des mailservers nach einem vorhandenen Tut das mir Feudas empfohlen hat aufgesetzt... es geht ja auch alles... ausser das mails empfangen ^^ ich hab alles bis ins kleinste befolgt (auch wenns nicht viel war) und trotzdem läuft das nicht rund... SP4C3 kannst du da evtl helfen? wenn du vermutest dass da was schief geht... help please ^^ sag mir was du brauchst.... da du exim erwähnt hast, hier die hauptconfig: Klicke hier, um den gesamten Text zu sehen
Code:
###################################################################### # MAIN CONFIGURATION SETTINGS # ###################################################################### MAILMAN_HOME=/var/lib/mailman MAILMAN_WRAP=MAILMAN_HOME/mail/mailman MAILMAN_USER=list MAILMAN_GROUP=daemon # Your IP address MY_IP = ******** # If you are using MySQL, uncomment the following two lines: VIRTUAL_DOMAINS = SELECT DISTINCT domain FROM domains WHERE type = 'local' AND enabled = '1' AND domain = '${quote_mysql:$domain}' RELAY_DOMAINS = SELECT DISTINCT domain FROM domains WHERE type = 'relay' AND domain = '${quote_mysql:$domain}' ALIAS_DOMAINS = SELECT DISTINCT alias FROM domainalias WHERE alias = '${quote_mysql:$domain}' # If you are using PGSQL, uncomment the following four lines: #VIRTUAL_DOMAINS = SELECT DISTINCT domain || ' : ' FROM domains WHERE type = 'local' #RELAY_DOMAINS = SELECT DISTINCT domain || ' : ' FROM domains WHERE type = 'relay' domainlist local_domains = @ : ${lookup mysql{VIRTUAL_DOMAINS}} : ${lookup mysql{ALIAS_DOMAINS}} domainlist relay_to_domains = ${lookup mysql{RELAY_DOMAINS}} hostlist relay_from_hosts = localhost trusted_users = vmail:www-data hide mysql_servers = localhost::(/var/run/mysqld/mysqld.sock)/vexim/vexim/***** acl_smtp_rcpt = acl_check_rcpt acl_smtp_data = acl_check_content acl_smtp_helo = acl_check_helo av_scanner = clamd:/var/run/clamav/clamd.ctl spamd_address = 127.0.0.1 783 exim_user = Debian-exim exim_group = Debian-exim never_users = root host_lookup = * rfc1413_hosts = * rfc1413_query_timeout = 0s ignore_bounce_errors_after = 2d # This option cancels (removes) frozen messages that are older than a week. timeout_frozen_after = 7d # We also want a little more detail in our logs, helps with debugging log_selector = +subject ###################################################################### # ACL CONFIGURATION # # Specifies access control lists for incoming SMTP mail # ###################################################################### begin acl .include /etc/exim4/vexim-acl-check-spf.conf acl_check_helo: # Include Vexim specific helo ACLs .include /etc/exim4/vexim-acl-check-helo.conf # This access control list is used for every RCPT command in an incoming # SMTP message. The tests are run in order until the address is either # accepted or denied. acl_check_rcpt: # Accept if the source is local SMTP (i.e. not over TCP/IP). We do this by # testing for an empty sending host field. accept hosts = : # Include Vexim specific rcpt ACLs .include /etc/exim4/vexim-acl-check-rcpt.conf # Deny if the local part contains @ or % or / or | or !. These are rarely # found in genuine local parts, but are often tried by people looking to # circumvent relaying restrictions. # Also deny if the local part starts with a dot. Empty components aren't # strictly legal in RFC 2822, but Exim allows them because this is common. # However, actually starting with a dot may cause trouble if the local part # is used as a file name (e.g. for a mailing list). deny local_parts = ^.*[@%!/|] : ^\\. # Accept mail to postmaster in any local domain, regardless of the source, # and without verifying the sender. accept local_parts = postmaster domains = +local_domains # Deny unless the sender address can be verified. # require verify = sender ############################################################################# # There are no checks on DNS "black" lists because the domains that contain # these lists are changing all the time. However, here are two examples of # how you could get Exim to perform a DNS black list lookup at this point. # The first one denies, while the second just warns. # # deny message = rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text # dnslists = black.list.example # # warn message = X-Warning: $sender_host_address is in a black list at $dnslist_domain # log_message = found in $dnslist_domain # dnslists = black.list.example ############################################################################# # Accept if the address is in a local domain, but only if the recipient can # be verified. Otherwise deny. The "endpass" line is the border between # passing on to the next ACL statement (if tests above it fail) or denying # access (if tests below it fail). accept domains = +local_domains endpass verify = recipient # Accept if the address is in a domain for which we are relaying, but again, # only if the recipient can be verified. accept domains = +relay_to_domains endpass verify = recipient # If control reaches this point, the domain is neither in +local_domains # nor in +relay_to_domains. # Accept if the message comes from one of the hosts for which we are an # outgoing relay. Recipient verification is omitted here, because in many # cases the clients are dumb MUAs that don't cope well with SMTP error # responses. If you are actually relaying out from MTAs, you should probably # add recipient verification here. accept hosts = +relay_from_hosts # Accept if the message arrived over an authenticated connection, from # any host. Again, these messages are usually from MUAs, so recipient # verification is omitted. accept authenticated = * # Reaching the end of the ACL causes a "deny", but we might as well give # an explicit message. deny message = relay not permitted # This access control list is used for content scanning with the exiscan-acl # patch. You must also uncomment the entry for acl_smtp_data (scroll up), # otherwise the ACL will not be used. IMPORTANT: the default entries here # should be treated as EXAMPLES. You MUST read the file doc/exiscan-acl-spec.txt # to fully understand what you are doing ... acl_check_content: # Include Vexim specific rcpt ACLs .include /etc/exim4/vexim-acl-check-content.conf # finally accept all the rest accept ###################################################################### # ROUTERS CONFIGURATION # # Specifies how addresses are handled # ###################################################################### # THE ORDER IN WHICH THE ROUTERS ARE DEFINED IS IMPORTANT! # # An address is passed to each router in turn until it is accepted. # ###################################################################### begin routers # domain_literal: # driver = ipliteral # domains = ! +local_domains # transport = remote_smtp dnslookup: driver = dnslookup domains = ! +local_domains transport = remote_smtp ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 no_more mailman_router: driver = accept require_files = MAILMAN_HOME/lists/$local_part/config.pck local_part_suffix_optional local_part_suffix = -bounces : -bounces+* : \ -confirm+* : -join : -leave : \ -owner : -request : -admin headers_remove = X-Spam-Score:X-Spam-Report transport = mailman_transport ditch_maxmsgsize: driver = redirect allow_fail condition = ${if >{$message_size}{${lookup mysql{select users.maxmsgsize from users,domains \ where localpart = '${quote_mysql:$local_part}' \ and domain = '${quote_mysql:$domain}' \ and users.maxmsgsize > 0 \ and users.domain_id=domains.domain_id }{${value}K}fail}} {yes}{no}} data = :fail:\n\Your message is too big.\n \ Your message was rejected because the user $local_part@$domain\n \ does not accept messages larger than \ ${lookup mysql{select users.maxmsgsize from users,domains \ where localpart = '${quote_mysql:$local_part}' \ and domain = '${quote_mysql:$domain}' \ and users.maxmsgsize > 0 \ and users.domain_id=domains.domain_id}{${value}K}fail} Kb. local_part_suffix = -* local_part_suffix_optional retry_use_local_part ditch_malware: driver = redirect allow_fail data = :blackhole: condition = ${if and { {match {$h_X-ACL-Warn:}{.*malware.*}} \ {eq {${lookup mysql{select users.on_avscan from users,domains \ where localpart = '${quote_mysql:$local_part}' \ and domain = '${quote_mysql:$domain}' \ and users.on_avscan = '1' \ and users.domain_id=domains.domain_id}}}{1} }} {yes}{no} } ditch_spam: driver = redirect allow_fail data = :blackhole: condition = ${if >{$spam_score_int}{${lookup mysql{select users.sa_refuse * 10 from users,domains \ where localpart = '${quote_mysql:$local_part}' \ and domain = '${quote_mysql:$domain}' \ and users.on_spamassassin = '1' \ and users.domain_id=domains.domain_id \ and users.sa_refuse > 0 }{$value}fail}} {yes}{no}} local_part_suffix = -* local_part_suffix_optional retry_use_local_part ditch_hdrmailer: driver = redirect allow_fail data = :blackhole: condition = ${if eq {${lookup mysql{select count(*) from blocklists,users,domains \ where blocklists.blockhdr = 'x-mailer' \ and blocklists.blockval = '${quote_mysql:$h_x-mailer:}' \ and users.localpart = '${quote_mysql:$local_part}' \ and domains.domain = '${quote_mysql:$domain}' \ and domains.domain_id=blocklists.domain_id \ and users.user_id=blocklists.user_id}}}{1} {yes}{no}} local_part_suffix = -* local_part_suffix_optional retry_use_local_part ditch_hdrto: driver = redirect allow_fail data = :blackhole: condition = ${if eq {${lookup mysql{select count(*) from blocklists,users,domains \ where blocklists.blockhdr = 'to' \ and blocklists.blockval = '${quote_mysql:$h_to:}' \ and users.localpart = '${quote_mysql:$local_part}' \ and domains.domain = '${quote_mysql:$domain}' \ and domains.domain_id=blocklists.domain_id \ and users.user_id=blocklists.user_id}}}{1} {yes}{no}} local_part_suffix = -* local_part_suffix_optional retry_use_local_part ditch_hdrfrom: driver = redirect allow_fail data = :blackhole: condition = ${if eq {${lookup mysql{select count(*) from blocklists,users,domains \ where blocklists.blockhdr = 'from' \ and blocklists.blockval = '${quote_mysql:$h_from:}' \ and users.localpart = '${quote_mysql:$local_part}' \ and domains.domain = '${quote_mysql:$domain}' \ and domains.domain_id=blocklists.domain_id \ and users.user_id=blocklists.user_id}}}{1} {yes}{no}} local_part_suffix = -* local_part_suffix_optional retry_use_local_part ditch_hdrsubject: driver = redirect allow_fail data = :blackhole: condition = ${if eq {${lookup mysql{select count(*) from blocklists,users,domains \ where blocklists.blockhdr = 'subject' \ and blocklists.blockval = '${quote_mysql:$h_subject:}' \ and users.localpart = '${quote_mysql:$local_part}' \ and domains.domain = '${quote_mysql:$domain}' \ and domains.domain_id=blocklists.domain_id \ and users.user_id=blocklists.user_id}}}{1} {yes}{no}} local_part_suffix = -* local_part_suffix_optional retry_use_local_part virtual_vacation: driver = accept condition = ${if and { {!match {$h_precedence:}{(?i)junk|bulk|list}} \ {eq {${lookup mysql{select users.on_vacation from users,domains \ where localpart = '${quote_mysql:$local_part}' \ and domain = '${quote_mysql:$domain}' \ and users.on_vacation = '1' \ and users.domain_id=domains.domain_id}}}{1} }} {yes}{no} } no_verify no_expn unseen transport = virtual_vacation_delivery virtual_forward: driver = redirect check_ancestor unseen = ${if eq {${lookup mysql{select unseen from users,domains \ where localpart = '${quote_mysql:$local_part}' \ and domain = '${quote_mysql:$domain}' \ and users.on_forward = '1' \ and users.domain_id=domains.domain_id}}}{1} {yes}{no}} data = ${lookup mysql{select forward from users,domains \ where localpart='${quote_mysql:$local_part}' \ and domain='${quote_mysql:$domain}' \ and users.domain_id=domains.domain_id \ and on_forward = '1'}} # We explicitly make this condition NOT forward mailing list mail! condition = ${if and { {!match {$h_precedence:}{(?i)junk}} \ {eq {${lookup mysql{select users.on_forward from users,domains \ where localpart = '${quote_mysql:$local_part}' \ and domain = '${quote_mysql:$domain}' \ and users.on_forward = '1' \ and users.domain_id=domains.domain_id}}}{1} }} {yes}{no} } virtual_domains: driver = redirect allow_fail data = ${lookup mysql{select smtp from users,domains \ where localpart = '${quote_mysql:$local_part}' \ and domain = '${quote_mysql:$domain}' \ and domains.enabled = '1' \ and users.enabled = '1' \ and users.domain_id = domains.domain_id}} headers_add = ${if >{$spam_score_int}{${lookup mysql{select users.sa_tag * 10 from users,domains \ where localpart = '${quote_mysql:$local_part}' \ and domain = '${quote_mysql:$domain}' \ and users.on_spamassassin = '1' \ and users.domain_id=domains.domain_id }{$value}fail}} {X-Spam-Flag: YES\n}{} } headers_remove = ${if or { { <{$spam_score_int}{1} } \ { <{$spam_score_int}{${lookup mysql{select users.sa_tag * 10 from users,domains \ where localpart = '${quote_mysql:$local_part}' \ and domain = '${quote_mysql:$domain}' \ and users.on_spamassassin = 1 \ and users.domain_id=domains.domain_id}{$value}fail}} } \ { eq {0}{${lookup mysql{select users.sa_tag * 10 from users,domains \ where localpart = '${quote_mysql:$local_part}' \ and domain = '${quote_mysql:$domain}' \ and users.on_spamassassin = 0 \ and users.domain_id=domains.domain_id}{$value}fail}}} \ } {X-Spam-Score:X-Spam-Report} } local_part_suffix = -* local_part_suffix_optional retry_use_local_part file_transport = virtual_delivery reply_transport = address_reply pipe_transport = address_pipe .include /etc/exim4/vexim-group-router.conf virtual_domains_catchall: driver = redirect allow_fail data = ${lookup mysql{select smtp from users,domains where localpart = '*' \ and domain = '${quote_mysql:$domain}' \ and users.domain_id = domains.domain_id}} retry_use_local_part file_transport = virtual_delivery reply_transport = address_reply pipe_transport = address_pipe_catchall virtual_domain_alias: driver = redirect allow_fail data = ${lookup mysql{select concat('${quote_mysql:$local_part}@', domain) \ from domains,domainalias where domainalias.alias = '${quote_mysql:$domain}' \ and domainalias.domain_id = domains.domain_id}} retry_use_local_part system_aliases: driver = redirect allow_fail allow_defer data = ${lookup{$local_part}lsearch{/etc/aliases}} user = Debian-exim group = Debian-exim file_transport = address_file pipe_transport = address_pipe userforward: driver = redirect check_local_user file = $home/.forward no_verify no_expn check_ancestor # allow_filter file_transport = address_file pipe_transport = address_pipe_local reply_transport = address_reply condition = ${if exists{$home/.forward} {yes} {no} } group = mail # This router matches local user mailboxes. If the router fails, the error # message is "Unknown user". localuser: driver = accept check_local_user transport = local_delivery cannot_route_message = Unknown user ###################################################################### # TRANSPORTS CONFIGURATION # ###################################################################### # ORDER DOES NOT MATTER # # Only one appropriate transport is called for each delivery. # ###################################################################### # A transport is used only when referenced from a router that successfully # handles an address. begin transports # This transport is used for delivering messages over SMTP connections. remote_smtp: driver = smtp local_delivery: driver = appendfile file = /var/mail/$local_part delivery_date_add envelope_to_add return_path_add group = mail user = $local_part mode = 0660 no_mode_fail_narrower virtual_delivery: driver = appendfile envelope_to_add return_path_add mode = 0600 maildir_format = true create_directory = true directory = ${lookup mysql{select smtp from users,domains \ where localpart = '${quote_mysql:$local_part}' \ and domain = '${quote_mysql:$domain}' \ and users.domain_id = domains.domain_id}} user = ${lookup mysql{select users.uid from users,domains \ where localpart = '${quote_mysql:$local_part}' \ and domain = '${quote_mysql:$domain}' \ and users.domain_id = domains.domain_id}} group = ${lookup mysql{select users.gid from users,domains \ where localpart = '${quote_mysql:$local_part}' \ and domain = '${quote_mysql:$domain}' \ and users.domain_id = domains.domain_id}} quota = ${lookup mysql{select users.quota from users,domains \ where localpart = '${quote_mysql:$local_part}' \ and domain = '${quote_mysql:$domain}' \ and users.domain_id = domains.domain_id}{${value}M}} quota_is_inclusive = false #quota_size_regex = ,S=(\d+): quota_warn_threshold = 75% maildir_use_size_file = false quota_warn_message = "To: $local_part@$domain\n\ Subject: Mailbox quota warning\n\n\ This message was automatically generated by the mail delivery software.\n\n\ You are now using over 75% of your allocated mail storage quota.\n\n\ If your mailbox fills completely, further incoming messages will be automatically\n\ returned to their senders.\n\n\ Please take note of this and remove unwanted mail from your mailbox.\n" virtual_vacation_delivery: driver = autoreply from = "${local_part}@${domain}" to = ${sender_address} subject = "Autoreply from ${local_part}@${domain}" text = ${lookup mysql{select vacation from users,domains \ where domain='${quote_mysql:$domain}' \ and localpart='${quote_mysql:$local_part}' \ and users.domain_id=domains.domain_id}} mailman_transport: driver = pipe command = MAILMAN_WRAP \ '${if def:local_part_suffix \ {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \ {post}}' \ $local_part current_directory = MAILMAN_HOME home_directory = MAILMAN_HOME user = MAILMAN_USER group = MAILMAN_GROUP # This transport is used for handling pipe deliveries generated by alias or # .forward files. If the pipe generates any standard output, it is returned # to the sender of the message as a delivery error. Set return_fail_output # instead of return_output if you want this to happen only when the pipe fails # to complete normally. You can set different transports for aliases and # forwards if you want to - see the references to address_pipe in the routers # section above. address_pipe: driver = pipe return_output user = ${lookup mysql{select users.uid from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.domain_id = domains.domain_id}} group = ${lookup mysql{select users.gid from users,domains where localpart = '${quote_mysql:$local_part}' and domain = '${quote_mysql:$domain}' and users.domain_id = domains.domain_id}} address_pipe_catchall: driver = pipe return_output user = ${lookup mysql{select users.uid from users,domains where localpart = '*' and domain = '${quote_mysql:$domain}' and users.domain_id = domains.domain_id}} group = ${lookup mysql{select users.gid from users,domains where localpart = '*' and domain = '${quote_mysql:$domain}' and users.domain_id = domains.domain_id}} address_pipe_local: driver = pipe return_output # This transport is used for handling deliveries directly to files that are # generated by aliasing or forwarding. address_file: driver = appendfile delivery_date_add envelope_to_add return_path_add # This transport is used for handling autoreplies generated by the filtering # option of the userforward router. address_reply: driver = autoreply ###################################################################### # RETRY CONFIGURATION # ###################################################################### begin retry # This single retry rule applies to all domains and all errors. It specifies # retries every 15 minutes for 2 hours, then increasing retry intervals, # starting at 1 hour and increasing each time by a factor of 1.5, up to 16 # hours, then retries every 6 hours until 4 days have passed since the first # failed delivery. # Domain Error Retries # ------ ----- ------- * * F,2h,15m; G,16h,1h,1.5; F,14d,6h ###################################################################### # REWRITE CONFIGURATION # ###################################################################### # There are no rewriting specifications in this default configuration file. begin rewrite ###################################################################### # AUTHENTICATION CONFIGURATION # ###################################################################### # There are no authenticator specifications in this default configuration file. begin authenticators plain_login: driver = plaintext public_name = PLAIN server_condition = ${lookup mysql{SELECT '1' FROM users \ WHERE username = '${quote_mysql:$2}' \ AND clear = '${quote_mysql:$3}'} {yes}{no}} server_set_id = $2 fixed_login: driver = plaintext public_name = LOGIN server_prompts = "Username:: : Password::" server_condition = ${lookup mysql{SELECT '1' FROM users \ WHERE username = '${quote_mysql:$1}' \ AND clear = '${quote_mysql:$2}'} {yes}{no}} server_set_id = $1 fixed_cram: driver = cram_md5 public_name = CRAM-MD5 server_secret = ${lookup mysql{SELECT clear FROM users \ WHERE username = '${quote_mysql:$1}'}{$value}fail} server_set_id = $1 ###################################################################### # CONFIGURATION FOR local_scan() # ###################################################################### # If you have built Exim to include a local_scan() function that contains # tables for private options, you can define those options here. Remember to # uncomment the "begin" line. It is commented by default because it provokes # an error with Exim binaries that are not built with LOCAL_SCAN_HAS_OPTIONS # set in the Local/Makefile. # begin local_scan # End of Exim configuration file
__________________
Schmutziges Geschirr schimmelt nicht,
wenn man es einfriert |
|||||||||||
09.04.2010, 00:52 | #8 | |||||||||||
Erfahrener Benutzer
Registriert seit: 06.12.2008
Ort: /dev
Beitr?ge: 433
Abgegebene Danke: 12
Erhielt 77 Danke für 8 Beiträge
Downloads: 10
Uploads: 0 Nachrichten: 331 Renommee-Modifikator:
791 |
Also Sol:
Klar die Configs der einzelnen Serverproggis (also exim, courier). Dann wäre, falls net zu groß, der Inhalt von /var/log/mail.log ganz gut (die bitte per PM o.ä. , steht zu viel drin was net jeder wissen sollte!) sowie die IP(pm), und ne existierende Mailaddy(pm), um mal zu schauen ob er die Mails evtl. einfach nur mit nem temporären Fehler abweist -> dauert ein paar tage bis die unzustellbar sind. |
|||||||||||
13.04.2010, 21:19 | #9 | |||||||||||
König
Registriert seit: 15.06.2008
Beitr?ge: 1.846
Abgegebene Danke: 150
Erhielt 199 Danke für 35 Beiträge
Downloads: 10
Uploads: 0 Nachrichten: 984 Renommee-Modifikator:
2988 |
hat sich da snun gelöst?
es muss in den logs wa szu finden sein. egal ob er was nicht annehmen will, oder auch wenn er was reinbekommt und es einsortiert in meinem mail log steht das alles drin. selbst wenn eine mail nicht zu findne ist weil noch ein systemfehler vorligt mus szumindest ein logeintrag existieren egal ob positiv oder negativ.
__________________
- Der Bezug zum eigentlichen Thema nimmt mit jedem Post kontinuierlich ab -
- Jedes Thema kann ganz leicht in etwas komplett anderes geändert werden - |
|||||||||||
14.04.2010, 07:43 | #10 | |||||||||||
Moderator
Registriert seit: 10.04.2008
Alter: 36
Beitr?ge: 4.074
Abgegebene Danke: 200
Erhielt 1.331 Danke für 153 Beiträge
Themenstarter
Downloads: 2
Uploads: 1 Nachrichten: 731 Renommee-Modifikator:
6014 |
Gelöst
Es lag daran dass exim nur lokal horchte (Und ich nicht wusste dass exim extern lauschen muss! Lernfehler meinerseits: Ich dachte PoP sei für Mailempfang zuständig und müsse extern lauschen, weshalb ich auch die meiste zeit dort in der Konfig gesucht habe.). Das was die lösung noch hinauszögerte war, dass exim sich nicht neustarten/stoppen etc. ließ da in der konfiguration sachen falsch waren (Falscher mysql Socket Pfad). Das kam daher da ich die konfiguraion einmal aus Not mit der standart version ersetzt habe und dann wieder angepasst habe und dabei vergass ich den mysql socket. Scheinbar hat "init.d/exim4 restart" dann funktioniert, aber da sämtliche ausgaben von dem script fehlten kam mir das komisch vor und ich probierte ein "init.d/exim4 stop" was aber nicht funktionierte. Dann killte ich den prozess und versuchte "init.d/exim4 start". Nachdem wieder alle Ausgaben fehlten ging ich nochmal die konfiguration gründlich durch und fand dass der sql socket falsch war... nun ließ sich exim wieder starten/neustarten und übernahm die änderungen an der Konfiguration an der das problem bereits gelöst war, dass exim nur lokal horcht. Somit ging wieder alles. ^^
__________________
Schmutziges Geschirr schimmelt nicht,
wenn man es einfriert |
|||||||||||
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, G?ste: 1) | |
|
|