Sendmail questions

2004-02-09 Thread Jason Williams
Morning everyone.

I have a few questions in general about Sendmail and a few in regards to 
sendmail on FreeBSD.
(NOTE: I do use postfix for a lot of my mail servers, but for one 
particular instance, I need to use Sendmail.)

My first question is about resources for learning Sendmail. I currently 
have the Bat book and have been using it to work my around sendmail, but 
the learning curve is pretty steep and im looking for other resources as 
well. Does anyone recommend any web sites other books that can help start 
the learning process for sendmail? I can be quite trivial at times. :)

Second question is in regards to Sendmail on FreeBSD. I'm currently running 
FreeBSD 4.9 and the version that comes shipped with 4.9 is 8.12.9p I believe.

I want to know what is the best way to go about upgrading sendmail on 
FreeBSD boxes? Is it better to build sendmail out of the ports tree?
Or, is it better to d/l the source and compile it manually.

Is there a difference? Is one better than the other?

I appreciate the help.

Jason

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


Re: Sendmail questions

2004-02-09 Thread Alex de Kruijff
On Mon, Feb 09, 2004 at 10:14:29AM -0800, Jason Williams wrote:
 Morning everyone.
 
 I have a few questions in general about Sendmail and a few in regards to 
 sendmail on FreeBSD.
 (NOTE: I do use postfix for a lot of my mail servers, but for one 
 particular instance, I need to use Sendmail.)
 
 My first question is about resources for learning Sendmail. I currently 
 have the Bat book and have been using it to work my around sendmail, but 
 the learning curve is pretty steep and im looking for other resources as 
 well. Does anyone recommend any web sites other books that can help start 
 the learning process for sendmail? I can be quite trivial at times. :)
 
 Second question is in regards to Sendmail on FreeBSD. I'm currently running 
 FreeBSD 4.9 and the version that comes shipped with 4.9 is 8.12.9p I 
 believe.
 
 I want to know what is the best way to go about upgrading sendmail on 
 FreeBSD boxes? Is it better to build sendmail out of the ports tree?
 Or, is it better to d/l the source and compile it manually.
 
 Is there a difference? Is one better than the other?
 
 I appreciate the help.
 
 Jason

Dear Jason,

To answer your first question: I usaly go to www.sendmail.org; I did 
find this website hard to follow the first couple of time. So this 
may also be the case for you.

To anser you second question: The difference is that the port version 
is more up to date. I personaly stick with the the default, unleas I
have reason to do otherwise. I have trust in the FreeBSD team and 
update the base system when this is needed so i'm not wurried about the 
securty.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sendmail questions

2004-02-09 Thread Cordula's Web
 My first question is about resources for learning Sendmail. I currently 
 have the Bat book and have been using it to work my around sendmail, but 
 the learning curve is pretty steep and im looking for other resources as 
 well. Does anyone recommend any web sites other books that can help start 
 the learning process for sendmail? I can be quite trivial at times. :)

