Re: Problem with sendmail update

2012-08-03 Thread Matthew Seaman
On 02/08/2012 16:07, Mervyn Passmore wrote:
 We've made  installed 8.14.5 and both the new and old versions seem to be
 installed and running according to PS. Whatever is starting sendmail is
 initiating the old version.

If you're replacing the system sendmail with the version from ports,
then you need to update /etc/mail/mailer.conf -- something like this:

# $FreeBSD: stable/9/etc/mail/mailer.conf 93858 2002-04-05 04:25:14Z
gshapiro $
#
# Execute the real sendmail program, named /usr/local/sbin/sendmail
#
sendmail/usr/local/sbin/sendmail
send-mail   /usr/local/sbin/sendmail
mailq   /usr/local/sbin/sendmail
newaliases  /usr/local/sbin/sendmail
hoststat/usr/local/sbin/sendmail
purgestat   /usr/local/sbin/sendmail

Also, don't confuse the version of the sendmail from the config file
with the version in the binary -- both of them show up in the SMTP banner:

% telnet localhost smtp
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 smtp.infracaninophile.co.uk ESMTP Sendmail 8.14.5/8.14.5; Fri, 3 Aug
2012 09:34:40 +0100 (BST)
   ^
The first one is the version of the binaries, the second is the
configuration version, which you can easily change by modifying the
DZ8.14.5 line in sendmail.cf

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Problem with sendmail update

2012-08-02 Thread Mervyn Passmore
Hi,

Hope someone can help. we're stuck trying to update Sendmail from 8.14.3 to
8.14.5

We've made  installed 8.14.5 and both the new and old versions seem to be
installed and running according to PS. Whatever is starting sendmail is
initiating the old version.

How can we remove the 8.14.3 version or get the 8.14.5 version to run? Our
PCI compliance is failing due to issues with the old version.

Help much appreciated, 

Thanks

Mervyn



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: semi-problem starting sendmail

2009-12-09 Thread Giorgos Keramidas
On Tue, 8 Dec 2009 18:25:43 -0500, Robert Huff roberth...@rcn.com wrote:
 I just generated new keys using the method specified the the article
 recommended by Giorgos, and I get the same result.

Oops. I was hoping that would help, but it was only a wild guess by
looking at the error message and the Google hits I could find for
related threads.

As Chuck wrote, the error is coming from the TLS support code.  Can you
try the openssl commands he mentioned?

Date: Tue, 08 Dec 2009 23:33:07 +0200
From: Chuck Swiger cswi...@mac.com
Subject: Re: semi-problem starting sendmail
Message-id: d1adce71-7d5e-4e0d-ba3a-03b6e4af1...@mac.com

Well, the error is coming from /usr/src/contrib/sendmail/src/tls.c, and
depends on openssl to deal with your cert.  Does:

  openssl verify -verbose /etc/mail/CA/private/cakey.pem

...say anything interesting?  What about:

  openssl x509 -in /etc/mail/CA/private/cakey.pem -text
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


semi-problem starting sendmail

2009-12-08 Thread Robert Huff

When I start sendmail, this:

STARTTLS=server, error: 
SSL_CTX_use_PrivateKey_file(/etc/mail/CA/private/cakey.pem) failed

appears in the log.  The file exists and has permissions 0600.
What am I probably looking at, and how do I find more specific
information on the cause?

Respectfully,


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: semi-problem starting sendmail

2009-12-08 Thread Chuck Swiger
On Dec 8, 2009, at 9:42 AM, Robert Huff wrote:
 STARTTLS=server, error: 
 SSL_CTX_use_PrivateKey_file(/etc/mail/CA/private/cakey.pem) failed
 
   appears in the log.  The file exists and has permissions 0600.
   What am I probably looking at, and how do I find more specific 
 information on the cause?

Make sure none of the directories in that path have 022 perms (go+write).  From 
the main sendmail README:

Sendmail often gets blamed for many problems that are actually the
result of other problems, such as overly permissive modes on directories.
For this reason, sendmail checks the modes on system directories and
files to determine if they can be trusted.  For sendmail to run without
complaining, you MUST execute the following command:

