Re: sendmail auth problems

2003-02-24 Thread Gernot A. Weber
Hi,

ok it's working now. Just in case someone wants to know, where the problem
was:

 dnl set SASL options
 TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
 define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
 define(`confDEF_AUTH_INFO', `/etc/mail/auth-info')dnl

I changed the last line to:

FEATURE(authinfo, `hash -o /etc/mail/authinfo')dnl

 to my .mc-file and created /etc/mail/auth-info containing:

This file is not needed anymore. authinfo looks like:

AuthInfo:relayhost U:username P:password M:PLAIN

 Starting sendmail gave me:

 Feb 23 14:54:03 homer sm-mta[32122]: error: safesasl(/usr/local/etc/sa
 sldb) failed: Group readable file
 Feb 23 14:54:03 homer sm-mta[32123]: starting daemon (8.12.6): SMTP+qu
 [EMAIL PROTECTED]:30:00
 Feb 23 14:54:03 homer sm-msp-queue[32129]: starting daemon (8.12.6): q
 [EMAIL PROTECTED]:30:00

I chmod'ed sasldb to 600 and chown'ed it to root:wheel

Bye,

   Gernot Weber

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


sendmail auth problems

2003-02-23 Thread Gernot A. Weber
Hi,

I tried to configure sendmail to send my mail over a smtp-relayserver
which needs authentification. As it is described in the handbook, I
installed cyrus-sasl and rebuilt sendmail.

I added:
dnl set SASL options
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confDEF_AUTH_INFO', `/etc/mail/auth-info')dnl

to my .mc-file and created /etc/mail/auth-info containing:

login
login
password
relay-server

and did a chmod 600...

Starting sendmail gave me:

Feb 23 14:54:03 homer sm-mta[32122]: error: safesasl(/usr/local/etc/sa
sldb) failed: Group readable file
Feb 23 14:54:03 homer sm-mta[32123]: starting daemon (8.12.6): SMTP+qu
[EMAIL PROTECTED]:30:00
Feb 23 14:54:03 homer sm-msp-queue[32129]: starting daemon (8.12.6): q
[EMAIL PROTECTED]:30:00

in /var/log/maillog - so I added

define(`confDONT_BLAME_SENDMAIL', `GroupReadableSASLDBFile')dnl

to sendmail.mc, which ended up in:

Feb 23 14:56:12 homer sm-mta[32226]: error: safesasl(/usr/local/etc/sa
sldb) failed: Permission denied
Feb 23 14:56:12 homer sm-mta[32227]: starting daemon (8.12.6): SMTP+qu
[EMAIL PROTECTED]:30:00

As far as I know I don't really need sasldb to authenticate to a server,
so I added an extra line in mailertable to test the relaying.
Sending an e-mail to my work address ended up in:

stat=User unknown

Off course this user isn't known on the relay server. But what's wrong
with my config?

Thanks,

Gernot

--
Gernot A. Weber

http://www.tux-web.de
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Backups

2003-01-22 Thread Gernot A. Weber
 My question is for all the rsync fans. (I have installed and am reading man
 pages). What would you suggest for a command line in crone to completely
 mirror one disk to another (both local). Permissions, ownerships, hidden
 files etc etc etc.

Try:

rsync -vaHxS

and probably -e if you want to use ssh instead of rlogin.

Hope that helps,

Gernot Weber

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Power Off and Wake On Ring

2002-12-12 Thread Gernot A. Weber
Hi,

I need to power on my computer by the internal BIOS clock. No problem, if
I power off the machine with linux. But if I use halt -p out of freebsd it
halts and powers off, but it won't reboot to the time I specified in the
BIOS. Are there any compile options for APM or should I wait for ACPI in
5.0?

Thanks,

Gernot

--
Gernot A. Weber

http://www.tux-web.de
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message