?
Solved

Sendmail Problems

Posted on 2004-08-17
4
Medium Priority
?
247 Views
Last Modified: 2008-02-26
My isp blocks both outbound and inbound connections on port 25. Poses
a slight problem for sending and reciving mail.

I have found a site which will relay for me, but I do not have any
idea how to set up the sendmail prog to do this.

Given that inbound and outbound connections to 25 are also blocked, I
need to set up my system to

1) relay to a remote host to send email
2) relay to that host on a different port (Port 3325)
3) authenticate to that host


Can anyone either point me to a good webpage or provide some config
lines to add into the files, I would greatly appreciate it.

Thanks

0
Comment
Question by:nycon99
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 2

Expert Comment

by:xscousr
ID: 11852203
you can use the following in your sendmail.mc file

dnl sendmail through your isp's mail server
define(`SMART_HOST',`smtp1.yourisp.net')

and

DAEMON_OPTIONS(`Port=3325,Addr=YOURIP, Name=MTA')
DAEMON_OPTIONS(`Port=3325,Addr=127.0.0.1, Name=MTA')
DAEMON_OPTIONS(`Port=987, Name=MSA, M=E')


0
 
LVL 2

Accepted Solution

by:
xscousr earned 2000 total points
ID: 11852291
and on authentication if you are using sendmail as a client (from http://www.sendmail.org/~ca/email/sm-812.html#812AUTH)

AUTH related

If sendmail acts as client, it needs some information how to authenticate against another MTA. This information can be provided by the ruleset authinfo. The authinfo ruleset looks up {server_name} using the tag AuthInfo: in the access map. If no entry is found, {server_addr} is looked up in the same way and finally just the tag AuthInfo: to provide default values.
The RHS for an Auth: entry in the access map should consists of a list of tokens, each of which has the form: "TDstring" (including the quotes). T is a tag which describes the item, D is a delimiter, either ':' for simple text or '=' for a base64 encoded string. Valid values for the tag are: U user (authorization) id
I authentication id
P password
R realm
M list of mechanisms delimited by spaces


Example entries are:

AuthInfo:other.dom "U:user" "I:user" "P:secret" "R:other.dom" "M:DIGEST-MD5"
AuthInfo:more.dom "U:user" "P=c2VjcmV0"

User or authentication id must exist as well as the password. All other entries have default values. If one of user or authentication id is missing, the existing value is used for the missing item. Realm defaults to $j and the list of mechanisms to those specified by AuthMechanisms.

Since this map contains sensitive information, either the access map must be unreadable by everyone but root (or the trusted user) or FEATURE(`authinfo') must be used which provides a separate map. Notice: It is not checked whether the map is actually group/world-unreadable, this is left to the user.

Notice: the default configuration file causes the option DefaultAuthInfo to fail since the ruleset authinfo is in the .cf file. If you really want to use DefaultAuthInfo (it is deprecated) then you have to remove the ruleset.

0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are anything like me, you install many apps on your phone and have your life on it, sometimes literally.  When I bought my current phone, a Samsung Galaxy S5 from Verizon, they were only selling the versions with 16 GB internal.  I didn't rea…
We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Suggested Courses
Course of the Month10 days, 21 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question