chmod go-w / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue
chown root / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue

You will probably have to tweak this for your environment (for example,
some systems put the spool directory into /usr/spool instead of
/var/spool).  If you set the RunAsUser option in your sendmail.cf, the
/var/spool/mqueue directory will have to be owned by the RunAsUser user.
As a general rule, after you have compiled sendmail, run the command

sendmail -v -bi

to initialize the alias database.  If it gives messages such as

WARNING: writable directory /etc
WARNING: writable directory /var/spool/mqueue

then the directories listed have inappropriate write permissions and
should be secured to avoid various possible security attacks.

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: semi-problem starting sendmail

2009-12-08 Thread Robert Huff

Chuck Swiger writes:

   STARTTLS=server, error: 
 SSL_CTX_use_PrivateKey_file(/etc/mail/CA/private/cakey.pem) failed
   
  appears in the log.  The file exists and has permissions 0600.
  What am I probably looking at, and how do I find more specific 
 information on the cause?
  
  Make sure none of the directories in that path have 022 perms
  (go+write).

Checked, and not the problem.


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: semi-problem starting sendmail

2009-12-08 Thread Giorgos Keramidas
On Tue, 8 Dec 2009 12:42:27 -0500, Robert Huff roberth...@rcn.com wrote:
 When I start sendmail, this:

 STARTTLS=server, error: 
 SSL_CTX_use_PrivateKey_file(/etc/mail/CA/private/cakey.pem) failed

 appears in the log.  The file exists and has permissions 0600.  What
 am I probably looking at, and how do I find more specific information
 on the cause?

Hi Robert,

This article from Linux Journal may help a bit:

  http://www.linuxjournal.com/article/4823

It mentions generating the certificate with the -nodes option to avoid
an error exactly like the one you are quoting.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: semi-problem starting sendmail

2009-12-08 Thread Chuck Swiger
Hi--

On Dec 8, 2009, at 1:10 PM, Robert Huff wrote:
 Make sure none of the directories in that path have 022 perms
 (go+write).
 
   Checked, and not the problem.

Well, the error is coming from /usr/src/contrib/sendmail/src/tls.c, and depends 
on openssl to deal with your cert.  Does:

  openssl verify -verbose /etc/mail/CA/private/cakey.pem

...say anything interesting?  What about:

  openssl x509 -in /etc/mail/CA/private/cakey.pem -text

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: semi-problem starting sendmail

2009-12-08 Thread Robert Huff

I just generated new keys using the method specified the the
article recommended by Giorgos, and I get the same result.


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


problem with sendmail and su

2008-07-09 Thread Nicolas Letellier
Hello.

I use FreeBSD 7 with sendmail. I have a problem for sending email. More
precisely, with the sender of the mail.
When I'm logged to my machine in root, the mail is sent with
[EMAIL PROTECTED] with sender. OK, no problems.
When I'm logged to my machine in nicolas, the mail is sent with
[EMAIL PROTECTED] with sender. OK, no problems.

However, when I'm logged in nicolas to my machine, and if I do a su
root or su - root, and I send a mail, the sender will be
[EMAIL PROTECTED] and not [EMAIL PROTECTED].

It's a problem, because I done a su to be logged as root.

I don't have this problem with a FreeBSD/Postfix.

Thanks for your advices and helps. I don't understand this problem.

Regards,

-- 
 - Nicolas.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem with sendmail and su

2008-07-09 Thread Derek Ragona

At 05:44 AM 7/9/2008, Nicolas Letellier wrote:

Hello.

I use FreeBSD 7 with sendmail. I have a problem for sending email. More
precisely, with the sender of the mail.
When I'm logged to my machine in root, the mail is sent with
[EMAIL PROTECTED] with sender. OK, no problems.
When I'm logged to my machine in nicolas, the mail is sent with
[EMAIL PROTECTED] with sender. OK, no problems.

However, when I'm logged in nicolas to my machine, and if I do a su
root or su - root, and I send a mail, the sender will be
[EMAIL PROTECTED] and not [EMAIL PROTECTED].

