#604521 postfix: service field in sender_dependent_relayhost_maps unknown

Package:
postfix
Source:
postfix
Description:
High-performance mail transport agent
Submitter:
Jan Völkers
Date:
2010-11-22 16:12:04 UTC
Severity:
normal
#604521#5
Date:
2007-06-07 10:21:57 UTC
From:
To:
Package: postfix
Version: 2.3.8-2+b1
Severity: normal


I tried to use sender_dependent_relayhost_maps this way:

main.cf:
sender_dependent_relayhost_maps = hash:/etc/postfix/sendermap

sendermap:
jan@voelkers.org        smtp:[mx.voelkers.org]

but got this error:
Jun  7 11:43:41 mailout0 postfix/smtp[25599]: fatal: unknown service: [mx.voelkers.org]/tcp
Jun  7 11:43:42 mailout0 postfix/qmgr[25597]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description

With this sendermap file it works:
jan@voelkers.org        [mx.voelkers.org]

also this:
jan@voelkers.org        [mx.voelkers.org]:25

Sincerely,

Jan