Solved

Sendmail Problems

Posted on 2004-08-17
4
239 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
  • 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 500 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Problem: You created a new custom form in Outlook for your contacts (added fields, deleted fields, changed the layout of fields, whatever) and made it the default form for contacts. The good news is that all new contacts will utilize the new form. T…
Explore the encryption capabilities built into Google Apps and how these features can help you meet privacy policy and regulatory compliance, but are not a full solution. Understand and compare the most popular email encryption services for Google A…
The purpose of this video is to demonstrate how to set up an account with Mailchimp. This will be demonstrated using a Windows 8 PC. Tools Used are: Mailchimp.com Go to Mailchimp.com : Enter an Email, Username, and Password. Click Create My Acco…
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…

757 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now