It's a problem, because I done a su to be logged as root.

I don't have this problem with a FreeBSD/Postfix.

Thanks for your advices and helps. I don't understand this problem.

Regards,

--
 - Nicolas.


That is exactly working as designed.  The reason sendmail sends the mail as 
your actual login user is so you cannot spoof so easily.  If you have 
certain emails like system reports you are sending and want them sent as 
root, add them to roots crontab file.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem building sendmail+sasl FIXED

2005-09-24 Thread Michael Wang
May I ask how you were able to fix this problem?

 

Michael

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem building sendmail+sasl FIXED

2005-05-13 Thread Robert Huff

Karol Kwiatkowski writes:

  For what it's worth (since nobody replied yet) I've got these in
  make.conf (5.4-RELEASE, 5.2.1-5.3-R previously):
  
  SENDMAIL_CFLAGS+=   -I/usr/local/include -DSASL=2
  SENDMAIL_LDFLAGS+=  -L/usr/local/lib
  SENDMAIL_LDADD+=-lsasl2

This was part of what I was doing wrong, and led me to the
rest.
Thanks.

Robert Huff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem building sendmail+sasl

2005-05-12 Thread Robert Huff

I'm trying to add SASL to sendmail (more accurately, to make it
so it's done as part of the default sendmail build under -CURRENT).
I have:

1) installed cyrus-sasl-2.1.20_1
2) added

SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2

to /etc/make,conf
However, when I buildworld I get:

/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25: 
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29: 
sasl/saslutil.h: No such file or directory
In file included from 
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/sm_gethost.c:14:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25: 
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29: 
sasl/saslutil.h: No such file or directory
mkdep: compile failed
*** Error code 1


What have I overlooked?


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem building sendmail+sasl

2005-05-12 Thread Karol Kwiatkowski
Robert Huff wrote:
   I'm trying to add SASL to sendmail (more accurately, to make it
 so it's done as part of the default sendmail build under -CURRENT).
   I have:
 
   1) installed cyrus-sasl-2.1.20_1
   2) added
 
 SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL=2
 SENDMAIL_LDFLAGS=-L/usr/local/lib
 SENDMAIL_LDADD=-lsasl2
 
   to /etc/make,conf

For what it's worth (since nobody replied yet) I've got these in
make.conf (5.4-RELEASE, 5.2.1-5.3-R previously):

SENDMAIL_CFLAGS+=   -I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS+=  -L/usr/local/lib
SENDMAIL_LDADD+=-lsasl2

Sorry for the luck of details, I wrote that many months ago, but it
should give you a point to start.


Regards,

Karol

-- 
Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD-5.1 LMTP problem with sendmail-8.12.10 and cyrus-2.1.16

2004-01-16 Thread RJ45

Hello,
I write here because I Am really clueless.
there is a probem I have since a very long time which I Am not
able to solve.

I have now sendmail-8.12.10 and  cyrus-2.1.16

I have all the time a Connection refused to localhost error
like if the /var/imap/socket/lmtp cannot be
opened by sendmail but the file permissions are correct
that is root:cyrus.
 mailer=cyrusv2, relay=localhost, dsn=4.4.1, 
stat=Deferred: Connection refused by localhost


sometimes I have another error:
mailer=cyrusv2, pri=35544, relay=localhost, 
dsn=4.3.5, stat=Deferred: No such file or directory

but this has not a specific reason, it depends from time to time.
I Can reboot the system and it works or it just give me the above errors.
Once the system starts up with no error cyrus and sendmail will work
flawlessy, once I Reboot and the error above does occour sendmail+cyrus
won't ever work. THe same things of course happens starting cyrus
and sendmail by hand and killing them and  restart them again, sometimes
works sometimes not. This is a problem because my mailserver has to
serve for 500 users.

All the settings are corrects at my eyes
here are the directory permissions for cyrus:

