07-01-2011
Well, don't launch sendmail -bd, the usual mail server app. You can block a listening port with some mechanisms, like firewall SW jammed in the stack beside the NICs.
netstat -a will show any connections, but mail is a short connection protocol, like http/1.0 not persistent. lsof will tell you about every open fd on the system, including sockets. Sendmail logs somewhere, check the man page, config files.
10 More Discussions You Might Find Interesting
1. Linux
Hi gurus!
I need help to make sendmail to accept unknown user mail. That is if the user does not exist sendmail keep on processing the mail and store it in a some mailbox ...
Thanks for any idea! (5 Replies)
Discussion started by: andryk
5 Replies
2. Solaris
Hi,
yesterday I had issues, sendmail was not responding quickly while sending email and users did not receive any email,
This happened with sendmail on solaris 10 and also with sendmail on a linux box.
Found it is something to do with DNS blacklists,
following lists did not work for me,... (2 Replies)
Discussion started by: upengan78
2 Replies
3. UNIX for Dummies Questions & Answers
Hi Team,
I have a script written to sendmail along with attachment in html format.
The code is
export MAILFROM="abc@abc.com"
export MAILTO="abc@abc.com"
export CONTENT="./GRP_SPI_ERR.html"
export SUBJECT="TEST EMAIL: TESTING HTML"
{
print - "From: $MAILFROM"
print - "To: ${MAILTO}"... (3 Replies)
Discussion started by: Vinaykumar1
3 Replies
4. Solaris
Hi, Guru
i had configure in my two server to send out the email.
One of the server able to send in the reasonable timing. but another not, it delay almost one day or two days but mostly not send at all.
below is the syslog when i try to send out the mail.
GOOD Server
Dec 28 11:29:39... (5 Replies)
Discussion started by: SmartAntz
5 Replies
5. Solaris
Hi all,
we are using solaris 10. we need to increase every users mail boxes size as all users mail boxes got filled..Please help..its urgent..
Thanks in advance.. (1 Reply)
Discussion started by: bpsunadm
1 Replies
6. Red Hat
Hi Gurus,
I have been tampering around with sendmail for the past one week and seem to make little progress. Given below is an abstract of the issue.
I have a Fedora 12 server(A VM on vitual Box bridged with a Windows XP host) which has to act as a SMTP server and have accordingly put up the... (8 Replies)
Discussion started by: Hari_Ganesh
8 Replies
7. Red Hat
Hi Every One,
one of our server configuration on sendmail config
we are using SMAR_HOST
###
define(`SMART_HOST', 'mail.xxx.com')
and /etc/sysconfig/sednmail DAEMON is setted to NO
so let me know why sendmail is not working for this server
any this else u need please do let me know (0 Replies)
Discussion started by: venikathir
0 Replies
8. UNIX for Advanced & Expert Users
One of the applications sends mail to the users on daily basis. It sends mail within (internal users) the firewall (e.g., username@companyname.com) and not sending mail outside (external users) the firewall (e.g., username@yyyy.com). When we contacted the admin people they informed us to register... (5 Replies)
Discussion started by: abuibi
5 Replies
9. Emergency UNIX and Linux Support
Hi,
I'm using sendmail version 8.13.8-8.1.el5_7. I'm pretty new to it. The servera are running RHEL 5.8. My question basically is that I would want to know is there a way to change the from address. I would be able to change it using the return address in mailx command. However I would like to... (3 Replies)
Discussion started by: maverick_here
3 Replies
10. Red Hat
Dear All ,
I have some problem in Sendmail , where it was sending mails perfectly fine with the Ip address of the client machine.
But suddenly there was an issue , the SMTP takes the IP of the bond1 interface.
So the IP could not get validated in the relay server.
So how should i send... (1 Reply)
Discussion started by: jegaraman
1 Replies
LEARN ABOUT SUSE
sockstat
SOCKSTAT(1) BSD General Commands Manual SOCKSTAT(1)
NAME
sockstat -- list open sockets
SYNOPSIS
sockstat [-clh] [-p ports] [-P pid|process] [-U uid|user] [-G gid|group]
DESCRIPTION
The sockstat command lists open Internet or UNIX domain sockets.
The following options are available:
-c Show connected sockets.
-l Show listening sockets.
-h Show a usage summary.
-p ports Only show Internet sockets if either the local or foreign port number is on the specified list. The ports argument is a comma-
separated list of port numbers and ranges specified as first and last port separated by a dash.
-P pid|process
Only show sockets of the specified pid|process. The pid|process argument is a process name or pid.
-U uid|user
Only show sockets of the specified uid|user. The uid|user argument is a username or uid.
-G gid|group
Only show sockets of the specified gid|group. The gid|group argument is a groupname or gid.
If neither -c or -l is specified, sockstat will list both listening and connected sockets.
The information listed for each socket is:
USER The user who owns the socket.
COMMAND The command which holds the socket.
PID The process ID of the command which holds the socket.
FD The file descriptor number of the socket.
PROTO The transport protocol associated with the socket for Internet sockets, or the type of socket (stream or datagram) for UNIX
sockets.
LOCAL ADDRESS For Internet sockets, this is the address the local end of the socket is bound to (see getsockname(2)). For bound UNIX
sockets, it is the socket's filename. For other UNIX sockets, it is a right arrow followed by the endpoint's filename, or
``??'' if the endpoint could not be determined.
FOREIGN ADDRESS (Internet sockets only) The address the foreign end of the socket is bound to (see getpeername(2)).
SEE ALSO
netstat(1), protocols(5)
HISTORY
The sockstat command appeared in FreeBSD 3.1.
AUTHORS
The sockstat command and this manual page were written by Dag-Erling Smorgrav <des@FreeBSD.org>.
The sockstat command was ported to Linux by William Pitcock <nenolod@nenolod.net>.
BSD
May 18, 2008 BSD