AW: [Postfixbuch-users] virtual_alias_maps wird nciht berücksichtigt
Stefan Reichel (nmedia GmbH)
sr at nmedia.de
Do Dez 29 14:44:40 CET 2005
> -----Ursprüngliche Nachricht-----
> Von: postfixbuch-users-bounces at listi.jpberlin.de
> [mailto:postfixbuch-users-bounces at listi.jpberlin.de]Im
> Auftrag von Ralf
> Hildebrandt
> Gesendet: Donnerstag, 29. Dezember 2005 14:31
> An: postfixbuch-users at listi.jpberlin.de
> Betreff: Re: [Postfixbuch-users] virtual_alias_maps wird nciht
> berücksichtigt
>
>
> * Stefan Reichel (nmedia GmbH) <sr at nmedia.de>:
>
> > virtual_alias_domains =
> Ob das gut ist?
>
> > virtual_alias_maps = hash:/etc/postfix/virtual_maps.cf
> Was steht da drin?
>
> > virtual_gid_maps = static:5000
> > virtual_mailbox_base = /home/vmail
> > virtual_mailbox_domains =
> mysql:/etc/postfix/mysql-virtual_domains.cf
> Welche Domain stehen da drin?
>
> > Das Versenden funktioniert, das Empfangen ebenfalls. Sobald
> jedoch ein
> > e-Mail Empfänger erreicht werden soll, der nicht oder nur per alias
> > existiert, so geht die e-Mail prompt zurück, statt wie in der
> > virtual_alias_maps dem entsprechend angegebenen User
> zugestellt zu werden.
>
> Zeig mal Logs für sowas.
>
> > Das "postmap -q" gibt mir das korrekte Ergebnis aus, jedoch
> scheint psotfix
> > selbst etwas anderes zu machen.
> >
> > Hat jemand eine Idee?
>
> Unveränderte Logs so einer Zustellung bitte?
--- mail.log ---
Dec 28 11:17:35 DUS-MAIL-02 postfix/postfix-script: refreshing the Postfix
mail system
Dec 28 11:17:36 DUS-MAIL-02 postfix/master[14930]: reload configuration
Dec 28 11:17:59 DUS-MAIL-02 postfix/smtpd[19442]: warning: dict_nis_init:
NIS domain name not set - NIS lookups disabled
Dec 28 11:17:59 DUS-MAIL-02 postfix/smtpd[19442]: connect from
unknown[172.16.10.1]
Dec 28 11:17:59 DUS-MAIL-02 postfix/smtpd[19442]: 3683E407F:
client=unknown[172.16.10.1]
Dec 28 11:17:59 DUS-MAIL-02 postfix/cleanup[19447]: 3683E407F:
message-id=<007201c60b97$fa31e920$0100a8c0 at dusedv05>
Dec 28 11:17:59 DUS-MAIL-02 postfix/qmgr[19375]: 3683E407F:
from=<user at virtual.test>, size=597, nrcpt=1 (queue active)
Dec 28 11:17:59 DUS-MAIL-02 postfix/smtpd[19442]: 5498C4331:
client=unknown[172.16.10.1]
Dec 28 11:17:59 DUS-MAIL-02 postfix/cleanup[19447]: 5498C4331:
message-id=<007301c60b97$fa44fbf0$0100a8c0 at dusedv05>
Dec 28 11:18:00 DUS-MAIL-02 postfix/qmgr[19375]: 5498C4331:
from=<user at virtual.test>, size=600, nrcpt=1 (queue active)
Dec 28 11:18:00 DUS-MAIL-02 postfix/smtpd[19442]: disconnect from
unknown[172.16.10.1]
Dec 28 11:18:00 DUS-MAIL-02 postfix/virtual[19448]: 3683E407F:
to=<funk at virtual.test>, relay=virtual, delay=1, status=bounced (unknown
user: "funk at virtual.test")
Dec 28 11:18:00 DUS-MAIL-02 postfix/virtual[19450]: 5498C4331:
to=<funk at virtual.test>, relay=virtual, delay=1, status=bounced (unknown
user: "funk at virtual.test")
Dec 28 11:18:00 DUS-MAIL-02 postfix/cleanup[19455]: 3A5804334:
message-id=<20051228101800.3A5804334 at mail3.nmedia.de>
Dec 28 11:18:00 DUS-MAIL-02 postfix/cleanup[19457]: 3F4F54335:
message-id=<20051228101800.3F4F54335 at mail3.nmedia.de>
Dec 28 11:18:00 DUS-MAIL-02 postfix/qmgr[19375]: 3A5804334: from=<>,
size=2229,nrcpt=1 (queue active)
Dec 28 11:18:00 DUS-MAIL-02 postfix/qmgr[19375]: 3683E407F: removed
Dec 28 11:18:00 DUS-MAIL-02 postfix/qmgr[19375]: 3F4F54335: from=<>,
size=2232,nrcpt=1 (queue active)
Dec 28 11:18:00 DUS-MAIL-02 postfix/qmgr[19375]: 5498C4331: removed
Dec 28 11:18:00 DUS-MAIL-02 postfix/virtual[19448]: 3A5804334:
to=<user at virtual.test>, relay=virtual, delay=0, status=sent (delivered to
maildir)
Dec 28 11:18:00 DUS-MAIL-02 postfix/qmgr[19375]: 3A5804334: removed
Dec 28 11:18:00 DUS-MAIL-02 postfix/virtual[19450]: 3F4F54335:
to=<user at virtual.test>, relay=virtual, delay=0, status=sent (delivered to
maildir)
Dec 28 11:18:00 DUS-MAIL-02 postfix/qmgr[19375]: 3F4F54335: removed
Dec 28 11:18:02 DUS-MAIL-02 pop3d-ssl: Connection, ip=[::ffff:172.16.10.1]
Dec 28 11:18:02 DUS-MAIL-02 pop3d-ssl: LOGIN, user=user at virtual.test,
ip=[::ffff:172.16.10.1]
Dec 28 11:18:02 DUS-MAIL-02 pop3d-ssl: LOGOUT, user=user at virtual.test,
ip=[::ffff:172.16.10.1], top=0, retr=4485, time=0
--- mysql.log ---
051228 11:17:59 42 Connect provider_admin at localhost on provider
42 Query select 'virtual' from domains where
domain = 'virtual.test'
42 Query select 'virtual' from domains where
domain = 'virtual.test'
43 Connect provider_admin at localhost on provider
43 Query select destination from forwardings
where source = 'funk at virtual.test'
42 Query select 'virtual' from domains where
domain = 'virtual.test'
43 Query select destination from forwardings
where source = 'funk at virtual.test'
051228 11:18:00 45 Connect provider_admin at localhost on provider
45 Query select
CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')
from users where email = 'funk at virtual.test'
45 Query select
CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')
from users where email = '@virtual.test'
44 Connect provider_admin at localhost on
provider'/',SUBSTRING_INDEX(email,'@',1),'/') from users where email =
'@virtual.test'
46 Connect provider_admin at localhost on provider
46 Query select destination from forwardings
where source = 'user at virtual.test'
47 Connect provider_admin at localhost on provider
47 Query select email from users where email =
'user at virtual.test'
48 Connect provider_admin at localhost on provider
48 Query select destination from forwardings
where source = 'user at virtual.test'
49 Connect provider_admin at localhost on provider
49 Query select email from users where email =
'user at virtual.test'
42 Query select 'virtual' from domains where
domain = 'virtual.test'
44 Query select
CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')
from users where email = 'user at virtual.test'
45 Query select
CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')
from users where email = 'user at virtual.test'
051228 11:18:02 39 Query SELECT email, "", password, 5000, 5000,
"/home/vmail/",
CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/'),
"", "", "" FROM users WHERE email = "user at virtual.test"
PS: den virtual alias_maps eintrag habe ich wieder in den vorherigen Status
zurückgesetzt:
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_forwardings.cf
mysql:/etc/postfix/mysql-virtual_email2email.cf
Sowohl hash:.. als auch mysql:.. zeigen das gleiche Problem.
>
> --
> Ralf Hildebrandt (Ralf.Hildebrandt at charite.de)
> spamtrap at charite.de
> Postfix - Einrichtung, Betrieb und Wartung Tel. +49
> (0)30-450 570-155
> http://www.postfix-buch.com
> "Smith & Wesson - the original point and click interface."
> --
> _______________________________________________
> Postfixbuch-users mailingliste
> Heinlein Professional Linux Support GmbH
>
> Postfixbuch-users at listi.jpberlin.de
> http://listi.jpberlin.de/mailman/listinfo/postfixbuch-users
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.14.9/216 - Release
> Date: 29.12.2005
>
>
Mehr Informationen über die Mailingliste Postfixbuch-users