Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

problem with recipient extensions - default behavior

0 views
Skip to first unread message

Robert Schmid

unread,
Dec 14, 2004, 2:58:52 PM12/14/04
to

I am in the process of migrating from a NetBSD/qmail system to an OS
X/Postfix system.

Everything is running fine except that I am not getting the expected
behavior when sending to a user with an undefined extension, i.e.

In virtual I have defined

rsc...@foodom.com rschmid

I expect
rschmid...@foodom.com to go to rschmid but it bounces.

If I add .forward-foobar, it works as expected
If I change that to .forward or .forward-default it bounces.

I have set;

recipient_delimiter =3D -
propagate_unmatched_extensions =3D canonical, virtual, forward


What am I missing? I need this default behavior for TMDA to work correct=
ly.

Thanks

Robert Schmid
RaptorNet

Wietse Venema

unread,
Dec 14, 2004, 3:11:43 PM12/14/04
to
Robert Schmid:
[ Charset ISO-8859-1 unsupported, converting... ]

>
> I am in the process of migrating from a NetBSD/qmail system to an OS
> X/Postfix system.
>
> Everything is running fine except that I am not getting the expected
> behavior when sending to a user with an undefined extension, i.e.
>
> In virtual I have defined
>
> rsc...@foodom.com rschmid
>
> I expect
> rschmid...@foodom.com to go to rschmid but it bounces.
>
> If I add .forward-foobar, it works as expected
> If I change that to .forward or .forward-default it bounces.
>
> I have set;
>
> recipient_delimiter = -
> propagate_unmatched_extensions = canonical, virtual, forward
>
>
> What am I missing? I need this default behavior for TMDA to work correctly.

You missed the request for actual logging and configuration,
in the welcome message of this mailing list.

Wietse Venema

unread,
Dec 14, 2004, 3:50:01 PM12/14/04
to
The OP replied in private mail, and I refuse to feed his TMDA bot.

His problem is in CYRUS not Postfix.

Wietse

Robert Schmid

unread,
Dec 14, 2004, 3:56:56 PM12/14/04
to

Sorry that I sent this privately the first time. You have been added to
my TMDA whitelist.

Can you be a little clearer about what I'm looking for in Cyrus, please?

logs and configs below.

> Robert Schmid:
> [ Charset ISO-8859-1 unsupported, converting... ]
>>
>> I am in the process of migrating from a NetBSD/qmail system to an OS
X/Postfix system.
>>
>> Everything is running fine except that I am not getting the expected
behavior when sending to a user with an undefined extension, i.e.
>>
>> In virtual I have defined
>>
>> rsc...@foodom.com rschmid
>>
>> I expect
>> rschmid...@foodom.com to go to rschmid but it bounces.
>>
>> If I add .forward-foobar, it works as expected
>> If I change that to .forward or .forward-default it bounces.
>>
>> I have set;
>>

>> recipient_delimiter =3D -
>> propagate_unmatched_extensions =3D canonical, virtual, forward


>>
>>
>> What am I missing? I need this default behavior for TMDA to work
correctly.
>
> You missed the request for actual logging and configuration,
> in the welcome message of this mailing list.
>

Sorry, here are the relevant log file entries;

Dec 14 08:29:50 eagle postfix/pipe[5028]: 33E094947B:
to=3D<rschmid...@eagle.raptor.net>,
orig_to=3D<rschmid...@nlgminnesota.org>, relay=3Dcyrus, delay=3D0,
status=3Dbounced (data format error. Command output: rschmid+foobar: Mail=
box
does not exist )
Dec 14 08:39:47 eagle postfix/pipe[5120]: 0B246494B7:
to=3D<rschmid...@eagle.raptor.net>,
orig_to=3D<rschmid...@nlgminnesota.org>, relay=3Dcyrus, delay=3D0,
status=3Dbounced (data format error. Command output: rschmid+foobar: Mail=
box
does not exist )
Dec 14 08:45:14 eagle postfix/pipe[5169]: 16E03494E3:
to=3D<rsc...@eagle.raptor.net>, orig_to=3D<rschmid-foobar@nlgminnesota.o=
rg>,
relay=3Dcyrus, delay=3D0, status=3Dsent (eagle.raptor.net)
Dec 14 08:48:01 eagle postfix/pipe[5204]: 94332494F3:
to=3D<rschmid...@eagle.raptor.net>,
orig_to=3D<rschmid...@nlgminnesota.org>, relay=3Dcyrus, delay=3D0,
status=3Dbounced (data format error. Command output: rschmid+foobar: Mail=
box
does not exist )
Dec 14 08:48:48 eagle postfix/pipe[5204]: 1DF27494FF:
to=3D<rschmid...@eagle.raptor.net>,
orig_to=3D<rschmid...@nlgminnesota.org>, relay=3Dcyrus, delay=3D0,
status=3Dbounced (data format error. Command output: rschmid+foobar: Mail=
box
does not exist )


