LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-03-2005, 03:55 AM   #106
SiegeX
Member
 
Registered: Jul 2004
Location: Silicon Valley, CA
Distribution: Slackware
Posts: 171

Original Poster
Rep: Reputation: 38

afaik webmin does not come as a packaged slackpack yet. Which is why I had to roll my own with the webmin source and checkinstall.
 
Old 08-03-2005, 06:15 AM   #107
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Hmm, I'm sure I got it from linuxpackages.net, but I don't have the file any more so can't check the extension.

Anyway, I followed the HOW-TO and the link about "solving host name lookup failure errors", but I'm still getting said errors. Do I necessarily need a domain name for this to work? I've seen things relating to Slack's netconfig that says you can put anything in for domain. Oh well, I guess I might as well just give up.
 
Old 12-30-2005, 01:20 PM   #108
DirtyChicken5
LQ Newbie
 
Registered: Dec 2005
Posts: 1

Rep: Reputation: 0
SiegX-

GREAT post! I can't tell you how great this article was. I tried many iterations of something close, but this worked great.

Nice job!

Thanks!
-DC
 
Old 12-30-2005, 04:26 PM   #109
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Thanks SiegeX, this is really helpful stuff - I'd spent a day and a half only a fortnight ago getting a box in the office talking to an SMTP enabled GroupWise server using docs from all over the web (including one of your previous posts here). I spent about an hour this morning setting it up and testing on a box here at home using this thread.

Now I can enjoy New Year's Eve - and bore my non-linux friends with stories about this forum
 
Old 01-07-2006, 02:13 PM   #110
sys7em
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Slackware
Posts: 158

Rep: Reputation: 30
I've followed the Articel. Now when I try to send mail with Outlook express it prompsts me for a password ... and wont send the mail ..here's what's in the /var/log/maillog

Jan 7 21:00:21 machine sm-mta[10053]: k07J0LCB010053: host71.fok.org [82.138.17.41] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA

How should I fix that?
 
Old 01-07-2006, 08:17 PM   #111
silmaril8n
Member
 
Registered: May 2004
Location: Vancouver, WA
Distribution: Mint, Debian, Slackware
Posts: 123

Rep: Reputation: 15
The other day I found that most of my mail was bouncing back to my server because my domain wasn't recongized. Someone suggested that relay my outoing mail through my ISP but I have no idea how. I followed your guide step by step and VOILA! Perfect. I love this forum...
 
Old 01-25-2006, 11:48 AM   #112
jurassicpark98
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
Unhappy RHEL4 update 2 - Client-Side SMTP AUTH - Help!

Hi SiegeX:
How are you? I have problem which setting up client SMTP Auth (Mail Server side is MS Exchange Server 2000/2003)

Client server is RHEL4.0 update 2 and has these RPMs installed:

Sendmail-8.13.1-2
cyrus-sasl-2.1.19-5.EL4
cyrus-sasl-md5-2.1.19-5.EL4
cyrus-sasl-plain-2.1.19-5.EL4
cyrus-sasl-devel-2.1.19-5.EL4
cyrus-sasl-gssapi-2.1.19-5.EL4

$ /usr/sbin/sendmail -d0.1 -bv
Version 8.13.1
Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX
MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6
NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF STARTTLS TCPWRAPPERS
USERDB USE_LDAP_INIT

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = jurassicpark
(canonical domain name) $j = jurassicpark.ontario.ca
(subdomain name) $m = ontario.ca
(node name) $k = jurassicpark.ontario.ca
========================================================

Recipient names must be specified



$ cat authinfo
AuthInfo:smtp.ontario.ca "U:ec_ontario/josephc" "P:9058873289" "M:LOGIN PLAIN"
AuthInfo: "U:ec_ontario/josephc" "P:9058873289" "M:LOGIN PLAIN"

$ cat sendmail.mc

dnl # Uncomment and edit the following line if your outgoing mail needs to
dnl # be sent out through an external mail server:
dnl #
define(`SMART_HOST',`[smtp.ontario.ca]')dnl
dnl # I tried without square bracket as well
define(`confDEF_USER_ID',``8:12'')dnl
dnl define(`confAUTO_REBUILD')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTRY_NULL_MX_LIST',true)dnl
define(`confDONT_PROBE_INTERFACES',true)dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
define(`STATUS_FILE', `/var/log/mail/statistics')dnl
define(`UUCP_MAILER_MAX', `2000000')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confAUTH_OPTIONS', `A')dnl
define(`confTO_IDENT', `0')dnl
FEATURE(`no_default_msa',`dnl')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(`authinfo',`hash -o /etc/mail/authinfo.db')dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl



But I got this error. AUTH :client (please see below), how to fix it?
$ /var/log/maillog

Jan 25 16:25:37 jurassicpark sendmail[28920]: k0PGPbtH028920: from=root, size=281, class=0, nrcpts=3, msgid=<200601251625.k0PGPbtH028920@jurassicpark.ontario.ca>, relay=root@localhost
Jan 25 16:25:37 jurassicpark sendmail[28921]: NOQUEUE: connect from localhost.localdomain [127.0.0.1]
Jan 25 16:25:37 jurassicpark sendmail[28921]: AUTH: available mech=PLAIN LOGIN GSSAPI DIGEST-MD5 CRAM-MD5 ANONYMOUS, allowed mech=EXTERNAL GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5
Jan 25 16:25:37 jurassicpark sendmail[28921]: k0PGPbYs028921: Milter: no active filter
Jan 25 16:25:37 jurassicpark sendmail[28921]: ruleset=trust_auth, arg1=root@jurassicpark.ontario.ca, relay=localhost.localdomain [127.0.0.1], reject=550 5.7.1 <root@jurassicpark.ontario.ca>... not authenticated
Jan 25 16:25:37 jurassicpark sendmail[28921]: k0PGPbYs028921: from=<root@jurassicpark.ontario.ca>, size=581, class=0, nrcpts=3, msgid=<200601251625.k0PGPbtH028920@jurassicpark.ontario.ca>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jan 25 16:25:37 jurassicpark sendmail[28920]: k0PGPbtH028920: to=<GJ@mddep.ontario.ca>,<liau@mddep.ontario.>
ctladdr=<root@jurassicpark.ontario.ca> (0/0),ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=90281, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k0PGPbYs028921 Message accepted for delivery)
Jan 25 16:25:37 jurassicpark sendmail[28923]: k0PGPbYs028921: SMTP outgoing connect on ecodv10.ontario.int.ec.gc.ca
Jan 25 16:25:37 jurassicpark sendmail[28923]: k0PGPbYs028921: AUTH=client, available mechanisms do not fulfill requirements
Jan 25 16:25:37 jurassicpark sendmail[28923]: AUTH=client, relay=exchange1.ontario.ca., temporary failure, connection abort
Jan 25 16:25:37 jurassicpark sendmail[28923]: k0PGPbYs028921: to=<GJ@mddep.ontario.ca>,<liau@mddep.ontario.>
ctladdr=<root@jurassicpark.ontario.ca> (0/0),



HELP! HELP! HELP ME!
 
Old 01-25-2006, 12:22 PM   #113
jurassicpark98
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
Alternative I have tried
$ cat authinfo
AuthInfo:smtp.ontario.ca "U:joseph@ont.ca" "P:905887328" "M:LOGIN PLAIN"
AuthInfo: "U:joseph@ont.ca" "P:905887328" "M:LOGIN PLAIN"

This is exchange server, so I can use window's logon ec_ontario/josephc email login as above.

BTW: I didn't compiled Sendmail src in Redhat because I think RHEL4.0 update 2 because I can see STARTTLS and SASLv2 when I do sendmail -d0.1 -bv

Thank alots Please reply asap!
 
Old 03-23-2006, 01:23 AM   #114
djv0022
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
I am getting this error when i build cyrus

Code:
client.c:64: error: static declaration of 'global_callbacks' follows non-static declaration
saslint.h:112: error: previous declaration of 'global_callbacks' was here
client.c: In function '_sasl_print_mechanism':
client.c:863: warning: unused parameter 'rock'
make[2]: *** [client.lo] Error 1
make[2]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.21/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.21'
make: *** [all] Error 2
 
Old 03-29-2006, 10:25 AM   #115
rutgerw
Member
 
Registered: Jun 2004
Location: Leiden, The Netherlands
Distribution: Slackware 10.2, SmoothWall Express v3, Kubuntu 7.04, Mac OS X.4
Posts: 69

Rep: Reputation: 15
Great HOWTO!

However I have a problem. Everything installed fine, and as far as can see should be working. However every time I try to Authenticate, the authentication process fails. Do you have any idea what could be causing this?

Edit:
WHOOPs Sorry,
Seemed that my Sendmail.conf file was wrong
Annyway, this still is a great HOWTO!!

Last edited by rutgerw; 03-29-2006 at 10:37 AM.
 
Old 04-08-2006, 04:25 PM   #116
Simon_T
LQ Newbie
 
Registered: Apr 2006
Distribution: CentOS/RedHat
Posts: 4

Rep: Reputation: 0
I`m trying to follow the tutorial as posted, my problem seems to be that I don`t actually know what slackware is? I`m running a variant of RedHat and obviously the differences in distros means that I get stuck when I try to "./SlackBuild", I get errors that explodepkg and makepkg are not found. Is there any way I can get this to run on my existing system?

All help appreciated.

Thanks,

Simon
 
Old 04-08-2006, 05:59 PM   #117
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,626

Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by Simon_T
I`m trying to follow the tutorial as posted, my problem seems to be that I don`t actually know what slackware is? I`m running a variant of RedHat and obviously the differences in distros means that I get stuck when I try to "./SlackBuild", I get errors that explodepkg and makepkg are not found. Is there any way I can get this to run on my existing system?

All help appreciated.

Thanks,

Simon

Slackware is the oldest and most mature Linux distribution in service. Seems you try to install a Slackware package on Red Hat, as the tools you don't have are Slackware tools. I'd suggest that you
- download a Red Hat package (RPM)
- install that
- if it fails to do what you want, and you have to compile from source yourself: download a source RPM or the original sources from http://www.sendmail.org
- follow the instructions from that site *AND* those from SiegeX

Only if nothing helps, give a Slackware package a try, as you then probably can follow SiegeX's excellent instructions step by step. BTW, there should be a tool named alien available for Red Hat that might help you with installing packages built for foreign distributions.

In general, it should be possible to install a Slackware package on Red Hat. Just use programs like tar and gunzip to unpack the package. Make sure that you have a source package, and compile yourself.


Good luck!

gargamel
 
Old 04-08-2006, 07:51 PM   #118
julioarr
LQ Newbie
 
Registered: Apr 2006
Posts: 1

Rep: Reputation: 0
Question

The auth don't work in my system ?
anyone can send me mail by using my server.

I have the following packages:
(debian 3.1 OS)

linux-image-2.6.15-1-686
sendmail-8.13.6-1
libauthen-sasl-cyrus-perl 0.12-server-4
libauthen-sasl-perl 2.09-1
libsasl2 2.1.19-1.9
libsasl2-dev 2.1.19-1.9
libsasl2-modules 2.1.19-1.9
sasl2-bin 2.1.19-1.9

_____________________
my sendmail.mc file:
_____________________

divert(-1)dnl
#-----------------------------------------------------------------------------
# $Sendmail: debproto.mc,v 8.13.5 2005-10-10 23:59:04 cowboy Exp $
#
# Copyright (c) 1998-2005 Richard Nelson. All Rights Reserved.
#
# cf/debian/sendmail.mc. Generated from sendmail.mc.in by configure.
#
# sendmail.mc prototype config file for building Sendmail 8.13.5
#
# Note: the .in file supports 8.7.6 - 9.0.0, but the generated
# file is customized to the version noted above.
#
# This file is used to configure Sendmail for use with Debian systems.
#
# If you modify this file, you will have to regenerate /etc/mail/sendmail.cf
# by running this file through the m4 preprocessor via one of the following:
# * `sendmailconfig`
# * `make`
# * `m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf`
# The first two options are preferred as they will also update other files
# that depend upon the contents of this file.
#
# The best documentation for this .mc file is:
# /usr/share/doc/sendmail-doc/cf.README.gz
#
#-----------------------------------------------------------------------------
divert(0)dnl
#
# Copyright (c) 1998-2005 Richard Nelson. All Rights Reserved.
#
# This file is used to configure Sendmail for use with Debian systems.
#
define(`_USE_ETC_MAIL_')dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
include(`/etc/mail/tls/starttls.m4')dnl
include(`/etc/mail/sasl/sasl.m4')dnl
VERSIONID(`$Id: sendmail.mc, v 8.13.5-3 2005-10-10 23:59:04 cowboy Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-mta')dnl
dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE
undefine(`confHOST_STATUS_DIRECTORY')dnl #DAEMON_HOSTSTATS=
dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE
dnl #
dnl # General defines
dnl #
dnl # SAFE_FILE_ENV: [undefined] If set, sendmail will do a chroot()
dnl # into this directory before writing files.
dnl # If *all* your user accounts are under /home then use that
dnl # instead - it will prevent any writes outside of /home !
dnl # define(`confSAFE_FILE_ENV', `')dnl
dnl #
dnl # Daemon options - restrict to servicing LOCALHOST ONLY !!!
dnl # Remove `, Addr=' clauses to receive from any interface
dnl # If you want to support IPv6, switch the commented/uncommentd lines
FEATURE(`no_default_msa')dnl
dnl DAEMON_OPTIONS(`Family=inet6, Name=MTA-v6, Port=smtp, Addr=::1')dnl
DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp, Addr=0.0.0.0')dnl
dnl DAEMON_OPTIONS(`Family=inet6, Name=MSP-v6, Port=submission, Addr=::1')dnl
DAEMON_OPTIONS(`Family=inet, Name=MSP-v4, Port=submission, Addr=127.0.0.1')dnl
dnl #
dnl # Be somewhat anal in what we allow
define(`confPRIVACY_FLAGS',dnl
`needmailhelo,needexpnhelo,needvrfyhelo,restrictqrun,restrictexpand,nobodyreturn,authwarnings')dnl
dnl #
dnl # Define connection throttling and window length
define(`confCONNECTION_RATE_THROTTLE', `15')dnl
define(`confCONNECTION_RATE_WINDOW_SIZE',`10m')dnl
dnl #
dnl # Features
dnl #
dnl # The access db is the basis for most of sendmail's checking
dnl # FEATURE(`access_db', , `skip')dnl
FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
dnl #
dnl # The greet_pause feature stops some automail bots - but check the
dnl # provided access db for details on excluding localhosts...
FEATURE(`greet_pause', `1000')dnl 1 seconds
dnl #
dnl # Delay_checks allows sender<->recipient checking
FEATURE(`delay_checks', `friend', `n')dnl
dnl #
dnl # If we get too many bad recipients, slow things down...
define(`confBAD_RCPT_THROTTLE',`3')dnl
dnl #
dnl # Stop connections that overflow our concurrent and time connection rates
FEATURE(`conncontrol', `nodelay', `terminate')dnl
FEATURE(`ratecontrol', `nodelay', `terminate')dnl
dnl #
dnl # If you're on a dialup link, you should enable this - so sendmail
dnl # will not bring up the link (it will queue mail for later)
dnl define(`confCON_EXPENSIVE',`True')dnl
dnl #
dnl # Default Mailer setup

LOCAL_CONFIG
define(`SMART_HOST', mail.fisica.uh.cu)dnl
define(`confDEF_USER_ID',``1:1'')dnl
dnl # define(`confRUN_AS_USER',`smmta:smmsp')dnl
define(`confTRUSTED_USER', `smmta')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTRY_NULL_MX_LIST',true)dnl
define(`confDONT_PROBE_INTERFACES',true)dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`ALIAS_FILE', `/etc/mail/aliases')dnl
define(`STATUS_FILE', `/etc/mail/statistics')dnl
dnl # define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confAUTH_OPTIONS', `A p y')dnl
define(`confTO_IDENT', `0')dnl
MASQUERADE_AS(`fises.fisica.uh.cu')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`allmasquerade')dnl
FEATURE(`always_add_domain')dnl
LOCAL_CONFIG
Cwfises.fisica.uh.cu
FEATURE(`authinfo',`hash -o /etc/mail/authinfo.db')dnl
dnl # FEATURE(`use_cw_file')dnl
dnl # FEATURE(`use_ct_file')dnl
dnl # FEATURE(`redirect')dnl
FEATURE(`nouucp', `reject')dnl
FEATURE(`bestmx_is_local')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`local_procmail',`',`procmail -t -Y -a $h -d $u')dnl
define(`confREJECT_MSG', `550 Access denied')dnl
define(`confCR_FILE', `-o /etc/mail/relay-domains')dnl <<- $=R
FEATURE(relay_hosts_only)dnl
dnl # FEATURE(relay_entire_domain)dnl <<- relays any host in the $=m class
FEATURE(relay_based_on_MX)dnl <<- relaying for boxes MX'd to you
FEATURE(blacklist_recipients)dnl
dnl # TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
dnl # define(`confAUTH_MECHANISMS', `DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
EXPOSED_USER(`root')dnl
FEATURE(`smrsh')dnl
dnl #
dnl # Dialup/LAN connection overrides
dnl #
include(`/etc/mail/m4/dialup.m4')dnl
include(`/etc/mail/m4/provider.m4')dnl
dnl #
MAILER_DEFINITIONS
MAILER(`local')dnl
MAILER(`smtp')dnl
MAILER(`procmail')dnl
LOCAL_CONFIG
## Custom configurations below (will be preserved)

__________________
my sasl.m4 file:
__________________

divert(-1)dnl
####################################################################
##### This file is automagically generated -- edit at your own risk
#####
##### Copyright (c) 2002-2005 Richard Nelson. All Rights Reserved.
#####
##### file: /etc/mail/sasl/sasl.m4
##### AUTH Configuration for Debian Sendmail
##### generated via: (/usr/bin/perl 588)
##### /usr/share/sendmail/update_authm4
##### version: 8.13.6 2006-03-23 19:07:27 cowboy
##### by: fises@fises.fisica.uh.cu
##### on: Sat Apr 8 18:46:10 2006
##### in: /etc/mail
##### input files: /etc/mail/databases
#####
##### Usage:
##### 1) To get *ANY* AUTH support for sendmail you
##### A) *MUST* Add this line to /etc/mail/sendmail.mc
##### `include(`/etc/mail/sasl/sasl.m4')dnl'
##### B) *MAY* Add the same line to /etc/mail/submit.mc
##### to get MSP<->MTA authentication/encryption
##### 2) You may modify the marked portions of this file.
##### If you need finer control of AUTH options, use the access
##### database.
#####
####################################################################
divert(0)dnl
VERSIONID(`$Id: sasl.m4,v 8.13.6-1 2006-03-23 19:07:27 cowboy Exp $')
dnl #
dnl #---------------------------------------------------------------------
dnl # Bring in Autoconf results
dnl #---------------------------------------------------------------------
ifdef(`sm_version', `dnl',
`include(`/usr/share/sendmail/cf/debian/autoconf.m4')dnl')
dnl #
dnl #---------------------------------------------------------------------
dnl # SMTP AUTH (SASL) support (sendmail 8.10.0 +)
dnl # PLAIN/LOGIN needed to support SASL auth via PAM ;(
dnl # if this bothers you, you allow them only in conjunction w/STARTTLS !
dnl #---------------------------------------------------------------------
ifelse(eval(sm_version_math >= 526848), `1', `dnl
ifelse(sm_enable_auth, `yes', `dnl
dnl #
dnl # ...Do not touch anything above this line...
dnl #
dnl # Set a more reasonable timeout on negotiation
dnl #
define(`confTO_AUTH', `2m')dnl # <= EDIT
dnl #
dnl # Define the REALM passed to sasl (8.13.0+)
ifelse(eval(sm_version_math >= 527616), `1', `dnl
define(`confAUTH_REALM', `')dnl # <= EDIT
')dnl
dnl #
dnl # Available Authentication methods
dnl #
define(`confAUTH_MECHANISMS',dnl
`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl # <= EDIT
dnl #
dnl # These, we will trust for relaying
dnl #
TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl # <= EDIT
dnl #
dnl # ...Do not touch anything below this line...
dnl #
dnl #
dnl # for 8.12.0+, add EXTERNAL as an available & trusted mech (w/STARTTLS)
dnl # and allow sharing of /etc/sasldb(2) file, allow group read/write
dnl #
ifelse(eval(sm_version_math >= 527360), `1', `dnl
define(`confAUTH_MECHANISMS',dnl
`EXTERNAL 'defn(`confAUTH_MECHANISMS'))dnl
TRUST_AUTH_MECH(`EXTERNAL')
dnl #
dnl # To support some SASL use, we need the DB to be group readable
dnl #
define(`confDONT_BLAME_SENDMAIL',dnl
defn(`confDONT_BLAME_SENDMAIL')`,GroupReadableSASLDBFile,GroupWritableSASLDBFile')dnl
')dnl
dnl #
dnl # To support SMTP AUTH in `sendmail -bs' :
dnl # Sigh: SASLV1 MSP AUTH does not work in -bs mode (/etc/sasldb !o+r)
dnl # so, we have the MSP not use Auth (or ETRN)
dnl # SASLV2 (w/saslauth) chose to prohibit user authentication - it can
dnl # be made to work by:
dnl # 1) changing /etc/sasldb2 {root,sasl,smmta}:smmsp 0660
dnl # 2) dpkg-statoverride --remove /var/run/saslauthd
dnl # 3) dpkg-statoverride --add root sasl 711 /var/run/saslauthd
dnl #
ifelse(eval(sm_auth_lib < 2), `1', `dnl
ifdef(`DEBIAN_MSP', `dnl
ifelse(defn(`_DPO_'), `', `dnl
DAEMON_OPTIONS(`Name=NoMTA, Addr=0.0.0.0, M=EA')dnl
')')')dnl
dnl #
')')dnl

____________________
my starttls.m4 file:
____________________

divert(-1)dnl
####################################################################
##### This file is automagically generated -- edit at your own risk
#####
##### Copyright (c) 2002-2005 Richard Nelson. All Rights Reserved.
#####
##### file: /etc/mail/tls/starttls.m4
##### STARTTLS Configuration for Debian Sendmail
##### generated via: (/usr/bin/perl 588)
##### /usr/share/sendmail/update_tlsm4
##### version: 8.13.6 2006-03-23 19:07:27 cowboy
##### by: fises@fises.fisica.uh.cu
##### on: Sat Apr 8 18:46:10 2006
##### in: /etc/mail
##### input files: /etc/mail/databases
#####
##### Usage:
##### 1) To get *ANY* STARTTLS support for sendmail you
##### A) *MUST* Add this line to /etc/mail/sendmail.mc
##### `include(`/etc/mail/tls/starttls.m4')dnl'
##### B) *MAY* Add the same line to /etc/mail/submit.mc
##### to get MSP<->MTA authentication/encryption
##### 2) You may modify the marked portions of this file, those
##### deal with the cert/key filenames and TLS options.
##### If you need finer control of TLS options, use the access
##### database.
#####
####################################################################
divert(0)dnl
VERSIONID(`$Id: starttls.m4,v 8.13.6-1 2006-03-23 19:07:27 cowboy Exp $')
dnl #
dnl #---------------------------------------------------------------------
dnl # Bring in Autoconf results
dnl #---------------------------------------------------------------------
ifdef(`sm_version', `dnl',
`include(`/usr/share/sendmail/cf/debian/autoconf.m4')dnl')
dnl #
dnl # Check to see if inclusion is valid (version >= 8.11.0, tls enabled)
ifelse(eval(sm_version_math >= 527104), `1', `dnl
ifelse(sm_enable_tls, `yes', `dnl
dnl #
dnl # To support shared keyfiles, we need them to be group readable
dnl #
define(`confDONT_BLAME_SENDMAIL',dnl
defn(`confDONT_BLAME_SENDMAIL')`,GroupReadableKeyFile')dnl
dnl #
dnl # ...Do not touch anything above this line...
dnl #
dnl # Set a more reasonable timeout on negotiation
dnl #
define(`confTO_STARTTLS', `2m')dnl # <= EDIT
dnl #
dnl # CA directory - CA certs should be herein
define(`confCACERT_PATH', `/etc/mail/certs')dnl # <= EDIT
dnl #
dnl # CA file (may be the same as client/server certificate)
define(`confCACERT', `/etc/mail/certs/cacert.pem')dnl # <= EDIT
dnl #
dnl # Certificate Revocation List
define(`confCRL', `')dnl # <= EDIT
dnl # CRL not found... do not issue warnings on it!
undefine(`confCRL')dnl
dnl #
dnl # Server certificate/key (can be in the same file, and shared w/client)
dnl # NOTE: The key must *NOT* be encrypted !!!
define(`confSERVER_CERT', `/etc/mail/certs/sendmail.pem')dnl # <= EDIT
define(`confSERVER_KEY', `/etc/mail/certs/sendmail.pem')dnl # <= EDIT
dnl #
dnl # Client certificate/key (can be in the same file, and shared w/server)
dnl # NOTE: The key must *NOT* be encrypted !!!
define(`confCLIENT_CERT', `/etc/mail/certs/sendmail.pem')dnl # <= EDIT
define(`confCLIENT_KEY', `/etc/mail/certs/sendmail.pem')dnl # <= EDIT
dnl #
dnl # Optional settings
define(`confTLS_SRV_OPTIONS', `V')dnl # <= EDIT
dnl #
')')dnl


_________________
my authinfo file:
_________________

AuthInfo:fises.fisica.uh.cu "U:julioarr@fisica.uh.cu" "P:$1$Q5FB3CaZ$EyCC2LhWv.2mC6SJ.aWRG1" "MIGEST-MD5"
AuthInfo: "U:julioarr@fisica.uh.cu" "P:$1$Q5FB3CaZ$EyCC2LhWv.2mC6SJ.aWRG1" "MIGEST-MD5"

______________________
my Sendmail.conf file:
______________________

#Currently configurable parameters:
#- srvtab (for KERBEROS_V4): [/etc/srvtab] path
# where to find the srvtab
#
#- pwcheck_method: [PAM] one of {PAM, kerberos_v4, passwd, shadow, sasldb}
# how to check plaintext passwords.
#
#- auto_transition: [false]
# if true, automatically add secrets to the secret database when
# PLAIN or check_password is used, so in the future the user can
# use the more secure mechanisms.
#
#*** For a more detailed guide on configuring SASL, please look at
#doc/sysadmin.html.
#
# auto_transition: true
pwcheck_method: saslauthd
# pwcheck_method: auxprop saslauthd
# auxprop_plugin: sasldb
# allowanonymouslogin: 0
# allowplaintext: 1
mech_list: EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN

___________________
my saslauthd file:
___________________

# This needs to be uncommented before saslauthd will be run automatically
START=yes

# You must specify the authentication mechanisms you wish to use.
# This defaults to "pam" for PAM support, but may also include
# "shadow" or "sasldb", like this:
# MECHANISMS="pam shadow"

MECHANISMS="shadow sasldb pam"
 
Old 04-09-2006, 02:43 AM   #119
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Yeap. Alien is a good choice: http://www.kitenet.net/~joey/code/alien.html
 
Old 04-09-2006, 06:43 PM   #120
Simon_T
LQ Newbie
 
Registered: Apr 2006
Distribution: CentOS/RedHat
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by gargamel
Slackware is the oldest and most mature Linux distribution in service. Seems you try to install a Slackware package on Red Hat, as the tools you don't have are Slackware tools. I'd suggest that you
- download a Red Hat package (RPM)
- install that
- if it fails to do what you want, and you have to compile from source yourself: download a source RPM or the original sources from <!-- URL REMOVED SEE BELOW -- >
- follow the instructions from that site *AND* those from SiegeX

Only if nothing helps, give a Slackware package a try, as you then probably can follow SiegeX's excellent instructions step by step. BTW, there should be a tool named alien available for Red Hat that might help you with installing packages built for foreign distributions.

In general, it should be possible to install a Slackware package on Red Hat. Just use programs like tar and gunzip to unpack the package. Make sure that you have a source package, and compile yourself.
Thanks, I suspected Slackware was a different didtro, but wasn`t sure.

The errors I recieved were at the beggining of ./Slackbuild for unable to unzip the .tar.gz file and then at the end for zipping it again.

If someone can reply with the command line arguments for explodepkg and makepkg then I can unzip the source files and then zip the final file set to use for the rest of the installation.


Thanks for the help so far.

Simon

p.s. i had to remove the url from the quote above as apparently I can`t post urls until i have made three posts, look above at the original post for the url for sendmail. Simon
 
  


Reply

Tags
att, auth, dsl, howto, sendmail, smtp, ssl, yahoo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: Sendmail SMTP AUTH Howto SiegeX LinuxAnswers Discussion 10 09-17-2007 08:49 PM
sendmail 8.13.4-2 smtp auth nightmare kz26 Linux - Security 1 10-30-2005 02:57 PM
Sendmail SMART_HOST + SMTP AUTH Howto SiegeX Slackware 15 09-06-2004 02:42 AM
SMTP Auth for sendmail wolftechmn Linux - Networking 4 11-27-2003 02:17 PM
Sendmail / SMTP Auth cleaner416 Linux - Networking 3 10-06-2003 11:40 AM


All times are GMT -5. The time now is 07:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration