Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
By SiegeX at 2004-09-07 01:58
|
Introduction
In case you have no idea what SMTP AUTH is good for, basically it allows you to provide relaying to people outside your trusted network by authenticating them in a secure manner. This is in contrast to an "open relay" which will allow anybody, anywhere to use your server to email whomever they want. As you can imagine, an open relay is a spammers dream as they are using YOUR precious resources to spam ten million people with your IP as the source....a very very bad thing!
As with most Internet services we must break them down into two categories: client and server. Client-side SMTP AUTH is useful when your ISP's mail server requires you to authenticate yourself in order to relay through it using SMART_HOST; if you are on DSL you probably know what I
|
|
|
All times are GMT -5. The time now is 04:09 PM.
|
Use this line to ./configure SASL2 instead. Notice that my --with-plugindir is NOT under /usr/local/lib, but under /usr/lib.
./configure --prefix=/usr --enable-anon --enable-plain --enable-login --disable-krb4 --with-mysql \
--with-saslauthd=/var/state/saslauthd --with-openssl --with-plugindir=/usr/lib/sasl2 \
--enable-cram --enable-digest --enable-otp
Greetings to all, and congratulations --and thank you-- for the great HOWTO.
one thing you might want to fix is to explain where these files came from:
installpkg sendmail-cf-8.13.1-noarch-1.tgz
great job.
Regarding certificates, take a look at this part:
Now that we have our own CA lets go ahead and make a certificate and sign it.
you normally have an option to accept the certificate permanently
saslauthd[4724] :main : could not chdir to: /var/state/saslauthd
saslauthd[4724] :main : chdir: No such file or directory
saslauthd[4724] :main : Check to make sure the directory exists and is
saslauthd[4724] :main : writeable by the user this process runs as.
FIXED
...only to mkdir..
but i still cant relay...only if i put for example hotmail.com in /etc/mail/access then i can post to my hotmail account......
I have this in my access
localhost RELAY
192.168.1 RELAY
Since trying to compile the sasl libs also segfaulted I'm hoping that it might be due to some compiler version incompatibility.
I'm about to install the gcc gdb packages in the mad hope that it will make the problem go away. But....
Anyway, here's the error. It's the same for versions .17 through .21
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include I../lib -I../sasldb -I../include -I/usr/include/mysql -Wall -W -g -O2 -MT sasldb_init.lo -MD -MP -MF .deps/sasldb_init.Tpo -c sasldb_init.c -fPIC -DPIC -o sasldb_init.lo
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include/mysql -Wall -W -g -O2 -MT plugin_common.lo -MD -MP -MF ".deps/plugin_common.Tpo" \
-c -o plugin_common.lo `test -f 'plugin_common.c' || echo './'`plugin_common.c; \
then mv ".deps/plugin_common.Tpo" ".deps/plugin_common.Plo"; \
else rm -f ".deps/plugin_common.Tpo"; exit 1; \
fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/include/mysql -Wall -W -g -O2 -MT plugin_common.lo -MD -MP -MF .deps/plugin_common.Tpo -c plugin_common.c -fPIC -DPIC -o plugin_common.lo
plugin_common.c: In function `_plug_make_prompts':
plugin_common.c:606: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [plugin_common.lo] Error 1
make[2]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.19/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/cyrus-sasl-2.1.19'
make: *** [all] Error 2
and i still have the same problem
when i start sendmail
/etc/rc.d/rc.sendmail
there are no errors reported
no error in /var/log/maillog
but sendmail just doesn't run
if i try to send mail it says SMTP server down in pine
if i try to send mail from "outside" it says SMTP server refusing connection in Thunderbird
port 25 is opened with iptables, also port 465
tried both, sending without SSL and with SSL
but it doesn't work
when i run nmap localhost there is no port 25 or 465
this is my nmap:
and reinstalled everything with installpkg and this howto
but there were no results
even here:
this is what happens:
maybe something has changed since this is a little newer version that the one it was used in this howto?!
i tried geting sendmail to work for the last 6 hours
i just have no other ideas what to do
can you please help me?
The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'info@digital-online.net'. Subject 'test mail', Account: 'mail.digital-online.net', Server: '172.20.20.1', Protocol: SMTP, Server Response: '550 5.1.1 <info@digital-online.net>... User unknown', Port: 25, Secure(SSL): No, Server Error: 550, Error Number: 0x800CCC79
It ends with "if you are on DSL you probably know what I".
Then what? Where is the whole story?
By the way the article is wrong where it says 'you can skip down to the Client-Side SMTP AUTH + SMART_HOST section', you cannot skip the part about Sendmail.conf, as I documented here: http://littlesvr.ca/linux-stuff/arti...tpauthfail.php