/var/imap
drwxr-xr-x   3 cyrus  cyrus   512 Jan 13 11:33 certs
drwxr-xr-x   2 cyrus  cyrus   512 Jan 16 11:09 db
drwx--   2 cyrus  cyrus   512 Jan 16 11:09 db.backup1
drwx--   2 cyrus  cyrus   512 Jan 16 11:08 db.backup2
drwxr-xr-x   2 cyrus  cyrus   512 Jul  8  2003 db.backup3
-rw---   1 cyrus  cyrus  15663104 Jan 16 11:18 deliver.db
drwxr-xr-x   3 cyrus  cyrus  1024 Dec 16  2002 deliverdb
drwxr-xr-x   3 cyrus  cyrus  1024 Dec 16  2002 deliverdb.old
drwxr-xr-x   2 cyrus  cyrus   512 Dec 16  2002 log
drwxr-xr-t   2 cyrus  cyrus  9728 Dec 16  2002 lost+found
-rw---   1 cyrus  cyrus 36720 Dec 16  2002 mailboxes
-rw---   1 root   wheel 36720 Jan  8  2003 mailboxes.OK
-rw---   1 cyrus  cyrus229376 Jan 16 11:17 mailboxes.db
-rw---   1 root   wheel172032 Jan  8  2003 mailboxes.db.OK
-rw---   1 root   wheel163840 Dec 16  2002 mailboxes.db.bck
-rw---   1 cyrus  cyrus163840 Dec 16  2002 mailboxes.db.old
drwxr-xr-x   2 cyrus  cyrus   512 Dec 16  2002 msg
drwxr-xr-x   2 cyrus  cyrus 14336 Jan 16 11:18 proc
drwxr-xr-x  28 cyrus  cyrus   512 Dec 16  2002 quota
drwxr-xr-x  28 cyrus  cyrus   512 Dec 16  2002 sieve
drwxr-xr-x   2 cyrus  cyrus   512 Jan 16 11:09 socket
-rw---   1 cyrus  cyrus65 Dec 16  2002 ssrvtab
-rw---   1 cyrus  cyrus737280 Jan 16 11:18 tls_sessions.db
drwxr-xr-x  27 cyrus  cyrus   512 Dec 16  2002 user

here is /var/imap/socket

drwxr-xr-x   2 cyrus  cyrus  512 Jan 16 11:09 .
drwxr-xr-x  17 cyrus  cyrus  512 Jan 16 11:09 ..
-rw---   1 cyrus  cyrus0 Jan 16 10:47 imap-0.lock
-rw---   1 cyrus  cyrus0 Jan 16 10:47 imaps-0.lock
srwxrwxrwx   1 root   cyrus0 Jan 16 11:09 lmtp
-rw---   1 cyrus  cyrus0 Jan 16 11:00 lmtp-0.lock
-rw---   1 cyrus  cyrus0 Jan 16 11:09 lmtpunix-0.lock
-rw---   1 cyrus  cyrus0 Jan 16 10:47 pop3-0.lock
-rw---   1 cyrus  cyrus0 Jan 16 10:49 pop3s-0.lock


the /var/imap/socket/lmtp file is created by cyrus so I cannot understand
why sendmail gives me errors, I Really cannot figure out the permissions
are just fine.

Here is the sendmail configuration:

Mcyrusv2,  P=[IPC], F=lsDFMnqXzA@/:|m,
   S=EnvFromSMTP/HdrFromL, R=EnvToL/HdrToL, E=\r\n,
   T=DNS/RFC822/SMTP,
   A=FILE /var/imap/socket/lmtp

I don't really know anymore what to do with this problem.

Sometimes the problem disappears and sendmail+cyrus works,
sometimes it comes out. 

At the end I could solve the problem with this sendmail configuration:

Mcyrusv2,   P=/usr/local/cyrus/bin/deliver, F=lsDFMnqXzA@/:|m,
S=EnvFromSMTP/HdrFromL, R=EnvToL/HdrToL,
E=\r\n, T=DNS/RFC822/SMTP,
U=cyrus:cyrus,
A=deliver -e -m $h -- $u

so I Call directly the deliver program and I have no problem anymore.

