Postfix: status=deferred (Transport is unavailable)

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
andi.brandl
Posts: 22
Joined: 2004-02-24 19:34

Postfix: status=deferred (Transport is unavailable)

Post by andi.brandl » 2004-08-15 19:02

hi folks!

ich sitz hier schon ne ganze weile und komm nicht weiter.
habe meinen server neu aufgesetzt. alles prima, nur postfix will nicht so, wie ich will.

folgendes: ich hab postfix+courier so wie hier beschrieben konfiguriert:
http://www.workaround.org/articles/ispmail/index.shtml
(auf meinem Debian-System)

courier-imap und courier-pop funktionieren einwandfrei.

einziges problem: wenn ich versuche, lokal oder per SMTP eine Mail an eine meiner lokalen postfächer zu versenden, geht gar nix.

mail.log:

Code: Select all

Aug 15 16:49:46 host postfix/qmgr[589]: 7EEC72589E: from=<test@workaround.org>, size=342, nrcpt=1 (queue active)
Aug 15 16:49:46 xproject postfix/qmgr[589]: 7EEC72589E: to=<mail@host>, relay=none, delay=1091, status=deferred (transport is unavailable)
das interessante ist wohl "status=deferred (transport is unavailable)"


woran kann das liegen? hab schon viel gegoogelt... auch viel gefunden. nur weitergeholfen hats mir nicht.

könnt ihr mir da helfen?

Danke!
Last edited by andi.brandl on 2004-08-25 19:40, edited 1 time in total.

andi.brandl
Posts: 22
Joined: 2004-02-24 19:34

Re: Postfix: status=deferred (Transport is unavailable)

Post by andi.brandl » 2004-08-15 19:06

achja, wenn ich postfix reloade bekomme ich folgenden Fehler in der mail.log:

Code: Select all

Aug 15 17:05:08 host postfix/qmgr[791]: warning: connect to transport host: No such file or directory
Last edited by andi.brandl on 2004-08-25 19:40, edited 1 time in total.

adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

Re: Postfix: status=deferred (Transport is unavailable)

Post by adjustman » 2004-08-15 20:07

is Dein Postfix mit mysql kompiliert? Was sagt postconf -m ? Und postconf -n ?

andi.brandl
Posts: 22
Joined: 2004-02-24 19:34

Re: Postfix: status=deferred (Transport is unavailable)

Post by andi.brandl » 2004-08-15 20:11

ich hab postfix-mysql installiert. (debian, apt-get...)

postconf -m

Code: Select all

static
nis
dbm
regexp
environ
btree
unix
hash
postconf -n

Code: Select all

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
local_recipient_maps = $alias_maps unix:passwd.byname
mail_owner = postfix
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = host, localhost.host
mydomain = host
myhostname = host
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
program_directory = /usr/lib/postfix
recipient_delimiter = +
relayhost =
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, che
ck_relay_domains
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
transport_maps = mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_limit = 100000000
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_domains.cf mysql:/etc/po
stfix/mysql-virtual_mailboxes.cf
virtual_maps = mysql:/etc/postfix/mysql-virtual_forwardings.cf mysql:/etc/postfi
x/mysql-virtual_email2email.cf
virtual_uid_maps = static:5000
Last edited by andi.brandl on 2004-08-25 19:40, edited 1 time in total.

adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

Re: Postfix: status=deferred (Transport is unavailable)

Post by adjustman » 2004-08-15 22:11

andi.brandl wrote:

Code: Select all

static
nis
dbm
regexp
environ
btree
unix
hash
siehst Du da was von mysql? :wink: UND verwaltest Du die User wirklich per MySQL?

andi.brandl
Posts: 22
Joined: 2004-02-24 19:34

Re: Postfix: status=deferred (Transport is unavailable)

Post by andi.brandl » 2004-08-15 22:13

ich dachte eigentlich schon. zumindest courier arbeitet ordentlich über mysql. und postfix sollte eigentlich auch drauf zugreifen...

was mach ich jetzt? :?:

andi.brandl
Posts: 22
Joined: 2004-02-24 19:34

Re: Postfix: status=deferred (Transport is unavailable)

Post by andi.brandl » 2004-08-15 22:15

wenn ich ne mail sende, passiert schon was (auch beim mysql-server):

mysql.log

Code: Select all

37 Connect     hosting@host on hosting
37 Query       select domain from mail_domains where domain = '*'
37 Query       select domain from mail_domains where domain = ...
38 Connect     hosting@host on hosting
38 Query       select destination from mail_forwardings where source = ...
39 Connect     hosting@host on hosting
39 Query       select email from mail_users where email = 'host'
40 Connect     hosting@host on hosting
40 Query       select domain from mail_domains where domain =
...
 
Last edited by andi.brandl on 2004-08-25 19:42, edited 2 times in total.

adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

Re: Postfix: status=deferred (Transport is unavailable)

Post by adjustman » 2004-08-15 22:18

Postfix MUSS mysql können!

andi.brandl
Posts: 22
Joined: 2004-02-24 19:34

Re: Postfix: status=deferred (Transport is unavailable)

Post by andi.brandl » 2004-08-15 22:20

OH MANN!! :!: :!: 1111

wirklich zu dämlich.

ALSO:

Falscher Parameter in der mysql-virtual_domains.cf:

es muss heißen:

Code: Select all

select_field = 'virtual'
anstatt

Code: Select all

select_field = domain
vielen dank für die bemühungen... aber gegen meine eigene Dummheit (weil ich das auch unbedingt ändern musst...) ist wohl nix zu machen :D

adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

Re: Postfix: status=deferred (Transport is unavailable)

Post by adjustman » 2004-08-16 00:12

dann hab ich auch was gelernt :wink: