postfix smtp errors

Jamon Camisso jamon.camisso-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Mon Sep 29 17:51:36 UTC 2008


Matt Price wrote:
> On Mon, 2008-09-29 at 11:48 -0400, Jamon Camisso wrote:
>> Matt Price wrote:
> 
>>> i recently discovered that i can still connect to the utoronto smtp
>>> servers even from behind my evil rogers connection -- as long as i use
>>> port 587.  this setup works fine with thunderbird when i set it up
>>> directly from within the client.  However, i'd like to just get postfix
>>> to do what i want, and funnel thunderbird, evolution, mutt, etc through
>>> postfix.  but i haven't managed to do this.  Right now i'm getting these
>>> errors:
>>>
>>> Sep 28 21:58:22 gont postfix/smtp[22402]: 2A2A3120261: to=<matt.price-H217xnMUJC0sA/PxXw9srA at public.gmane.org>, relay=smtp.utoronto.ca[142.150.210.60]:587, delay=0.52, delays=0.02/0/0.45/0.05, dsn=5.7.0, status=bounced (host smtp.utoronto.ca[142.150.210.60] said: 530 5.7.0 Authentication required (in reply to MAIL FROM command))
>>>
>>> ------------
>>>
>>> and then my sasl_passwd has this line:
>>>
>>> [smtp.utoronto.ca]:587                user:passwd
>>>
>>> i've run postmap /etc/postfix/sasl_passwd, but that hasn't helped.  
>>>
>>> i feel i must be missing something, but i'm not sure what it is.  any
>>> gurus out there who know morethan me?  thanks!!
>> U of T require tls, so maybe fiddle with smtp_use_tls = yes  and
>> smtp_tls_loglevel?
>>
>> Jamon
> hey jamon,
> 
> solved it!  that put me in the right direction -- just randomly copied
> some shit from a guide, i'm sure a bunch of this stuff is unnecessary
> but at least it seems to work:
> # utoronto requires tls
> smtp_use_tls=yes
> smtp_tls_loglevel=2
> smtp_tls_security_level = may 
> #smtpd_use_tls=yes
> smtpd_tls_security_level = may 
> smtpd_tls_auth_only = no
> smtp_tls_note_starttls_offer = yes 
> #smtpd_tls_loglevel = 1
> #smtpd_tls_received_header = yes 
> #smtpd_tls_session_cache_timeout = 3600s 
> tls_random_source = dev:/dev/urandom
> smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
> smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
> 
> 
> i'll try to pare thisdown when i have more time but for now it works...

You don't need the smtpd directives unless you have users authenticating
and sending mail via your relay. the smtpd directives are for postfix
when it acts as a server for incoming messages from authenticated users.

Jamon
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list