maillog logging level
Billy A. Pumphrey
bpumphrey at WOODMACLAW.COM
Mon May 2 17:59:16 IST 2005
[ The following text is in the "iso-8859-1" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
-----------------------
Sendmail listened on 127.0.0.1 only
-----------------------
That helped. Sendmail is only listening on the local ip address.
If I do telnet server 25 on the local machine I get in, if I do it from another machine it doesn't work.
I found this:
http://www.aei.ca/~pmatulis/pub/sendmail-intro.html#address
I changed this:
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
To:
O DaemonPortOptions=Port=smtp, Name=MTA
Now if I do a lsof -I 4tcp:25 -nP I get:
I got this to finally work where this command returns:
[root at WoodenMS domain]# lsof -i 4tcp:25 -nP
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sendmail 8406 root 4u IPv4 240247 TCP *:25 (LISTEN)
So it looks like sendmail is listening to all ip address now instead of just 127.0.0.1 like it was before.
-----------------------
MailScanner restart error
-----------------------
I have now messed something up to where I do a MailScanner restart I get the following:
[root at WoodenMS domain]# service MailScanner restart
Shutting down MailScanner daemons:
MailScanner: OK ]
incoming sendmail: OK ]
outgoing sendmail: OK ]
Starting MailScanner daemons:
incoming sendmail: Warning: Option: AuthOptions requires SASL support (
-DSASL)
OK ]
outgoing sendmail: Warning: Option: AuthOptions requires SASL support (
-DSASL)
OK ]
MailScanner: OK ]
I looked in the sendmail.mc file and seen options where to turn it off. I am looking at configs and searching the net at the moment to try and figure this on out, however if there is a easy answer please tell me :)
-----------------------
M4 command
-----------------------
Between a combination of not seeing that my command of m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf working and going ahead and going against the rules and editing the sendmail.cf directly.
What is the proper command to use the sendmail.mc?
Billy Pumphrey
IT Manager
Wooden & McLaughlin
> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of Steen, Glenn
> Sent: Sunday, May 01, 2005 11:27 AM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: SV: maillog logging level
>
> Ok, so there we are....telnet has revealed that you cannot make a
> connection. Do you get a connection refused type message?
> Probable causes:
> - You are running a firewall on the new MS machine that is blocking port
> 25 (this would probably be visible in the messages log or similar). Fix is
> to trim it so that it lets port 25/tcp through... "iptables -L" might show
> something (perhaps look at nat too)
> - Your sendmail isn't listening to the interface... This might be because
> a) you are telneting locally, and sendmail doesn't listen to localhost, or
> b) you are telneting from a remote host, but sendmail is only listening to
> the localhost. Look at your sendmail.mc and/or sendmail.cf (I'm no guru
> here, but perhaps someone else could help.... Perhaps something with the
> DaemonOptions or whatever).
> - Your sendmail is severly missconfigured and bombs out on any
> connection.....Yay!-). Would probably be visible in the logs, and perhaps
> leave corefile(s) behind...
>
> HtH
>
> -- Glenn
> .
>
> -----Ursprungligt meddelande-----
> Från: MailScanner mailing list genom Billy A. Pumphrey
> Skickat: fr 2005-04-29 17:49
> Till: MAILSCANNER at JISCMAIL.AC.UK
> Kopia:
> Ämne: Re: maillog logging level
>
>
>
> ---
> NOTE: I erased the rest of the message to get by the "looks like a
> script" error"
> ---
>
> Ok, telnet
>
> To make it clear, I have a new MailScanner machine (the one that I
> am
> trying to get working) and the one in production that is out of date
> on
> software and hardware.
>
> Anyway, I know that sendmail is having problems because when I
> telnet to
> the new one it looks like it tries and just comes back to the
> command
> prompt. If I telnet to the old one a connection is made and shows
> some
> stuff.
>
> Now,
> Should I just reinstall sendmail on top of mine or something? I
> installed sendmail by selecting the package when installing
> centos4.0.
> The service appears to be running ok. I did the ch config that the
> book
> and web site talks about. A service MailScanner restart reads
> fine
> for the services starting (outgoing and incoming sendmail starts
> fine).
> If I look at the running services it has 1 sendmail running (under
> user
> smmsp) which is the one that is suppose to be running isn't it?
>
> I was comparing the service --status-all command between the 2
> machines.
> The services looks the same as far as MailScanner and sendmail look.
> There is a sendmail running on each, and MailScanner running
> (MailScanner,incoming sendmail, outgoing sendmail)
>
>
>
> Billy Pumphrey
> IT Manager
> Wooden & McLaughlin
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the Wiki (http://wiki.mailscanner.info/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> Support MailScanner development - buy the book off the website!
>
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list