Re: ZOE as "external" mail archive?
Zoe <[email protected]> Tue, 22 Mar 2005 11:16:51 +0100
| Newsgroups | gmane.mail.zoe.general |
|---|---|
| Message-ID | <[email protected]> |
On Mar 22, 2005, at 10:12, [email protected] wrote: > So here's my question: after authentication (which works fine), what =20= > is the > sender address does ZOE's SMTP server expect ? I've tried several =20 > ones, like > <myname>@localhost and my full external mail account (the one I'm =20 > fetching > mail > from) -- I'm still getting '501 Invalid sender address'. Your SMTP MAIL address is not formatted properly. Beside being syntactically correct, the SMTP envelope address should =20 match one of the email address you have defined in ZO=CB. To summarize: (1) THe SMTP authentication should reflect the identity and signature =20= (username and password) as defined in ZO=CB. This implies that =20 authentication must be enabled in ZO=CB itself. (2) The SMTP MAIL envelope address should match one of the email =20 address you have defined in ZO=CB. This is usually done for you by your =20= email client. In the case of something like procmail or such, you need =20= to configure it yourself. Here are the relevant chunk of code dealing with this circus: SZSMTPMail handles the SMTP MAIL command: http://dev.alt.textdrive.com/file/ZOE/Frameworks/SZSMTP/SZSMTPMail.java Line 101 raises your first exception as it cannot parse the email =20 address provided. If the email address is syntactically correct, it get passed to =20 SZSMTPSession.setSender(): http://dev.alt.textdrive.com/file/ZOE/Frameworks/SZSMTP/=20 SZSMTPSession.java Which tries to match the provided email address with an account defined =20= in ZO=CB (line 238). Cheers, R. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click