sendmail Cookbook by Craig Hunt (O'Reilly) is great if you want to
learn-by-examples.

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: Sendmail questions

2003-03-25 Thread Andreas Widerøe Andersen
At 02:09 25.03.2003 +0200, you wrote:
On 2003-03-24 15:14, Andreas Wider?e Andersen [EMAIL PROTECTED] wrote:
 I've got two questions:

 1. I've been getting this error all day on both of my FreeBSD
 servers (different physic location and version - 4.7 STABLE and 4.8
 RC): ... did not issue MAIL/EXPN/VRFY/ETRN during connection to
 MTA. I'm seing this in my /var/log/maillog file and since the
 problems occured around 04.30 this morning I haven't received any
 mails. Can anyone please explain to me what's going on? Both servers
 have been delivering mail for a long problem-free time. I'm running
 Sendmail 8.12.7 (patched) and 8.12.8.
What's the deal with the two different version numbers?  Are you
running two different Sendmail versions on the same machine?
No, they are on 2 different servers.

 2. When the mail server isn't sending out mail or relaying, all mail
 sent from localhost end up in here: /var/spool/clientmqueue. How can
 I manually send these mails off later?
It looks like one of the sendmail processes that should runn on your
system for mail to work somehow dies.
What does this show?

# ps xauww | grep sendmail


root 484  0.0  0.3  2784 1660  ??  Ss6:07PM   0:03.47 sendmail: 
accepting connections (sendmail)
smmsp495  0.0  0.3  2656 1552  ??  Is6:08PM   0:00.05 sendmail: 
Queue [EMAIL PROTECTED]:30:00 for /var/spool/clientmqueue (sendmail)

I got the problem solved.
What solved the problem for me was to remove all the dnsbl
blacklistings, recompile the cf file and restart my Sendmail. Now it
works fine again. I will let things calm down before I start adding
those dnsbls again.
I wasn't the only one getting this problem, and all of us got it fixed by 
removing dnsbl features.

/Andreas



---
Andreas Widerøe Andersen [EMAIL PROTECTED]
Pragma AS
http://www.pragma.no 

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


Sendmail questions

2003-03-24 Thread Andreas Widerøe Andersen
I've got two questions:

1. I've been getting this error all day on both of my FreeBSD servers 
(different physic location and version - 4.7 STABLE and 4.8 RC): ... did 
not issue MAIL/EXPN/VRFY/ETRN during connection to MTA. I'm seing this in 
my /var/log/maillog file and since the problems occured around 04.30 this 
morning I haven't received any mails. Can anyone please explain to me 
what's going on? Both servers have been delivering mail for a long 
problem-free time. I'm running Sendmail 8.12.7 (patched) and 8.12.8.

2. When the mail server isn't sending out mail or relaying, all mail sent 
from localhost end up in here: /var/spool/clientmqueue. How can I manually 
send these mails off later?

Thanks!
Andreas
---
Andreas Widerøe Andersen [EMAIL PROTECTED]
Pragma AS
http://www.pragma.no 

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


Re: Sendmail questions

2003-03-24 Thread Giorgos Keramidas
On 2003-03-24 15:14, Andreas Wider?e Andersen [EMAIL PROTECTED] wrote:
 I've got two questions:

 1. I've been getting this error all day on both of my FreeBSD
 servers (different physic location and version - 4.7 STABLE and 4.8
 RC): ... did not issue MAIL/EXPN/VRFY/ETRN during connection to
 MTA. I'm seing this in my /var/log/maillog file and since the
 problems occured around 04.30 this morning I haven't received any
 mails. Can anyone please explain to me what's going on? Both servers
 have been delivering mail for a long problem-free time. I'm running
 Sendmail 8.12.7 (patched) and 8.12.8.

What's the deal with the two different version numbers?  Are you
running two different Sendmail versions on the same machine?

 2. When the mail server isn't sending out mail or relaying, all mail
 sent from localhost end up in here: /var/spool/clientmqueue. How can
 I manually send these mails off later?

It looks like one of the sendmail processes that should runn on your
system for mail to work somehow dies.

What does this show?

# ps xauww | grep sendmail

- Giorgos


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


Re: Sendmail questions

2003-03-24 Thread Jeff Jirsa
On Mon, 24 Mar 2003, Andreas [iso-8859-1] Widerøe Andersen wrote:

 I've got two questions:

 1. I've been getting this error all day on both of my FreeBSD servers
 (different physic location and version - 4.7 STABLE and 4.8 RC): ... did
 not issue MAIL/EXPN/VRFY/ETRN during connection to MTA. I'm seing this in
 my /var/log/maillog file and since the problems occured around 04.30 this
 morning I haven't received any mails. Can anyone please explain to me
 what's going on? Both servers have been delivering mail for a long
 problem-free time. I'm running Sendmail 8.12.7 (patched) and 8.12.8.

I see errors like this when people telnet to port 25 and don't do
anything (usually me, checking the version in the banner that's printed).
It's not usually a problem, and I would guess is probably not related to
sendmail dying. Can you simply restart sendmail (sendmail -bd -q1h and
sendmail -Ac -q1h), or will it not restart?

 2. When the mail server isn't sending out mail or relaying, all mail sent
 from localhost end up in here: /var/spool/clientmqueue. How can I manually
 send these mails off later?

Run sendmail -Ac -q1h. This will scan /var/spool/clientmqueue every hour
and flush out anything that's there. If I had a 4.x box around here, I
could give you better instructions to make it start at boot (in 5.0,
sendmail_msp_queue_enable defaults to YES, and rc starts that daemon; I'm
not sure how 4.x handles it).

- Jeff Jirsa


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


Re: Sendmail questions

2002-11-06 Thread Matthew Seaman
On Wed, Nov 06, 2002 at 05:49:17PM +0700, budsz wrote:

 OK, If I turn off this option (daily_submit_queuerun) of couse error
 message doen't apparent but this step lessen information right?. How if
 change queue sendmail system to queue qmail system. This purpose is I'll 
 get cron message from queue qmail system. It's possible sir?

If you're using qmail, there's no such thing as a 'submit' mail queue
--- qmail is all in one like sendmail used to be.  So turning off
this report doesn't lose you anything at all.
 
 Anyway I found sendmail submit or other option sendmail in (/etc/default/rc.conf) 
 for new version FreeBSD, Before this, I use FreeBSD 4.6 STABLE, 
 I didn't found this option. So this utilities for what..?

Yes --- this is a new feature in sendmail, imported into FreeBSD
around March 2002 (which was between 4.5-RELEASE and 4.6-RELEASE
actually).  The sendmail functionality has been divided between two
processes: sm-msp, the Mail Submission Process and sm-mta, the Mail
Transport Agent.  This means that the sendmail binary no-longer needs
to be SUID root.

See http://www.sendmail.org/%7Eca/email/doc8.12/SECURITY for a fuller
explanation.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



Sendmail questions

2002-11-05 Thread budsz
Hi,

I got some message from cron daemon like:

---cut
Mail in local queue:

Mail in submit queue:
mailq: illegal option -- A
sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname] [ -bp ] [ -bs ]
[ arg... ]
---cut

Whereas I was try to disable sendmail daemon from /etc/rc.conf like:

---cut
# Settings for /etc/rc.sendmail:
sendmail_enable=NONE  # Run the sendmail inbound daemon (YES/NO/NONE).
sendmail_flags=-L sm-mta -bd -q30m # Flags to sendmail (as a server)
sendmail_submit_enable=NO # Start a localhost-only MTA for mail submission
sendmail_submit_flags=-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost
sendmail_outbound_enable=NO   # Dequeue stuck mail (YES/NO).
sendmail_outbound_flags=-L sm-queue -q30m # Flags to sendmail (outbound only)
sendmail_msp_queue_enable=NO  # Dequeue stuck clientmqueue mail (YES/NO).
sendmail_msp_queue_flags=-L sm-msp-queue -Ac -q30m # Flags for sendmail_msp_queue 
daemon.
---cut

How to resolve this problem?

PS : Now I use qmail system for email.

TIA


-- 
budsz

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