> On 25.06.2011 17:00, Anders Norrbring wrote: > > Hiya all. > > I'm trying to make relayhost to work, but I get "Relay access denied" > no > > matter what I try. > > The server is running openSUSE 11.3 x86_64, and the following > packages are > > installed: > > > > > My main.cf has these related lines: > > lmtp_sasl_auth_enable = yes > > lmtp_sasl_password_maps = hash:/etc/postfix/lmpt_pass > > relayhost = smtp.bredband2.com > > > > And the sasl_passwd has this entry: > > smtp.bredband2.com user:pa!ss > > > > What am I missing? The relay works fine from Thunderbird and MS > Outlook with > > the very same user:pass combination. > > Try using smtp_sasl_xxx instead of lmtp_sasl_xxx. > > Sandy
Sandy, I had the relevant smtp options, but forgot to write them in my mail to the list. The problem was that I didn't run postmap on the password file. It runs just fine now. Anders.