Sponsored Content
Operating Systems Linux Red Hat Sendmail fails receiving mail since the IP changed on Redhat Server Post 302356311 by chakrapani on Friday 25th of September 2009 06:36:56 AM
Old 09-25-2009
MX record

Have you changed MX also pointing to new IP ... also check from other places if MX is reflected

---------- Post updated at 05:36 AM ---------- Previous update was at 05:32 AM ----------

Can you verify is this right ?
Code:
$ dig AGR.GC.CA MX

; <<>> DiG 9.4.2-P2 <<>> AGR.GC.CA MX
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13507
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 3

;; QUESTION SECTION:
;AGR.GC.CA.                     IN      MX

;; ANSWER SECTION:
AGR.GC.CA.              10800   IN      MX      9 agrpazsmtp7.AGR.GC.CA.
AGR.GC.CA.              10800   IN      MX      9 agrpazsmtp8.AGR.GC.CA.

;; AUTHORITY SECTION:
AGR.GC.CA.              10754   IN      NS      agroutdns1.AGR.GC.CA.
AGR.GC.CA.              10754   IN      NS      relay.srv.GC.CA.

;; ADDITIONAL SECTION:
agrpazsmtp7.AGR.GC.CA.  10800   IN      A       192.197.71.118
agrpazsmtp8.AGR.GC.CA.  10800   IN      A       192.197.71.119
agroutdns1.AGR.GC.CA.   10754   IN      A       192.197.71.131

;; Query time: 139 msec

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Check sendmail is not receiving any emails

Hi all, Need some advise again. I am new to sendmail service which is already configured by some other administrators. I would need to write a script to check whether sendmail service is enabled in Solaris and Linux. Using this command "ps -ef | grep sendmail | grep -v grep". Or is there... (6 Replies)
Discussion started by: Kinki
6 Replies

2. AIX

sendmail.cf needs to point to mail server

I have a vanilla install of AIX 5L and I am unable to send outbound email to our email server. I figure the pointer must be some where in the /etc/mail/sendmail.cf file. Does anyone have any idea which section needs to modified to point to the mail server or mail relay? Currently all message bouced... (2 Replies)
Discussion started by: justinburbridge
2 Replies

3. UNIX for Advanced & Expert Users

Receiving mail in Unix

I have 2 problems with my mail on Unix.. 1- I have accounts on 2 different unix boxes, one running Sun Solaris and other is a version of Linux. When I receive email on those machines, on one the email arrives in my /var/mail/USERNAME; whereas on the other box the email is delivered to... (4 Replies)
Discussion started by: milhan
4 Replies

4. Solaris

sendmail mail server help

Hello guys, Am trying to enable/start sendmail in Solaris 10. I tried using scvadm and also did it using the /etc/init.d/sendmail restart but no effect. Just returns to the prompt. No errors nothing. I checked if it is running using ps -eaf | grep sendmail, not running :( . I checked the logs... (9 Replies)
Discussion started by: rcmrulzz
9 Replies

5. Red Hat

redhat linux mail server problem

we are using redhat linux,configured the postfix as mail server and outlook is used as mail client.whenever the user opens outlook it is start downloading all the mails from the server. Example : If a user has 50 mails in the server,whenever he opens the outlook the outlook will start... (0 Replies)
Discussion started by: ramjimh2k3
0 Replies

6. UNIX for Dummies Questions & Answers

run a perl.script upon receiving an email in Sendmail

Hi All I am newbie with Sendmail and Linux in general. We use sendmail for outgoing and incoming mails. Once our server receives a certain email xxx@yyy.com we would like to run a PERL script doing some task wiht it. Can you address me a little bit on that topic? In order to do that the... (0 Replies)
Discussion started by: manustone
0 Replies

7. Red Hat

Send mail from redhat box to exchange server

we have an exchange server in company as excmailbocx.company.com i wanna send mail using sendmail from redhat to my exchange mail account how can it be possible? (1 Reply)
Discussion started by: oguzhantrg
1 Replies

8. Shell Programming and Scripting

mail is not receiving from the server

Dear All, I am using CentOS release 5.5 (Final).I want to monitoring the system activity through mail.But the <code>mail -s "Subject" user1@domain.com</code> is not working from the server.could you help me the procedure to generate mail from the server. (2 Replies)
Discussion started by: kpoobathi
2 Replies

9. Red Hat

unable to send mail from redhat linux server

While sending mail from linux server we observed below logs, stat=Deferred: Name server: xxxxxxxxxx.: host name lookup failure Kindly suggest what we need to change? Thanks in Advance (2 Replies)
Discussion started by: hydoss1
2 Replies

10. Shell Programming and Scripting

Sendmail Fails to send emails from Linux server.

I m using free zoho mail client application (similar to microsoft outlook) on my mobile for all my emails to mohtashim@techx.com I wish to only recieve emails from my Linux Server details of which are: techx 3.10.0-514.10.2.el7.x86_64 #1 SMP CentOS release 7.3.1611 (Core). I try the below... (20 Replies)
Discussion started by: mohtashims
20 Replies
PAM_MAIL(8)							 Linux-PAM Manual						       PAM_MAIL(8)

NAME
pam_mail - Inform about available mail SYNOPSIS
pam_mail.so [close] [debug] [dir=maildir] [empty] [hash=count] [noenv] [nopen] [quiet] [standard] DESCRIPTION
The pam_mail PAM module provides the "you have new mail" service to the user. It can be plugged into any application that has credential or session hooks. It gives a single message indicating the newness of any mail it finds in the user's mail folder. This module also sets the PAM environment variable, MAIL, to the user's mail directory. If the mail spool file (be it /var/mail/$USER or a pathname given with the dir= parameter) is a directory then pam_mail assumes it is in the Maildir format. OPTIONS
close Indicate if the user has any mail also on logout. debug Print debug information. dir=maildir Look for the users' mail in an alternative location defined by maildir/<login>. The default location for mail is /var/mail/<login>. Note, if the supplied maildir is prefixed by a '~', the directory is interpreted as indicating a file in the user's home directory. empty Also print message if user has no mail. hash=count Mail directory hash depth. For example, a hashcount of 2 would make the mail file be /var/spool/mail/u/s/user. noenv Do not set the MAIL environment variable. nopen Don't print any mail information on login. This flag is useful to get the MAIL environment variable set, but to not display any information about it. quiet Only report when there is new mail. standard Old style "You have..." format which doesn't show the mail spool being used. This also implies "empty". MODULE TYPES PROVIDED
The session and auth (on establishment and deletion of credentials) module types are provided. RETURN VALUES
PAM_BUF_ERR Memory buffer error. PAM_SERVICE_ERR Badly formed arguments. PAM_SUCCESS Success. PAM_USER_UNKNOWN User not known. EXAMPLES
Add the following line to /etc/pam.d/login to indicate that the user has new mail when they login to the system. session optional pam_mail.so standard SEE ALSO
pam.conf(5), pam.d(5), pam(8) AUTHOR
pam_mail was written by Andrew G. Morgan <morgan@kernel.org>. Linux-PAM Manual 04/01/2010 PAM_MAIL(8)
All times are GMT -4. The time now is 05:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy