
rnsikkandar at gmail
Apr 3, 2013, 5:47 AM
Post #10 of 10
(889 views)
Permalink
|
|
Re: Smarthost (outgoing mail through Remote SMTP Server)
[In reply to]
|
|
Just an update on this. I have applied the patch available here http://www.ingorohloff.de/soft/qmail.html. It worked for me. Thanks to everyone responded in this thread. Special thanks to Erwin Hoffmann. On Mon, Mar 25, 2013 at 7:42 PM, Erwin Hoffmann <feh [at] fehcom> wrote: > H, > > > > Am 25.03.2013 um 15:04 schrieb Sikkandar Dulkaranai: > > No space in username and username is base-64 encoded and stored in > control/smtpauth file. Is there a way to run qmail in Verbose mode to see > what is going on when email is being transmitted to remote SMTP? > > > well, I don't know the SMTP-Auth patch you have applied. The one's I know > don't require a BASE64 encoded username. If the base64.c module is missing; > at least you need to encode both; username + password. > > If so, take care about trailing '\n' while encoding. My SMTP Auth tutorial > may give you some hints: > > http://www.fehcom.de/qmail/smtpauth.html > > regards. > --eh. > > > On Mon, Mar 25, 2013 at 7:22 PM, Erwin Hoffmann <feh [at] fehcom> wrote: > >> Hi, >> >> does your authentication user name includes 'white spaces' ? If so, >> that's the failure. >> >> regards. >> --eh. >> >> Am 25.03.2013 um 14:31 schrieb Sikkandar Dulkaranai: >> >> It seems QMail does not send proper username and password to Remote SMTP >> Server. Below is the log, got it from remote SMTP server log: >> >> >> >> On Fri, Mar 22, 2013 at 4:54 PM, Sikkandar Dulkaranai < >> rnsikkandar [at] gmail> wrote: >> >>> smtproute auth patch is now applied as per the instruction here >>> http://www.syslogs.org/qmail-smtproute-auth-patch/ and here >>> http://petrocik.net/blog/?p=21 >>> >>> This time the error is different: >>> >>> @40000000514c3d701229dd3c starting delivery 21: msg 278706 to remote >>> anotheruser [at] gmail >>> @40000000514c3d701229ecdc status: local 0/10 remote 1/20 >>> @40000000514c3d7017be3194 delivery 21: deferral: >>> AUTH_LOGIN_not_supported_for_207.58.xxx.xxx./Remote_host_said:_250-remotesmtp.com_Hello_184-106-xxxx-xxx.static.cloud-ips.com_[184.106.xxxx.xxx]/250-SIZE_52428800/250-PIPELINING/250-AUTH_CRAM-MD5_PLAIN_LOGIN/250-STARTTLS/250_HELP/ >>> >>> (NOTE: Using 'telnet remotesmtp.com 25' with encoded username and >>> password, the remotesmtp.com server accept mail) >>> >>> >>> On Thu, Mar 21, 2013 at 10:56 PM, Shepherd Nhongo <shepherdzw [at] gmail>wrote: >>> >>>> does your qmail setup have the qmail smtproute auth patch?if your >>>> answer is no then you need to patch you source & recompile qmail. >>>> >>>> cheers >>>> >>>> Sent from my iPhone >>>> >>>> On 21 Mar,2013, at 6:08 PM, "Chris Berry" <cberry [at] davistl> wrote: >>>> >>>> >207.58.xxx.xxx_does_not_like_recipient./ >>>> Remote_host_said:_550_relay_refused_myuserid [at] gmail/184.106.xxx.xxx_unauthenticated/Giving_up_on_207.58.xxx.xxx./ >>>> >>>> Based on the error message it looks like the remote server doesn't >>>> think you're a valid relay user. If you look at why at it refused you >>>> though, it's saying that 184.106.xxx.xxx was unauthenticated which means >>>> that the auth portion of the conversation isn't being completed correctly. >>>> Try doing it manually and see what happens. >>>> >>>> >>> >> >> -- >> Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de | PGP Key-Id: 7E4034BE >> >> >> > > -- > Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de | PGP Key-Id: 7E4034BE > > >
|