I have a solaris machine serving as a DNS server for my environment. Everytime I go into /var/spool/mqueue , there are an aweful lot of emails with names likes:
qfqB6ChrpL006644.
When I cat the file , I get the following output:
It seems that crons from other machines are sending random mails. How do I identify on other machines the script that are sending these emails to my dns server. I want them to stop.
Do you know what is 172.21.5.17? That might give you a clue.
If you don't use unix based e-mail except for outgoing notices, then perhaps you could turn off the service. I expect it runs on port 25 as a default SMTP service will.
If you can avoid unix email as a human user, then that's probably best.
Command is simply mail, but read the manual page first as it is a bit messy. probably the best way to use mail is as a notifier, but you will need to set up your sendmail.cf file (often down /etc) and tweak a few records. Assuming that you have more sensible mail with a central server of some sort that will accept SMTP messsages then you can enable and set the DS record in this file. For me, I set the record to be:-
You need to ensure that the name can be resolved by DNS preferably and that the port is available. If you do the following, you should get similar output if it is alive:-
It may take a few seconds to connect so be patient, but if you are getting over 20 seconds, there is probably a block on the port.
You then use the mail or the sendmail command, to send mail to your normal e-mail account.
If your directory /var/spool/mqueue is filling up, then this is probably outgoing mail that is stuck. Fixing the above may then start delivering them to (I presume you have obscured it) user@machine.domain.com
I hope that this is useful, but let me know if I have completely missed the point.
Hello all
Currently I am working in a live production environment with 100+ Solaris servers . The environment has one DNS server and one SMTP server.
The problem that I am facing since the past 2 months is that the /var/spool/mqueue on my DNS server keeps getting full i.e. mails with name... (1 Reply)
Hi
My box is running with AIX 6100-06 and Im the root user of this box
My /var gets filled up often to 100%
When I investigate I find that it is the below file which increases rapidly
/var/spool/mail/pdgadmin
I dont know why this file is growing up.
Can any one assist me on this.... (2 Replies)
Hi,
solaris : 9
can we delete the files from this location /var/spool/clientmqueue . I found around 40K files lying in this location.
Regards (1 Reply)
Hi, We have some 2-3 Solaris 9 servers with the following issue.
For every cron job which has email notifications, it is sending the emails, but it create files at /var/spool/clientmqueue/ which has similar contents.
"
V6
T1271362260
K1271362260
N1
P30359
MDeferred: Connection refused... (1 Reply)
Hello,
I have a bunch of cron jobs in the crontab. For some reason mail from the cron jobs started going to /var/spool/mqueue instead of being sent.
Does anyone know why mail from cron jobs would go to the queue instead of being sent? (9 Replies)
Hi,
How can i get my mail on either /var/spool/mail or /var/mail?
I use mail and sendmail command to send mail. But everytime I send mail it comes to my outlook inbox and when I check with mail command I get the message "No mail for siba". (Note siba is my user Id.) (2 Replies)
Hi,
First Question: In our company our users have their mailboxes in /var/spool/mail
When I look at the users file it seems as if every email sent/received is in that user file! Is this because IMAP is being used or is that just how sendmail works?
Second Question: How is that when I create... (3 Replies)
Hi,
We have all the user account in a home direcory where their mail is stored and retrieved by email clients. We do however have /var/spool/mail with all the user accounts in it as well Our sendmail.cf is configured to use /var/spool/mqueue as the queue so .what is /var/spool/mail being used... (3 Replies)
hi,
I'm in Solaris 2.8 env. When i'm trying to add a ftp user account ,
encountered "no space in disk" .. couldn't create any user. Then check the fs disk space with "df - k " and /var/adm/syslog .. got the below message.
Jun 9 03:10:53 mail sendmail: NOQUEUE: low on space
(have 0,... (10 Replies)
I keep having this msg on my SunOS console :
Jun 29 08:57:40 bersimis sendmail: NOQUEUE: low on space (have 0, SMTP-DAEMON needs 101 in /var/spool/mqueue)
I tried to make some space by deleting the files in it, but the msg came back ...
Any tips ?
Thanks (3 Replies)