Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Zitat
Mar 29 13:28:19 dragon postfix/smtpd[6153]: connect from localhost[127.0.0.1]
Mar 29 13:28:19 dragon postfix/trivial-rewrite[6156]: warning: do not list domain tld.com in BOTH mydestination and virtual_alias_domains
Mar 29 13:28:19 dragon postfix/smtpd[6153]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 <info@tld.com>: Recipient address rejected: User unknown in local recipient table; from=<user@admin@tld2.de> to=<info@tld.com> proto=ESMTP helo=<tld.com>
Mar 29 13:28:19 dragon postfix/smtpd[6153]: lost connection after RCPT from localhost[127.0.0.1]
Mar 29 13:28:19 dragon postfix/smtpd[6153]: disconnect from localhost[127.0.0.1]
Zitat
Message not sent. Server replied:
Requested action not taken: mailbox unavailable
550 5.1.1 <info@tld.com>: Recipient address rejected: User unknown in local recipient table
Zitat
root@dragon /etc/postfix # cat virtual_domains
tld1.com,
tld2.de,
tld3.com
Zitat
root@dragon /etc/postfix # cat virtual_alias
info@tld1.com user
info@tld3.com user3
user2@tld2.de user2
Zitat
root@dragon /etc/postfix # postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
delay_warning_time = 4h
home_mailbox = Maildir/
inet_interfaces = all
mailbox_size_limit = 0
myhostname = tld.com
mynetworks = 127.0.0.0/8, meineip(ist die gleiche wo auch tld drauf geht, natürlich ist die letzte stelle eine null)/24
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname, reject_non_fqdn_hostname, reject_unknown_hostname
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,reject_unknown_recipient_domain
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = reject_unknown_sender_domain
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
strict_rfc821_envelopes = yes
virtual_alias_domains = /etc/postfix/virtual_domains
Zitat
$TTL 86400
@ IN SOA ns1.first-ns.de. postmaster.robot.first-ns.de. (
2011032700 ; serial
14400 ; refresh
1800 ; retry
604800 ; expire
86400 ) ; minimum
@ IN NS dragon.tld.com.
@ IN NS robotns3.second-ns.com.
@ IN NS robotns2.second-ns.de.
@ IN NS ns1.first-ns.de.
@ IN A ipadresse
* IN CNAME dragon
dragon IN CNAME tld.com.
mail IN CNAME dragon
services IN CNAME dragon
www IN CNAME dragon
@ IN MX 10 mail.tld.com.
Zitat
root@dragon /var/www # telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 tld.com ESMTP Postfix (Debian/GNU)
helo tld.com
250 tld.com
mail from: info@tld.com
501 5.1.7 Bad sender address syntax
mail from: user2@tld2.de
501 5.1.7 Bad sender address syntax
Zitat
Mar 29 19:44:55 dragon postfix/smtpd[10013]: connect from localhost[127.0.0.1]
Mar 29 19:47:03 dragon postfix/smtpd[10013]: warning: Illegal address syntax from localhost[127.0.0.1] in MAIL command: info@tld.com
Mar 29 19:47:23 dragon postfix/smtpd[10013]: warning: Illegal address syntax from localhost[127.0.0.1] in MAIL command: user2@tld2.de
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Renard« (29.03.2011, 19:49)
Quellcode |
|
1 |
warning: do not list domain tld.com in BOTH mydestination and virtual_alias_domains |
Quellcode |
|
1 |
info@tld1.com user@tld1.com |
Zitat
root@dragon /etc/postfix # postmap -q ich@tld2.de hash:/etc/postfix/virtual_alias
ich@tld2.de
Zitat
Mar 29 21:21:08 dragon postfix/smtpd[11342]: connect from localhost[127.0.0.1]
Mar 29 21:21:08 dragon postfix/smtpd[11342]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 <ich@tld2.de>: Recipient address rejected: User unknown in virtual alias table; from=<ich@admin@tld2.de> to=<ich@tld2.de> proto=ESMTP helo=<tld.com>
Mar 29 21:21:08 dragon postfix/smtpd[11342]: lost connection after RCPT from localhost[127.0.0.1]
Mar 29 21:21:08 dragon postfix/smtpd[11342]: disconnect from localhost[127.0.0.1]
Zitat
Message not sent. Server replied:
Requested action not taken: mailbox unavailable
550 5.1.1 <ich@tld2.de>: Recipient address rejected: User unknown in virtual alias table
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes config_directory = /etc/postfix inet_interfaces = all message_size_limit = 52400000 myhostname = mail.dyle.org mynetworks = 127.0.0.0/8 mynetworks_style = host myorigin = $mydomain smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_sasl_path = private/auth smtpd_sasl_type = dovecot smtpd_tls_cert_file = /etc/postfix/tls/postfix.pem smtpd_tls_key_file = /etc/postfix/tls/postfix.key smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache smtpd_use_tls = yes virtual_alias_maps = hash:/etc/postfix/virtual_alias virtual_gid_maps = static:500 virtual_mailbox_base = /home/mail virtual_mailbox_domains = /etc/postfix/virtual_domains virtual_mailbox_limit = 0 virtual_mailbox_maps = hash:/etc/postfix/virtual virtual_uid_maps = static:500 |
Quellcode |
|
1 |
smtpd_sasl_type = dovecot |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
/home/mail/ |-- BEISPIEL-DOMAIN-1.COM | |-- USER-A | | |-- cur | | |-- new | | `-- tmp | |-- USER-B | | |-- cur | | |-- new | | `-- tmp | `-- USER-C | |-- cur | |-- new | `-- tmp |-- BEISPIEL-DOMAIN-2.COM | `-- USER-A | |-- cur | |-- new | `-- tmp . . . |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 |
# cat virtual # # /etc/postfix/virtual # # BEISPIEL-DOMAIN-1.COM USER-A@BEISPIEL-DOMAIN-1.COM BEISPIEL-DOMAIN-1.COM/USER-A/ USER-B@BEISPIEL-DOMAIN-1.COM BEISPIEL-DOMAIN-1.COM/USER-B/ USER-C@BEISPIEL-DOMAIN-1.COM BEISPIEL-DOMAIN-1.COM/USER-C/ ... |
Quellcode |
|
1 2 3 4 5 6 |
# # /etc/postfix/virtual_domains # BEISPIEL-DOMAIN-1.COM BEISPIEL-DOMAIN-2.COM ... |
Quellcode |
|
1 2 3 4 5 6 7 8 9 |
# cat virtual_alias # # /etc/postfix/virtual_alias # # BEISPIEL-DOMAIN-1.COM info@BEISPIEL-DOMAIN-1.COM sabine.sumsi@BEISPIEL-DOMAIN-1.COM sales@BEISPIEL-DOMAIN-1.COM sabine.sumsi@BEISPIEL-DOMAIN-1.COM ... |
Zitat
/home/mail/
|-- DOMAIN-1.COM
| |-- USER-A
| | |-- cur
| | |-- new
| | `-- tmp
| |-- USER-B
| | |-- cur
| | |-- new
| | `-- tmp
|-- DOMAIN-2.COM
| `-- USER-A
| |-- cur
| |-- new
| `-- tmp
|-- DOMAIN-3.COM
| `-- USER-A
| |-- cur
| |-- new
| `-- tmp
Zitat
root@dragon /home/mail # cat .forward
| /usr/bin/procmail
root@dragon /home/mail # cat .procmailrc
SHELL=/bin/bash
HOME=/home/
MAILDIR=HOME/mail
DEFAULT=HOME/mail
:0fw
| /usr/bin/spamc
:0:
* ^X-Spam-Status: Yes
HOME/mail/.Junk/
:0:
*
Zitat
root@dragon /etc/postfix # cat virtual
#Domain1 (TLD2)
info@domain1.de domain1.de/userA/
userA@domain1.de domain1.de/userA/
userB@domain1.de domain1.de/userB/
#Domain2 (TLD)
info@domain2.de domain2.de/userA/
admin@domain2.de domain2.de/userA/
#Domain3 (TLD3)
info@domain3.de domain3.de/userA/
support@domain3.de domain3.de/userA/
Zitat
root@dragon /etc/postfix # cat virtual_domains
domain1.de
domain2.de
domain3.de
Zitat
root@dragon /etc/postfix # cat virtual_alias
#Domain1
info@domain1.de userA@domain1.de
#Domain2
info@domain2.de userA@domain1.de
admin@domain2.de userA@domain1.de
#Domain3
info@domain3.de userA@domain1.de
support@domain3.de userA@domain1.de
Zitat
root@dragon /etc/postfix # postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
inet_interfaces = all
mailbox_size_limit = 0
myhostname = domain2.de
mynetworks = 127.0.0.0/8, *.*.*.0/24
myorigin = $mydomain
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = courier
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
strict_rfc821_envelopes = yes
virtual_alias_maps = hash:/etc/postfix/virtual_alias
virtual_gid_maps = static:500
virtual_mailbox_base = /home/mail
virtual_mailbox_domains = /etc/postfix/virtual_domains
virtual_mailbox_limit = 0
virtual_mailbox_maps = hash:/etc/postfix/virtual
virtual_uid_maps = static:500
Zitat
root@dragon /etc/postfix # telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2010 Double Precision, Inc. See COPYING for distribution information.
0 login user password
* OK [ALERT] Filesystem notification initialization error -- contact your mail administrator (check for configuration errors with the FAM/Gamin library)
0 OK LOGIN Ok.
0 select inbox
* FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
* OK [PERMANENTFLAGS (\* \Draft \Answered \Flagged \Deleted \Seen)] Limited
* 0 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1301390717] Ok
* OK [MYRIGHTS "acdilrsw"] ACL
0 OK [READ-WRITE] Ok
0 LIST "" "*"
* LIST (\HasNoChildren) "." "INBOX.Drafts"
* LIST (\HasNoChildren) "." "INBOX.Trash"
* LIST (\HasNoChildren) "." "INBOX.Sent"
* LIST (\Unmarked \HasChildren) "." "INBOX"
0 OK LIST completed
0 LIST "" "#shared.*"
0 OK LIST completed
Zitat
Return-Path: <"userA@admin"@domain1.de>
Delivered-To: GMX delivery to userA@gmx.de
Received: (qmail invoked by alias); 30 Mar 2011 11:05:00 -0000
Received: from mail.domain2.com (EHLO domain2.com) [server ip]
by mx0.gmx.net (mx115) with SMTP; 30 Mar 2011 13:05:00 +0200
Received: from domain2.com (localhost [127.0.0.1])
by domain2.com (Postfix) with ESMTP id 2D3BF140021A
for <userA@gmx.de>; Wed, 30 Mar 2011 13:05:00 +0200 (CEST)
Received: from private ip
(SquirrelMail authenticated user userA)
by domain2.com with HTTP;
Wed, 30 Mar 2011 13:05:00 +0200
Message-ID: <aefc707ffc22ccf79c309582e7595ff8.squirrel@domain2.com>
Date: Wed, 30 Mar 2011 13:05:00 +0200
Subject: testmail
From: "userA@admin"@domain1.de
To: userA@gmx.de
User-Agent: SquirrelMail/1.4.21
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Zitat
Hi. This is the qmail-send program at mailout-de.gmx.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<userA@domain1.de>:
212.227.15.150_does_not_like_recipient./Remote_host_said:_550_<userA@domain1.de>:_invalid_address/Giving_up_on_212.227.15.150./
Zitat
$TTL 86400
@ IN SOA ns1.first-ns.de. postmaster.robot.first-ns.de. (
2011032700 ; serial
14400 ; refresh
1800 ; retry
604800 ; expire
86400 ) ; minimum
@ IN NS dragon.domain2.com.
@ IN NS robotns3.second-ns.com.
@ IN NS robotns2.second-ns.de.
@ IN NS ns1.first-ns.de.
@ IN A server ip
* IN CNAME dragon
dragon IN CNAME domain2.com.
mail IN CNAME dragon
services IN CNAME dragon
www IN CNAME dragon
@ IN MX 10 mail.domain2.com.
Zitat
$TTL 86400
@ IN SOA ns1.first-ns.de. postmaster.robot.first-ns.de. (
2011032900 ; serial
14400 ; refresh
1800 ; retry
604800 ; expire
86400 ) ; minimum
@ IN NS ns1.first-ns.de.
@ IN NS robotns2.second-ns.de.
@ IN NS robotns3.second-ns.com.
@ IN NS dragon.domain1.de.
@ IN A server ip
* IN CNAME dragon
dragon IN CNAME domain1.de.
mail IN CNAME dragon
services IN CNAME dragon
www IN CNAME dragon
@ IN MX 10 mail.domain1.de.
Zitat
root@dragon /etc/postfix # ls -alh
total 128K
drwxr-xr-x 3 root root 4.0K Mar 30 12:43 .
drwxr-xr-x 89 root root 4.0K Mar 29 11:14 ..
-rw-r--r-- 1 root root 373 Mar 27 14:42 dynamicmaps.cf
-rw-r--r-- 1 root root 2.1K Mar 30 13:51 main.cf
-rw-r--r-- 1 root root 5.6K Mar 27 15:52 master.cf
-rw-r--r-- 1 root root 19K Jun 21 2010 postfix-files
-rwxr-xr-x 1 root root 8.6K Jun 21 2010 postfix-script
-rwxr-xr-x 1 root root 24K Jun 21 2010 post-install
drwxr-xr-x 2 root root 4.0K Mar 29 10:12 sasl
-rw-r--r-- 1 root root 480 Mar 30 12:51 virtual
-rw-r--r-- 1 root root 495 Mar 30 12:49 virtual_alias
-rw-r--r-- 1 root root 12K Mar 30 12:56 virtual_alias.db
-rw-r--r-- 1 root root 12K Mar 30 12:56 virtual.db
-rw-r--r-- 1 root root 56 Mar 29 21:10 virtual_domains
-rw-r--r-- 1 root root 12K Mar 30 12:56 virtual_domains.db
Zitat
* BYE [ALERT] Fatal error: No such file or directory: No such file or directory
Connection closed by foreign host.
Zitat
##NAME: MAILDIRPATH:0
#
# MAILDIRPATH - directory name of the maildir directory.
#
MAILDIRPATH=Maildir
Zitat
Mar 30 15:29:52 dragon imapd: usera: Account's mailbox directory is not owned by the correct uid or gid
Zitat
ERROR:
ERROR: Could not complete request.
Query: SELECT "INBOX"
Reason Given: Unable to open this mailbox.
+
ERROR: Connection dropped by IMAP server.
Query: SUBSCRIBE "INBOX.Sent"
Dieser Beitrag wurde bereits 6 mal editiert, zuletzt von »Renard« (30.03.2011, 16:20)
Zitat
Quellcode
1 2 virtual_gid_maps = static:500 virtual_uid_maps = static:500
Zitat
Du läßt aber postfix mit als User mit der UID 500 und GID 500 auf die mailboxen zugreifen. Das geht dann so nicht.
Quellcode |
|
1 2 |
virtual_gid_maps = static:500 virtual_uid_maps = static:500 |
Errrm ... das ist jetzt nicht der Gentoo-way. Du solltest dir grundsätzlich bei jedem Schritt und Tip, den du kriegst, im Klaren sein, was diese bewirken und tun. Du kannst mich und keinen anderen hier dafür verantworlich machen, wenn du Daten vernichtest, nur weil du unbedacht einfach etwas aus hier im Forum probierst. Auch erwartet man sich in der Regel, das du dich mit den Dingen auseinandersetzt und sie studierst.Zitat
... ich habs einfach mit übernommen
Quellcode |
|
1 |
# su postfix |
Quellcode |
|
1 2 |
postfix:x:110: courier:x:110: |
Quellcode |
|
1 2 |
virtual_gid_maps = static:500 virtual_uid_maps = static:500 |
Quellcode |
|
1 |
Mar 31 16:01:37 dragon imapd: userA: Account's mailbox directory is not owned by the correct uid or gid |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 |
root@dragon ~ # ls -alh /home/mail/ total 32K drwxr-xr-x 6 postfix postfix 4.0K Mar 31 15:56 . drwxr-xr-x 8 root root 4.0K Mar 30 12:52 .. drwxr-xr-x 3 postfix postfix 4.0K Mar 30 15:28 domain3.com drwxr-xr-x 4 postfix postfix 4.0K Mar 30 12:52 domain1.de -rwxr-xr-x 1 postfix postfix 20 Mar 30 12:55 .forward -rwxr-xr-x 1 postfix postfix 138 Mar 30 12:55 .procmailrc drwxr-xr-x 6 postfix postfix 4.0K Mar 30 16:15 .Sent drwxr-xr-x 3 postfix postfix 4.0K Mar 30 15:28 domain2.com |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 |
root@dragon /home/mail/.Sent # ls -alh total 32K drwxr-xr-x 6 postfix postfix 4.0K Mar 30 16:15 . drwxr-xr-x 6 postfix postfix 4.0K Mar 31 15:56 .. -rwxr-xr-x 1 postfix postfix 43 Mar 30 16:15 courierimapacl drwxr-xr-x 2 postfix postfix 4.0K Mar 30 16:15 courierimapkeywords -rwxr-xr-x 1 postfix postfix 15 Mar 30 16:15 courierimapuiddb drwxr-xr-x 2 postfix postfix 4.0K Mar 30 16:15 cur -rwxr-xr-x 1 postfix postfix 0 Mar 30 16:15 maildirfolder drwxr-xr-x 2 postfix postfix 4.0K Mar 30 16:15 new drwxr-xr-x 2 postfix postfix 4.0K Mar 30 16:15 tmp |
Quellcode |
|
1 2 3 |
Mar 31 20:20:01 dragon postfix/cleanup[14347]: warning: mail_queue_enter: create file incoming/964293.14347: Permission denied Mar 31 20:20:11 dragon postfix/cleanup[14347]: warning: mail_queue_enter: create file incoming/964476.14347: Permission denied Mar 31 20:20:21 dragon postfix/cleanup[14347]: warning: mail_queue_enter: create file incoming/964619.14347: Permission denied |
Dieser Beitrag wurde bereits 4 mal editiert, zuletzt von »Renard« (31.03.2011, 20:29)
Quellcode |
|
1 |
Apr 1 21:21:06 dragon postfix/cleanup[8415]: warning: F3ECB14002E3: virtual_alias_maps map lookup problem for root@domain2.com |
Quellcode |
|
1 2 |
root: root@domain2.com operator: operator@domain2.com |
Quellcode |
|
1 |
Apr 1 21:55:17 dragon postfix/trivial-rewrite[9305]: fatal: mysql:/etc/postfix/mysql_virtual_alias_maps.cf(0,lock|fold_fix): table lookup problem |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 |
Apr 2 10:06:47 dragon postfix/smtpd[5520]: connect from mail-in-13.arcor-online.net[151.189.21.53] Apr 2 10:06:47 dragon postfix/smtpd[5520]: D3C3414002DB: client=mail-in-13.arcor-online.net[151.189.21.53] Apr 2 10:06:47 dragon postfix/cleanup[5518]: D3C3414002DB: message-id=<4D96D915.5090707@arcor.de> Apr 2 10:06:47 dragon postfix/qmgr[5513]: D3C3414002DB: from=<userB@arcor.de>, size=2049, nrcpt=1 (queue active) Apr 2 10:06:47 dragon postfix/pipe[5515]: D3C3414002DB: to=<root@domain2.com>, relay=dovecot, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (user unknown) Apr 2 10:06:47 dragon postfix/smtpd[5520]: disconnect from mail-in-13.arcor-online.net[151.189.21.53] Apr 2 10:06:47 dragon postfix/cleanup[5518]: DBE7114002E0: message-id=<20110402080647.DBE7114002E0@mail.domain2.com> Apr 2 10:06:47 dragon postfix/bounce[5517]: D3C3414002DB: sender non-delivery notification: DBE7114002E0 Apr 2 10:06:47 dragon postfix/qmgr[5513]: DBE7114002E0: from=<>, size=3811, nrcpt=1 (queue active) Apr 2 10:06:47 dragon postfix/qmgr[5513]: D3C3414002DB: removed Apr 2 10:06:48 dragon postfix/smtp[5525]: DBE7114002E0: to=<userB@arcor.de>, relay=mx.arcor.de[151.189.21.118]:25, delay=1.1, delays=0.02/0.02/0.65/0.4, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 982742D699F) Apr 2 10:06:48 dragon postfix/qmgr[5513]: DBE7114002E0: removed |
Dieser Beitrag wurde bereits 6 mal editiert, zuletzt von »Renard« (02.04.2011, 10:12)
Zitat
habe in de rpostfixadmin mysql viele manuelle änderungen vornehmen müssen, weil diese software übelst verbuggt ist. (das die mysql tabellen angeht)
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
2011-04-02 13:25:18 auth(default): Info: new auth connection: pid=7715 2011-04-02 13:25:18 deliver(root@domain2.com): Info: Loading modules from directory: /usr/lib/dovecot/modules/lda 2011-04-02 13:25:18 deliver(root@domain2.com): Info: Module loaded: /usr/lib/dovecot/modules/lda/lib10_quota_plugin.so 2011-04-02 13:25:18 auth(default): Info: master in: USER 1 root@domain2.com service=deliver 2011-04-02 13:25:18 auth(default): Info: passwd(root@domain2.com): lookup 2011-04-02 13:25:18 auth(default): Info: passwd(root@domain2.com): unknown user 2011-04-02 13:25:18 auth(default): Info: master out: NOTFOUND 1 2011-04-02 13:26:39 deliver(smmsp@domain2.com): Info: Loading modules from directory: /usr/lib/dovecot/modules/lda 2011-04-02 13:26:39 deliver(smmsp@domain2.com): Info: Module loaded: /usr/lib/dovecot/modules/lda/lib10_quota_plugin.so 2011-04-02 13:26:39 auth(default): Info: master in: USER 1 smmsp@domain2.com service=deliver 2011-04-02 13:26:39 auth(default): Info: passwd(smmsp@domain2.com): lookup 2011-04-02 13:26:39 auth(default): Info: passwd(smmsp@domain2.com): unknown user 2011-04-02 13:26:39 auth(default): Info: master out: NOTFOUND 1 |
Quellcode |
|
1 2 3 4 5 |
Apr 2 13:37:18 elvis dovecot: deliver(user@domain.com): Loading modules from directory: /usr/lib/dovecot/lda Apr 2 13:37:18 elvis dovecot: deliver(user@domain.com): Module loaded: /usr/lib/dovecot/lda/lib10_quota_plugin.so Apr 2 13:37:18 elvis dovecot: deliver(user@domain.com): Module loaded: /usr/lib/dovecot/lda/lib90_sieve_plugin.so Apr 2 13:37:18 elvis dovecot: auth(default): master in: USER 1 user@domain.com service=deliver Apr 2 13:37:18 elvis dovecot: auth-worker(default): sql(user@domain.com): SELECT CONCAT('/var/vmail/', maildir) AS home, CONCAT('*:bytes=', quota) AS quota_rule FROM mailbox WHERE username = 'user@somain.com' AND active = 1 |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
root@dragon /var/log # dovecot -n # 1.2.15: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.1 ext3 log_path: /var/log/dovecot.log info_log_path: /var/log/dovecot-info.log log_timestamp: %Y-%m-%d %H:%M:%S listen: *, [::] ssl_listen: mail.domain.com verbose_ssl: yes login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login first_valid_uid: 1004 last_valid_uid: 1004 first_valid_gid: 1004 last_valid_gid: 1004 mail_privileged_group: mail mail_uid: vmail mail_gid: vmail mail_location: mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%n mail_debug: yes mbox_write_locks: fcntl dotlock mail_plugins: quota imap_quota autocreate lda: postmaster_address: postmaster@domain.com mail_plugins: quota auth default: mechanisms: login cram-md5 digest-md5 user: nobody verbose: yes debug: yes debug_passwords: yes passdb: driver: pam passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: passwd args: /etc/dovecot/dovecot-sql.conf socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: vmail group: vmail plugin: quota: maildir:User quota autocreate: Trash autocreate2: Spam autocreate3: Sent autocreate4: Drafts autosubscribe: Trash autosubscribe2: Spam autosubscribe3: Sent autosubscribe4: Drafts |
Quellcode |
|
1 2 3 4 5 6 |
root@dragon /var/log # cat /etc/dovecot/dovecot-sql.conf driver = mysql connect = host=/var/run/mysqld/mysqld.sock dbname=postfix_mail user=postfix password=passwort default_pass_scheme = cram-md5 user_query = SELECT CONCAT('/var/vmail/', maildir) AS home, CONCAT('*:bytes=', quota) AS quota_rule FROM mailbox WHERE username = '%u' AND active = 1 password_query = SELECT CONCAT('/var/vmail/', maildir) AS userdb_home, username as user, password, CONCAT('*:bytes=', quota) AS userdb_quota_rule FROM mailbox WHERE username = '%u' AND active = 1 |
Quellcode |
|
1 |
root: root@domain.de |
Quellcode |
|
1 2 3 |
<user@domain.de>: host mx00.kundenserver.de[212.227.15.186] said: 550 <user@domain.de>: invalid address (in reply to RCPT TO command) |