On Fri, Jan 29, 2010 at 06:30:45PM +0100, Robert Schetterer wrote:

> smtpd_sender_login_maps = hash:/etc/postfix/sasl_senders
> 
> pico /etc/postfix/sasl_senders
> 
> @domain.de username
> 
> which works as desired

As documented, in indexed files the first non-whitespace token is the
lookup *key*, and the remainder of the (possibly "folded") line is
the *value*.

        $ postmap -q "@domain.de" hash:/etc/postfix/sasl_senders
        username

-- 
        Viktor.

P.S. Morgan Stanley is looking for a New York City based, Senior Unix
system/email administrator to architect and sustain our perimeter email
environment.  If you are interested, please drop me a note.

Reply via email to