And here is the main.cf;

alias_maps =3D hash:/etc/postfix/aliases,hash:/var/mailman/data/aliases
always_bcc =3D
command_directory =3D /usr/sbin
daemon_directory =3D /usr/libexec/postfix
debug_peer_level =3D 2
debugger_command =3D
enable_server_options =3D yes
inet_interfaces =3D all
luser_relay =3D
mail_owner =3D postfix
mailbox_transport =3D cyrus
mailq_path =3D /usr/bin/mailq
manpage_directory =3D /usr/share/man
maps_rbl_domains =3D dun.dnsrbl.net
message_size_limit =3D 0
mydestination =3D $myhostname, localhost.$mydomain, raptor.net
mydomain_fallback =3D localhost
myhostname =3D eagle.raptor.net
mynetworks =3D 127.0.0.0/8
mynetworks_style =3D host
newaliases_path =3D /usr/bin/newaliases
owner_request_special =3D no


propagate_unmatched_extensions =3D canonical, virtual, forward

queue_directory =3D /private/var/spool/postfix
readme_directory =3D /usr/share/doc/postfix
recipient_delimiter =3D -
relayhost =3D
sample_directory =3D /usr/share/doc/postfix/examples
sendmail_path =3D /usr/sbin/sendmail
server_enabled =3D 1
setgid_group =3D postdrop
smtpd_client_restrictions =3D reject_maps_rbl
smtpd_enforce_tls =3D no
smtpd_pw_server_security_options =3D login,plain
smtpd_recipient_restrictions =3D
permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,per=
mit
smtpd_sasl_auth_enable =3D yes
smtpd_tls_cert_file =3D /etc/postfix/server.pem
smtpd_tls_loglevel =3D 2
smtpd_use_pw_server =3D yes
smtpd_use_tls =3D yes
unknown_local_recipient_reject_code =3D 550
virtual_alias_domains =3D foodom.com
virtual_alias_maps =3D hash:/etc/postfix/virtual,
hash:/var/mailman/data/virtual-mailman


Virtual File:

rsc...@foodom.com rschmid

Wietse Venema

unread,
Dec 14, 2004, 4:02:37 PM12/14/04
to
Robert Schmid:

> Sorry that I sent this privately the first time. You have been added to
> my TMDA whitelist.
>
> Can you be a little clearer about what I'm looking for in Cyrus, please?

This is a recurring topic on this mailing list, and a google
search for

postfix +"data format error"

turns up many responses.

Wietse

Robert Schmid

unread,
Dec 14, 2004, 8:46:05 PM12/14/04
to

Specifically, for the sake of the next shmuck trying to search for info o=
n
getting qmail's wildcard-addressing behavior on the OS X Panther Server
implementation of Postfix and Cyrus, this post has the best information;

http://archives.neohapsis.com/archives/postfix/2000-11/0987.html

Even more specifically in /etc/postfix/master.cf change; (OS X 10.3.6)

# Cyrus 2.1.5 (Amos Gouaux)
cyrus unix - n n - 10 pipe
user=3Dcyrus argv=3D/usr/bin/cyrus/bin/deliver -e -r ${sender} -m
${extension} ${user}

TO

# Cyrus 2.1.5 (Amos Gouaux)
cyrus unix - n n - 10 pipe
user=3Dcyrus argv=3D/usr/bin/cyrus/bin/deliver -r ${sender} ${user}


Thanks for pointing me to right search terms!

Robert Schmid

> Robert Schmid:
>> Sorry that I sent this privately the first time. You have been added =
to
>> my TMDA whitelist.
>>
>> Can you be a little clearer about what I'm looking for in Cyrus, pleas=


e?
>
> This is a recurring topic on this mailing list, and a google
> search for
>
> postfix +"data format error"
>
> turns up many responses.
>
> Wietse
>


--=20
A human being should be able to change a diaper, plan an invasion, butche=
r
a hog, conn a ship, design a building, write a sonnet, balance accounts,
build a wall, set a bone, comfort the dying, take orders, give orders,
cooperate, act alone, solve equations, analyze a new problem, pitch
manure, program a computer, cook a tasty meal, fight efficiently, die
gallantly.

Specialization is for insects.

-Robert A. Heinlein, Time Enough for Love

0 new messages