[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sender address rewriting



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 29 of November 2003 02:34, Matti Aarnio wrote:
>
> I went thru the thing myself, and it didn't work..  Right.
> More work-over, and it boiled down to:
>
>
> diff -u -p -r1.51 -r1.52
> --- zmailer/proto/cf/aliases.cf	2003/11/21 01:20:03	1.51
> +++ zmailer/proto/cf/aliases.cf	2003/11/29 01:03:37	1.52
> @@ -241,9 +241,9 @@ routeuser (quad, plustail, domain) {
>
>  	case $type in
>  	sender)
>  		a=$(userdb "$user:mailname") \
>
>  		  || returns ((("$chan" "$host" "$user$plustail$domain" $attr)))
>
> -		returns ((("$chan" "$a" "$user$plustail$domain" $attr)))
> +		returns ((("$chan" "$a" "$a" $attr)))
>  		;;
>  	esac
>
> There is something similar needed in  fqdnaliases.cf
> and considerably more effort in crossbar.cf...
> I just completed a once-over at it, but will need to
> do some more to support   user+foobar@dom  ->  user.name+foobar@dom
> conversion.
>

This works now. Thank you. Kiitos.

- -- 
Terve
        Vladislav Kurz

=== WebStep, s.r.o. (Ltd.) ========= a step to the Web =======
address : Turgenevova 18, 61800 Brno, CZ, tax-id: 289-25528262
office : Veveri 9, 60200 Brno, CZ, tel & fax: +420 541 128 341
=== www.webstep.net =========== vladislav.kurz@webstep.net ===

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE/yzk3tE3Oxn6KpVkRAvByAJ9//zyZLMsnZzhgAXKBfp66JhsvbgCeMo3S
5x4FV3Z+tvQ5UD8YoUj50co=
=IsUd
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi