[Postfixbuch-users] Sympa mit Postfix, Problem mit regexp und "User unknown in local recipient table"

Oskar Eyb oskar-postfix at eyb.de
Sa Jan 5 20:04:38 CET 2008


Hallo!

und weiter gehts im "Abenteuer Postfix" :)

Mails an Die Domain des Mailinglistenmanagers lists.eyb.de leite ich per 
  relay an den Sympa-Host weiter.

Da habe ich aber noch ein Problem:



(host 172.16.0.1[172.16.0.1] said: 550 5.1.1 <liste at lists.eyb.de>: 
Recipient address rejected: User unknown in local recipient table (in 
reply to RCPT TO command))



Wenn ich allerdings vom lists-host selbst, 172.16.0.1 aus per
echo To: liste at lists.eyb.de | /usr/local/sbin/sendmail -f oskar at eyb.de 
-t liste at lists.eyb.de



eine Mail absetze, klappt es!


Jan  5 20:00:51 beastie postfix/pickup[96059]: B1B4722929: uid=0 
from=<oskar at eyb.de>
Jan  5 20:00:51 beastie postfix/trivial-rewrite[32791]: warning: regexp 
map /etc/postfix/transport_regexp, line 1: repetition-operator operand 
invalid
Jan  5 20:00:51 beastie postfix/cleanup[32721]: B1B4722929: 
message-id=<20080105190051.B1B4722929 at lists.eyb.de>
Jan  5 20:00:51 beastie postfix/qmgr[90668]: B1B4722929: 
from=<oskar at eyb.de>, size=265, nrcpt=1 (queue active)
Jan  5 20:00:52 beastie postfix/pipe[32919]: B1B4722929: 
to=<liste at lists.eyb.de>, relay=sympa, delay=1, delays=0.02/0.01/0/1, 
dsn=2.0.0, status=sent (delivered via sympa service)
Jan  5 20:00:52 beastie postfix/qmgr[90668]: B1B4722929: removed
Jan  5 20:00:53 beastie postfix/pickup[96059]: E424522953: uid=3000 
from=<liste-owner at lists.eyb.de>
Jan  5 20:00:53 beastie postfix/cleanup[32721]: E424522953: 
message-id=<20080105190051.B1B4722929 at lists.eyb.de>
Jan  5 20:00:53 beastie postfix/qmgr[90668]: E424522953: 
from=<liste-owner at lists.eyb.de>, size=915, nrcpt=2 (queue active)
Jan  5 20:00:54 beastie postfix/smtp[33750]: E424522953: 
to=<oskar at eyb.de>, [........]




$ postconf -n
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
html_directory = no
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
myhostname = lists.eyb.de
mynetworks_style = host
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
recipient_delimiter = +
relay_domains = $mydestination
relayhost = 172.16.0.2
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
transport_maps = regexp:/etc/postfix/transport_regexp
unknown_local_recipient_reject_code = 550
virtual_alias_maps = regexp:/etc/postfix/virtual_regexp



$ cat /etc/postfix/virtual_regexp
/^(.*)-owner\@lists\.eyb\.de$/    $1+owner at lists.eyb.de



$ cat /etc/postfix/transport_regexp
/^.*+owner\@lists\.eyb\.de$/ sympabounce:
/^.*\@lists\.eyb\.de$/       sympa:


"repetition-operator operand invalid"
Wie heisst es richtig?


master.cf

[...]
sympa     unix  -       n       n       -       -       pipe
  flags=RF user=sympa argv=/usr/local/bin/queue ${recipient}

sympabounce     unix  -       n       n       -       -       pipe
   flags=RF user=sympa argv=/usr/local/bin/bouncequeue ${user}



Gruß,
Oskar



Mehr Informationen über die Mailingliste Postfixbuch-users