Hi all, below are some text extracted from maillog. I have a cronjob running at 1720 daily and it will send mails to me. it was working fine on the 27 Sept.
However, on the 30 Sept, i have stopped receiving mails.
I don't recall making any changes to my scripts. From the maillog on 30 sept, it seems that the relay field is set to the host itself. It is not supposed to be the case.
(1)Does anyone know how are the various fieldnames set?
(2)I also realise that the dsn values for success sending is 2.0.0 and failure sending is 4.0.0. Can i infer any clue here?
(3)is there anyway i can retrieve the message based on the msgid?
Try looking at your sendmail configuration - on Sept 27, the mail is being sent to a relay. On the 30th, it doesn't show that at all.
/usr/lib/sendmail -d0.1 -bt < /dev/null may give you a clue. Also check if any of your config files were changed between the 27th and 30th (config files may be in /etc/mail/).
Hi,
I need to take them all fields SendTo and ip address from a file maillog
First I look at all emails from containing the empty field.
# zcat /var/log/mail/maillog-20140331.server1.gz | grep "from=<>" | awk '{print $6}' > 1.txt
output:
Mar 30 23:31:24 servidor1 postfix/smtpd:... (2 Replies)
I have the following entries in maillog. I need to grep out only the subject part from the following entries. Maillog contain following entries.
2013-11-14 03:30:02 1Vgnd4-001qwZ-36 <= user@domain.com U=user P=local S=9797 id=cd3732bbd0fbda5cb16384bb7d5b465d@localhost.localdomain T="Subject... (3 Replies)
I have hundreds of files to process. In each file
I need to look for a pattern then
extract value(s) from next line and then
search for value(s) selected from point (2) in the same file at a specific position.
HEADER ELECTRON TRANSPORT 18-MAR-98 1A7V
TITLE CYTOCHROME... (7 Replies)
Hi All,
I am getting large number of messages in below file
/www/wls8/logs/HOSTS/tswebd01-zd01/maillog/maillog
In past 24 hours, it has been increased by near to 1 GB. Can somebody help in finding, from where these messages are being generated and how to I stop them ?
Same kind of messages... (11 Replies)
hi
i have a file which has following content:
<config>
<key>Protocol</key>
<value>SIP</value>
<config>
i want a script which will see the value of Protocol is SIP.
Can any one pls help me? (1 Reply)
can someone please help me figure how i can get maillog to start updating again? it just all of a sudden stopped. and postfix isn't writing to it anymore. I'm running a Ubuntu box 8.04
thanks (2 Replies)
Hi All,
How to extract User,Process Name,Arguments from the output of "/usr/ucb/ps -auxww" on Solaris?
Please Reply...
Thanks In Advance...
Harikrishna (3 Replies)
Watching my maillog this morning i have discovered some errors but I cant track down whats causing them.
Jun 16 11:04:12 ws096 sendmail: m5GExW7e006613: Milter (spamass-milter): timeout before data read
Jun 16 11:04:12 ws096 sendmail: m5GExW7e006613: Milter (spamass-milter): to error state
Jun... (3 Replies)
Hi,
I want to display only the file names of the ls command with a delimiter of comma.
For example:-
ls /etc/dir/N*
gives the following output
/etc/dir/N1 /etc/dir/N2 /etc/dir/N3
I want the output as N1,N2,N3,-->Here i need the final comma also.
Also, here /etc/dir is being... (2 Replies)
dear expert
Im using shell script to send mail from unix server.
My script like below:
#! /bin/sh -f
# Set necessary variables
#export PATH
#PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin:/usr/contrib/bin
PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin:/usr/contrib/bin:$PATH; export PATH... (0 Replies)