sendmail help?

Adam Bozanich abozan01 at ccsf.edu
Thu Jan 22 12:20:40 PST 2004



On Thu, 22 Jan 2004, Micheal Patterson wrote:

>
> >>                    I believe the original poster was asking about
> >> using sendmail to retrieve email from his ISP's smtp server.  And
> >> it's still a lot easier to install fetchmail than to reinstall
> >> sendmail.

I use fetchmail to retrieve mail from my isp's pop server.

> Apparently he's having trouble understanding a number of things lately and
> I'm beginning to wonder if he's a troll or not.

That's a bit harsh.

> http://www.sendmail.org/~ca/email/auth.html#DefaultAuthInfo
>
> Within that site, it will give you assistance in setting up sendmail to act
> as an smtp client using smtp-auth.
>
> <snippet>
>
> DefaultAuthInfo (confDEF_AUTH_INFO)
> specifies a file in which the authorization identity, the authentication
> identity, the secret, and the realm to be used for authentication are
> stored. This file must be in a safe directory and unreadable by everyone
> except root (or TrustedUser). It is used when sendmail acts as a client to
> authenticate itself to a server. Example:
> admin
> admin
> MySecretPassword
> example.domain
>
> Notes: all data is case sensitive (usually) and the entire line is used in
> each case (including any white space!).
> recommended filename: /etc/mail/default-auth-info
>
> </snippet>
>
> I trust this is what the OP's original intentions were.

Yes, it was.  Thank you.  I really don't see what the big mix up was... I
guess I didn't post my problem clearly.

I have tried the /etc/mail/default-auth-info method (I have read that
page), but I just can't get it to work.  I have also read that the new way
to do it is with the /etc/mail/authinfo file, with the format I gave
earlier.

I have compiled sendmail with sasl (1) support.  But I don't think that
the smtp-auth part is the issue.

As I stated before, I believe the problem is that sendmail is not
translating my name in the "from" section of the email.  When The mail
gets rejected, it gets send back with "From: adam at kayak", My isp wants it
to be "From my_user_name at my_isp.net"

I think this is probably not too difficult to fix, but I can't see where I
am going wrong.

I can't seem to find any good tutorials/documentation on getting a simple
sendmail client working with a dynamic ip address using smtp authentication,
If anybody has any references they'd like to share, or any suggestions for me
to try it would be greatly appreciated.

What about my sendmail_msp_que question?  what does this component of
sendmail do?  (do I need it?)

TIA
-Adam




More information about the freebsd-questions mailing list