I do not know why when I use lmtp I run always in the Connection
to localhost refused and sometimes I run into No such file or directory
but this happens randomly.

I am running sendmail+cyrus on FreeBSD-5.1

could it be a problem due to FreeBSD softupdates ?
I have soft updates enabled on the /var/imap and /var/spool/imap
partition.
THe partition is on a RAID10 storage system.

Could someone pelase give me at least some hints which could help me
to solve the problem?
I had the same problem also on a standard no-RAID disk always
FreeBSD.

I also tryed 

O DefaultUser=cyrus:cyrus 

for sendmail but also  this did not help me.
So I have no clue anymore.

thanks

Rick





___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with Sendmail installation on FBSD 4.8REL

2003-08-01 Thread Jamie

   I've installed Sendmail 8.12.9 on 4.8 RELEASE with sasl library support
from the ports collection. The install put the binary in
/usr/sbin/sendmail. It didn't update /usr/libexec/sendmail/sendmail.

   So, when I started sendmail, sasl support worked fine, but when I ran
any commands which are links to /usr/libexec/sendmail/sendmail such as
hoststat, it complained that sasl was not supported.

   To fix this, I just copied /usr/sbin/sendmail to
/usr/libexec/sendmail/sendmail and everything seems fine.


   Is there something wrong with the port, or did I flub something up
during the install? Is my workaround okay, or is my fix going to create
problems elsewhere?

   Thanks,
   - Jamie



A friend is someone who lets you have total freedom to be yourself.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with sendmail

2002-10-18 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-10-17 07:58:48 -0400:
 On Thu, 17 Oct 2002, Ada Cheng wrote:
  On Wed, 16 Oct 2002, Dirk Meyer wrote:
   Ada Cheng schrieb:,
I am unable to receive any email send to my box.  I am running
4.6.2 with sendmail 8.12.6_1.

When I try to send a test mail to another source which I then
redirect back to my box I obtain the following message in

