Sendmail applet may need to validate on RCPT
Gustavo Zacarias
gustavo at zacarias.com.ar
Fri Mar 27 20:12:45 UTC 2009
Vladimir Dronnikov wrote:
> Sorry, I just didn't get you. What _your mail server_? You use BB
> sendmail as an MTA to talk to ISP mail server and the former refuses
> to run the scenario you need, right? So I ask whether full-blown
> sendmail can run that scenario talking to ISP mail server. In other
> words, are you requesting for a feature that does exist in vanilla
> sendmail?
We're mixing wording here :-)
I'm running my own mail server using sendmail (from www.sendmail.org,
like qmail, postfix and others are) as my mail server in my office.
BB sendmail (the applet) can send mails perfectly thru my office smtp
server (sendmail.org sendmail) as long as it sits on the allowed IP
address block. If i want to use my office smtp server from outside the
office via internet from home (dynamic IP address from another internet
provider) i need to authenticate myself to the server. If said mail is
to an address from a domain hosted in the office it doesn't need
authentication for obvious reasons (being the endpoint for the domain).
But if i use my office smtp server to send mails somewhere else then it
needs a proper user/password to do this.
> They do good. Spam is evil.
Exactly, my office smtp server isn't an open relay, that's the reason
for requiring authentication when things go outside from the outside.
> I see. So what option commands vanilla sendmail to behave that way?
> You saw the code -- it is hard to find a free letter :))
Vanilla sendmail doesn't handle that as a MUA - it's intended mostly as
a MTA. The closest thing to BB sendmail is ssmtp which tries to resemble
sendmail commands too and introduces really convoluted commands for
this, namely -au<username>, -ap<password> and -am<mechanism> (since it
handles LOGIN and CRAM-MD5).
So it would be just an option of your/our choosing, uppercase 'A' maybe?
Regards.
More information about the busybox
mailing list