Hey guys,

I recently installed the zarafa e-mail software on one of my boxes.. it all works fine exept for the outgoing mail...

my ISP has an auth smtp server.. so it requires a client to be authenticated with a username and password...

since zarafa does not know how to do that i need to set up some sort of local relay... that relays everything that comes in on localhost to my ISP's smtp server.

I already have postfix running for zarafa but i cant seem to get postfix to relay anything out to remote destinations:

Code:
Dec 14 15:16:55 bertje postfix/smtpd[23739]: connect from unknown[127.0.0.1]
Dec 14 15:16:55 bertje postfix/trivial-rewrite[23741]: warning: table "mysql:/etc/postfix/mysql-aliases.cf": empty lookup result for: "mylocaldomain.nl" -- ignored
Dec 14 14:16:55 bertje postfix/trivial-rewrite[23741]: warning: table "mysql:/etc/postfix/mysql-aliases.cf": empty lookup result for: "remotedomain.com" -- ignored
Dec 14 14:16:55 bertje postfix/smtpd[23739]: 8635910028: client=unknown[127.0.0.1]
Dec 14 15:16:55 bertje postfix/cleanup[23744]: 8635910028: message-id=<vmime.49451557.68a8.aefb7432fe897e9e@bertje.prutsers.biz>
Dec 14 15:16:55 bertje postfix/qmgr[23630]: 8635910028: from=<me@mylocaldomain.nl>, size=1857, nrcpt=1 (queue active)
Dec 14 14:16:55 bertje postfix/trivial-rewrite[23741]: warning: table "mysql:/etc/postfix/mysql-aliases.cf": empty lookup result for: "remotedomain.com" -- ignored
Dec 14 14:16:55 bertje postfix/smtpd[23739]: disconnect from unknown[127.0.0.1]
Dec 14 15:16:55 bertje postfix/qmgr[23630]: 8635910028: to=<someone@remotedomain.com.com>, relay=none, delay=0.16, delays=0.15/0.01/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)

my postfix config:

main.cf:

Code:
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

append_dot_mydomain = no

smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

mydomain = xxx.biz
myhostname = bertje
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/relay_password
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
virtual_alias_maps = mysql:/etc/postfix/mysql-aliases.cf
myorigin = xxx.biz
mydestination = $myhostname, $myhostname.local, localhost, $mydomain
mynetworks = 127.0.0.0/8
inet_interfaces = all

mailbox_command = /usr/bin/zarafa-dagent -R ${recipient}
mailbox_transport = zarafa:
zarafa_destination_recipient_limit = 1

master.cf:

Code:
smtp      inet  n       -       -       -       -       smtpd

zarafa unix - n n - 10 pipe flags= user=vmail argv=/usr/bin/zarafa-dagent -R ${recipient}


#628      inet  n       -       -       -       -       qmqpd
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       -       300     1       oqmgr
tlsmgr    unix  -       -       -       1000?   1       tlsmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       -       -       -       smtp

relay     unix  -       -       -       -       -       smtp
   -o fallback_relay=

showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
discard   unix  -       -       -       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       -       -       -       lmtp
anvil     unix  -       -       -       -       1       anvil
scache     unix   -   -   -   -   1   scache

maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}

uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)

ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix   -   n   n   -   2   pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman   unix  -       n       n       -       -       pipe
  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  ${nexthop} ${user}