Solved

Sendmail Problems

Posted on 2004-08-17
4
242 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Are you using email marketing software? If not, you're missing out on effortless marketing and the reaching of desired conversion rates through email marketing software.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
The purpose of this video is to demonstrate how to set up Lists in Mailchimp. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchimp account. : Click on Lists. Click on Create List Button : Choose the desi…
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…

839 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