Page 1 of 1
Postfix: status=deferred (Transport is unavailable)
Posted: 2004-08-15 19:02
by andi.brandl
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!
Re: Postfix: status=deferred (Transport is unavailable)
Posted: 2004-08-15 19:06
by andi.brandl
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
Re: Postfix: status=deferred (Transport is unavailable)
Posted: 2004-08-15 20:07
by adjustman
is Dein Postfix mit mysql kompiliert? Was sagt postconf -m ? Und postconf -n ?
Re: Postfix: status=deferred (Transport is unavailable)
Posted: 2004-08-15 20:11
by andi.brandl
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
Re: Postfix: status=deferred (Transport is unavailable)
Posted: 2004-08-15 22:11
by adjustman
andi.brandl wrote:
Code: Select all
static
nis
dbm
regexp
environ
btree
unix
hash
siehst Du da was von mysql?

UND verwaltest Du die User wirklich per MySQL?
Re: Postfix: status=deferred (Transport is unavailable)
Posted: 2004-08-15 22:13
by andi.brandl
ich dachte eigentlich schon. zumindest courier arbeitet ordentlich über mysql. und postfix sollte eigentlich auch drauf zugreifen...
was mach ich jetzt? :?:
Re: Postfix: status=deferred (Transport is unavailable)
Posted: 2004-08-15 22:15
by andi.brandl
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 =
...
Re: Postfix: status=deferred (Transport is unavailable)
Posted: 2004-08-15 22:18
by adjustman
Postfix MUSS mysql können!
Re: Postfix: status=deferred (Transport is unavailable)
Posted: 2004-08-15 22:20
by andi.brandl
OH MANN!! :!: :!: 1111
wirklich zu dämlich.
ALSO:
Falscher Parameter in der mysql-virtual_domains.cf:
es muss heißen:
anstatt
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
Re: Postfix: status=deferred (Transport is unavailable)
Posted: 2004-08-16 00:12
by adjustman
dann hab ich auch was gelernt