Oct 16 15:56:10 infinity mail.local: setreuid(0, 1000): Operation not 
permitted (r=1, e=1)
   
   Please add in your sendmail.mc file:
   
   MODIFY_MAILER_FLAGS(`LOCAL', `+S')dnl
   
   mail.local is not SUID, so sendmail must start it as root.

  I have added the line recommended below but I am still getting a
  similiar error, except now I have
  Oct 17 05:43:38 infinity mail.local: setreuid(0, 0): Operation not permitted (r=1, 
e=1)

 I realize what my problem was.  I didn't reboot the system after I
 rebuild sendmail.  Thanks everyone!!

That was pretty lame.

How did you rebuilt sendmail? By issuing `make install` in
/etc/mail? Do you realize the Makefile contained therein is a
plaintext, commented, quite easily understandable file?

If you skimmed it you would have realized adding the 'restart'
target to the make command would have done just what you needed
without taking down the whole box.

-- 
If you cc me or take the list(s) out completely I'll most likely
ignore your message.

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



Re: Problem with sendmail

2002-10-18 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-10-18 10:58:13 -0400:
   I realize what my problem was.  I didn't reboot the system after I
   rebuild sendmail.  Thanks everyone!!
  
  That was pretty lame.
 
 No piling on!  
 They feel foolish for missing it already.
 Unsportsman like conduct penalty.

erm, i didn't mean to insult / poke fun at anyone. i just wrote
what i felt was the best description of the action.

-- 
If you cc me or take the list(s) out completely I'll most likely
ignore your message.

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



Re: Problem with sendmail

2002-10-17 Thread Ada Cheng

I have added the line recommended below but I am still getting a similiar
error, except now I have
Oct 17 05:43:38 infinity mail.local: setreuid(0, 0): Operation not
permitted (r=1, e=1)
 
So I decided to look for the file mail.local and notice the following:
-r-xr-xr-x  1 bin  bin  73967 Oct 16 12:28 /usr/local/libexec/mail.local
 
I also have mail.local at /usr/libexec/ /usr/local/bin/ but those two
mail.local file has ownership root and group wheel.  Shouldn't all have
them have ownership root and group wheel?
 
Many thanks once again.

Ada
On Wed, 16 Oct 2002, Dirk Meyer wrote:

 Ada Cheng schrieb:,
 
  I am unable to receive any email send to my box.  I am running 4.6.2 with
  sendmail 8.12.6_1.
  
  When I try to send a test mail to another source which I then redirect
  back to my box I obtain the following message in
 
  Oct 16 15:56:10 infinity mail.local: setreuid(0, 1000): Operation not permitted 
(r=1, e=1)
 
 Please add in your sendmail.mc file:
 
 MODIFY_MAILER_FLAGS(`LOCAL', `+S')dnl
 
 mail.local is not SUID, so sendmail must start it as root.
 
 kind regards Dirk
 
 - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
 - [[EMAIL PROTECTED]],[[EMAIL PROTECTED]],[[EMAIL PROTECTED]]
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 



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



Re: Problem with sendmail

2002-10-17 Thread Ada Cheng
I realize what my problem was.  I didn't reboot the system after I
rebuild sendmail.  Thanks everyone!!

Cheers,
Ada
On Thu, 17 Oct 2002, Ada Cheng wrote:

 I have added the line recommended below but I am still getting a similiar
 error, except now I have
 Oct 17 05:43:38 infinity mail.local: setreuid(0, 0): Operation not
 permitted (r=1, e=1)
  
 So I decided to look for the file mail.local and notice the following:
 -r-xr-xr-x  1 bin  bin  73967 Oct 16 12:28 /usr/local/libexec/mail.local
  
 I also have mail.local at /usr/libexec/ /usr/local/bin/ but those two
 mail.local file has ownership root and group wheel.  Shouldn't all have
 them have ownership root and group wheel?
  
 Many thanks once again.
 
 Ada
 On Wed, 16 Oct 2002, Dirk Meyer wrote:
 
  Ada Cheng schrieb:,
  
   I am unable to receive any email send to my box.  I am running 4.6.2 with
   sendmail 8.12.6_1.
   
   When I try to send a test mail to another source which I then redirect
   back to my box I obtain the following message in
  
   Oct 16 15:56:10 infinity mail.local: setreuid(0, 1000): Operation not permitted 
(r=1, e=1)
  
  Please add in your sendmail.mc file:
  
  MODIFY_MAILER_FLAGS(`LOCAL', `+S')dnl
  
  mail.local is not SUID, so sendmail must start it as root.
  
  kind regards Dirk
  
  - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
  - [[EMAIL PROTECTED]],[[EMAIL PROTECTED]],[[EMAIL PROTECTED]]
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
  
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 



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



RE: Problem with sendmail

2002-10-17 Thread Barry Byrne
Ada:

Reboot of the whole system is not necessary:

killall -HUP sendmail

should restart sendmail for you.

Cheers,

Barry

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:owner-freebsd-questions;FreeBSD.ORG]On Behalf Of Ada Cheng
 Sent: 17 October 2002 12:59
 To: Dirk Meyer
 Cc: [EMAIL PROTECTED]
 Subject: Re: Problem with sendmail


 I realize what my problem was.  I didn't reboot the system after I
 rebuild sendmail.  Thanks everyone!!

 Cheers,
 Ada
 On Thu, 17 Oct 2002, Ada Cheng wrote:

  I have added the line recommended below but I am still getting
 a similiar
  error, except now I have
  Oct 17 05:43:38 infinity mail.local: setreuid(0, 0): Operation not
  permitted (r=1, e=1)
 
  So I decided to look for the file mail.local and notice the following:
  -r-xr-xr-x  1 bin  bin  73967 Oct 16 12:28 /usr/local/libexec/mail.local
 
  I also have mail.local at /usr/libexec/ /usr/local/bin/ but those two
  mail.local file has ownership root and group wheel.  Shouldn't all have
  them have ownership root and group wheel?
 
  Many thanks once again.
 
  Ada
  On Wed, 16 Oct 2002, Dirk Meyer wrote:
 
   Ada Cheng schrieb:,
  
I am unable to receive any email send to my box.  I am
 running 4.6.2 with
sendmail 8.12.6_1.
   
When I try to send a test mail to another source which I
 then redirect
back to my box I obtain the following message in
  
Oct 16 15:56:10 infinity mail.local: setreuid(0, 1000):
 Operation not permitted (r=1, e=1)
  
   Please add in your sendmail.mc file:
  
   MODIFY_MAILER_FLAGS(`LOCAL', `+S')dnl
  
   mail.local is not SUID, so sendmail must start it as root.
  
   kind regards Dirk
  
   - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
   -
 [[EMAIL PROTECTED]],[[EMAIL PROTECTED]],[[EMAIL PROTECTED]]
  
   To Unsubscribe: send mail to [EMAIL PROTECTED]
   with unsubscribe freebsd-questions in the body of the message
  
 
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 



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



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



Problem with sendmail

2002-10-16 Thread Ada Cheng

I am unable to receive any email send to my box.  I am running 4.6.2 with
sendmail 8.12.6_1.

When I try to send a test mail to another source which I then redirect
back to my box I obtain the following message in


/var/log/maillog

Oct 16 15:56:09 infinity sendmail[947]: g9GJu9Ow000947: from=[EMAIL PROTECTED], 
size=707, class=0, nrcpts=1,
msgid=[EMAIL PROTECTED],proto=ESMTP, 
relay=acheng@localhost
Oct 16 15:56:09 infinity sm-mta[950]: g9GJu9rH000950: from=[EMAIL PROTECTED], 
size=1016, class=0, nrcpts=1,
msgid=[EMAIL PROTECTED], proto=ESMTP,
daemon=MTA, relay=localhost.kettering.edu [127.0.0.1]
Oct 16 15:56:09 infinity sendmail[949]: g9GJu9Ow000947: to=[EMAIL PROTECTED], 
delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=30297, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent
(g9GJu9rH000950 Message accepted for delivery)
Oct 16 15:56:10 infinity sm-mta[952]: g9GJu9rH000950: to=[EMAIL PROTECTED], 
delay=00:00:01, xdelay=00:00:01, mailer=relay,
pri=30606, relay=mailhost.kettering.edu [192.138.137.2], dsn=2.0.0,
stat=Sent (g9GJruw23876 Message accepted for delivery)
Oct 16 15:56:10 infinity sm-mta[953]: g9GJuArH000953: from=[EMAIL PROTECTED], 
size=1482, class=0, nrcpts=1,
msgid=[EMAIL PROTECTED], proto=ESMTP,
daemon=MTA, relay=nova.kettering.edu [192.138.137.2]
Oct 16 15:56:10 infinity mail.local: setreuid(0, 1000): Operation not permitted (r=1, 
e=1)
Oct 16 15:56:10 infinity sm-mta[954]: g9GJuArH000953: 
to=[EMAIL PROTECTED], delay=00:00:00, xdelay=00:00:00,
mailer=local, pri=31744, dsn=5.0.0, stat=Service unavailable
Oct 16 15:56:10 infinity sm-mta[954]: g9GJuArH000953: g9GJuArH000954: DSN: Service 
unavailable
Oct 16 15:56:11 infinity sm-mta[954]: g9GJuArH000954: to=[EMAIL PROTECTED], 
delay=00:00:01, xdelay=00:00:01, mailer=relay,
pri=32768, relay=mailhost.kettering.edu [192.138.137.2], dsn=2.0.0, stat=Sent 
(g9GJrvw23884 Message accepted for delivery)
Oct 16 15:56:16 infinity sm-mta[957]: g9GJuGrH000957: from=, size=4067, class=0, 
nrcpts=1,
msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=MTA, 
relay=nova.kettering.edu [192.138.137.2]
Oct 16 15:56:16 infinity mail.local: setreuid(0, 1000): Operation not permitted (r=1, 
e=1)
Oct 16 15:56:16 infinity sm-mta[958]: g9GJuGrH000957: 
to=[EMAIL PROTECTED], delay=00:00:00, xdelay=00:00:00,
mailer=local, pri=34289, dsn=5.0.0, stat=Service unavailable
Oct 16 15:56:16 infinity sm-mta[958]: g9GJuGrH000957: g9GJuGrH000958: postmaster 
notify: Service unavailable
Oct 16 15:56:16 infinity mail.local: setreuid(0, 0): Operation not permitted (r=1, e=1)
Oct 16 15:56:16 infinity sm-mta[958]: g9GJuGrH000958: to=root, delay=00:00:00, 
xdelay=00:00:00, mailer=local, pri=35313, dsn=5.0.0,
stat=Service unavailable
Oct 16 15:56:16 infinity sm-mta[958]: g9GJuGrH000958: g9GJuGrI000958: return to 
sender: Service unavailable
Oct 16 15:56:16 infinity mail.local: setreuid(0, 0): Operation not permitted (r=1, e=1)
Oct 16 15:56:16 infinity sm-mta[958]: g9GJuGrI000958: to=root, delay=00:00:00, 
xdelay=00:00:00, mailer=local, pri=36337, dsn=5.0.0,
stat=Service unavailable
Oct 16 15:56:16 infinity sm-mta[958]: g9GJuGrH000958: Losing ./qfg9GJuGrH000958: 
savemail panic
Oct 16 15:56:16 infinity sm-mta[958]: g9GJuGrH000958: SYSERR(root): savemail: cannot 
save rejected email anywhere

- And the following message in /var/log/messages

Oct 16 15:56:16 infinity sm-mta[958]: g9GJuGrH000958: Losing ./qfg9GJuGrH000958: 
savemail panic
Oct 16 15:56:16 infinity sm-mta[958]: g9GJuGrH000958: SYSERR(root): savemail: cannot 
save rejected email anywhere



- When I run sendmail -bv -d0.12 postmaster, I obtained the following output:

Version 8.12.6
 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING
SCANF
TCPWRAPPERS USERDB XDEBUG
OS Defines: BSD4_4_SOCKADDR HASFCHOWN HASFCHMOD HASFLOCK
HASGETDTABLESIZE HASGETUSERSHELL HASINITGROUPS HASLSTAT
HASNICE
HASRANDOM HASRRESVPORT HASSETLOGIN HASSETREUID
HASSETRLIMIT
HASSETSID HASSETUSERCONTEXT HASSETVBUF HAS_ST_GEN
HASSRANDOMDEV
HASURANDOMDEV HASSTRERROR HASUNAME HASUNSETENV HASWAITPID
IDENTPROTO IP_SRCROUTE LOCK_ON_OPEN SAFENFSPATHCONF
USE_DOUBLE_FORK USESETEUID USESYSCTL
Kernel symbols: don't use _PATH_UNIX
 Conf file: /etc/mail/submit.cf (default for MSP)
 Conf file: /etc/mail/sendmail.cf (default for MTA)
  Pid file: /var/run/sendmail.pid (default)
 libsm Defines: SM_CONF_GETOPT SM_CONF_LONGLONG SM_CONF_MEMCHR
SM_CONF_MSG SM_CONF_SEM SM_CONF_SETITIMER SM_CONF_SHM
SM_CONF_SSIZE_T SM_CONF_STDDEF_H SM_CONF_SYS_CDEFS_H
SM_CONF_UID_GID SM_HEAP_CHECK SM_OS=sm_os_freebsd
SM_VA_STD
Canonical name: infinity.kettering.edu
a.k.a.: infinity
 UUCP nodename: infinity.kettering.edu
a.k.a.: infinity
a.k.a.: [198.110.5.123]
a.k.a.: [IPv6:fe80::206:5bff:fe87:39ed]
 

Problem with Sendmail or pop3d

2002-09-24 Thread Peter Rosa

Hi all,

please advice with small problem.
I have the gateway running FreeBSD 4.3 with sendmail and pop3d.
It seems to slow down all downloads of localy saved mails.
Two months ago I can download eg. 5MB mail up to 15 secs,
now it is about 2-3 mins. It is still worse and worse :-(((

Where could be the problem ?

Thanks for all replies.

Peter Rosa


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