Hi,
next problem.

I have an user account "info" created with dbmail-users with this aliases:

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

If i send a mail to [EMAIL PROTECTED], the mail is delivered in mysql db 
perfectly. If i send to bc@ or other alias Mail will bounced (user unknow). I 
have no idea whats wrong. It looks like all okay.
Another account with 4 alias same shit, 2 works, 2 not (bounced, user unknow).

Here a bounce log:

Feb 11 05:23:43 ds80-237-205-86 postfix/smtpd[6580]: 870B943C050: 
client=mail.netappz.de[80.237.207.57]
Feb 11 05:23:43 ds80-237-205-86 postfix/cleanup[6582]: 870B943C050: 
message-id=<[EMAIL PROTECTED]>
Feb 11 05:23:43 ds80-237-205-86 postfix/qmgr[6426]: 870B943C050: from=<[EMAIL 
PROTECTED]>, size=904, nrcpt=1 (queue active)
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: connection established
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: master_notify: status 0
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: deliver_request_initial: 
send initial status
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: send attr status = 0
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: dbmail-smtpd socket: wanted 
attribute: flags
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: flags
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute value: 3
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: dbmail-smtpd socket: wanted 
attribute: queue_name
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: 
queue_name
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute value: 
active
Feb 11 05:23:43 ds80-237-205-86 postfix/smtpd[6580]: disconnect from 
mail.netappz.de[80.237.207.57]
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: dbmail-smtpd socket: wanted 
attribute: queue_id
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: 
queue_id
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute value: 
870B943C050
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: dbmail-smtpd socket: wanted 
attribute: offset
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: offset
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute value: 295
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: dbmail-smtpd socket: wanted 
attribute: size
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: size
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute value: 904
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: dbmail-smtpd socket: wanted 
attribute: nexthop
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: 
nexthop
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute value: 
tgmail.die-hart.de
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: dbmail-smtpd socket: wanted 
attribute: encoding
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: 
encoding
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute value: (end)
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: dbmail-smtpd socket: wanted 
attribute: sender
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: sender
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute value: 
[EMAIL PROTECTED]
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: dbmail-smtpd socket: wanted 
attribute: errors-to
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: 
errors-to
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute value: 
[EMAIL PROTECTED]
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: dbmail-smtpd socket: wanted 
attribute: return-receipt
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: 
return-receipt
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute value: (end)
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: dbmail-smtpd socket: wanted 
attribute: time
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: time
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute value: 
1108095823
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: dbmail-smtpd socket: wanted 
attribute: client_name
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: 
client_name
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute value: 
mail.netappz.de
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: dbmail-smtpd socket: wanted 
attribute: client_address
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: 
client_address
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute value: 
80.237.207.57
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: dbmail-smtpd socket: wanted 
attribute: protocol_name
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: 
protocol_name
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute value: ESMTP
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: dbmail-smtpd socket: wanted 
attribute: helo_name
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: 
helo_name
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute value: 
mail.netappz.de
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: dbmail-smtpd socket: wanted 
attribute: offset
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: offset
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute value: 
4294967295
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: dbmail-smtpd socket: wanted 
attribute: original_recipient
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: 
original_recipient
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute value: 
[EMAIL PROTECTED]
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: dbmail-smtpd socket: wanted 
attribute: recipient
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: 
recipient
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute value: 
[EMAIL PROTECTED]
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: dbmail-smtpd socket: wanted 
attribute: offset
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: offset
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute value: 0
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: deliver_request_get: file 
active/8/870B943C050
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: deliver_message: from 
<[EMAIL PROTECTED]>
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: connect to subsystem 
private/bounce
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: send attr nrequest = 0
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: send attr flags = 0
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: send attr queue_id = 
870B943C050
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: send attr 
original_recipient = [EMAIL PROTECTED]
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: send attr recipient = 
[EMAIL PROTECTED]
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: send attr offset = 
4294967295
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: send attr status = 5.0.0
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: send attr action = failed
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: send attr reason = user 
unknown
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: private/bounce socket: 
wanted attribute: status
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: status
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute value: 0
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: private/bounce socket: 
wanted attribute: (list terminator)
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: input attribute name: (end)
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: 870B943C050: to=<[EMAIL 
PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, relay=dbmail-smtpd, delay=0, 
status=bounced (user unknown)
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: deliver_request_final: 
send: "" 0
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: send attr reason = 
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: send attr status = 0
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: master_notify: status 1
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: connection closed
Feb 11 05:23:43 ds80-237-205-86 postfix/pipe[6584]: watchdog_start: 0x80737b0
Feb 11 05:23:43 ds80-237-205-86 postfix/cleanup[6582]: C202143C059: 
message-id=<[EMAIL PROTECTED]>
Feb 11 05:23:43 ds80-237-205-86 postfix/qmgr[6426]: C202143C059: from=<>, 
size=2633, nrcpt=1 (queue active)
Feb 11 05:23:43 ds80-237-205-86 postfix/qmgr[6426]: 870B943C050: removed
Feb 11 05:23:43 ds80-237-205-86 postfix/smtp[6591]: C202143C059: to=<[EMAIL 
PROTECTED]>, relay=mail.netappz.de[80.237.207.57], delay=0, status=sent (250 
mail.netappz.de: Message accepted for delivery)
Feb 11 05:23:43 ds80-237-205-86 postfix/qmgr[6426]: C202143C059: removed
Feb 11 05:25:23 ds80-237-205-86 postfix/pipe[6584]: idle timeout -- exiting


Here my sql-recipients.cf

user = dbmail
password = xxxxx
hosts = localhost
dbname = dbmail
table = dbmail_aliases
select_field = alias
where_field = alias

Entry in master.cf

dbmail-smtpd     unix  -       n       n       -       1       pipe -v
    flags= user=dbmail:dbmail argv=/usr/local/sbin/dbmail-smtp -d ${recipient}

Here my main.cf

command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
myhostname = tgmail.die-hart.de
mydomain = die-hart.de
myorigin = $myhostname
mynetworks = 127.0.0.0/8,80.237.205.80/28
in_flow_delay = 1s
smtpd_banner = $myhostname ESMTP $mail_name
local_destination_concurrency_limit = 2
debug_peer_level = 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = maildrop
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains = 
mydestination = $myhostname,localhost, localhost.$mydomain, 1stclaass.de, 
mfg-bubesheim.de, rs-modellbau.de
disable_dns_lookups = no
mailbox_command = 
mailbox_transport = dbmail-smtpd
smtpd_sender_restrictions = hash:/etc/postfix/access
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = no
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtpd_sasl_auth_enable = no
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = 
broken_sasl_auth_clients = yes
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 1024000000
default_destination_concurrency_limit = 50
html_directory = /usr/share/doc/packages/postfix/html
relay_domains = $mydestination
unknown_local_recipient_reject_code = 450
queue_directory = /var/spool/postfix
mail_owner = postfix
local_recipient_maps = mysql:/etc/postfix/sql-recipients.cf


The next Problem i have is, no Client can send Mail trough a connection. 
Postfix reject it. I think the AUTH Mechanism from dbmail is the problem ? 
Sorry, but im really new on Postfix / dbmail and still learning.

Greetings Tom
 
---
http://www.clanmeets.de - DAS Gamer & Clan Portal
Jetzt anmelden, wide open beta phase



Reply via email to