Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending Mail To A Pager

Status
Not open for further replies.

johngiggs

Technical User
Oct 30, 2002
492
US
I am attempting to send mail to a pager (123456789@archwireless.net) from an AIX server. Where do I need to configure this address in order to send mail to this address? I can send mail to the pager from other servers, but not from this one. Any help would be greatly appreciated.

Thanks,

John
 
You should be able to send mail using the mail command in AIX. But your AIX box should be capable of resolving the archwireles.net address. To check that your server is resolving the name or not
# nslookup
>archwireles.net

It should return the ip address of that. If it does then the mail will work for you
 
nslookup does resolve archwireless.net. I believe there is something in /etc/sendmail.cf that has to be configured. Any help would be greatly appreciated.

Thanks,

John
 
Hi

Not sure if you have this working yet...

Is the sendmail daemon running?
Is your sendmail fowarding mail to another mail server?
Are you using aliases? (/etc/aliases)
 
rzs0502,

The sendmail daemon is running on this server and it is not forwarding mail to another server. There are not any aliases being used. It seems as though something in the sendmail.cf file has to be tweaked.

Thanks,

John
 
Using your editor open the sendmail.cf file
Go to the "Local info" and do the following changes:

Remember dcars01 is my server name
Dwdcars01
#DmYourDomainName
Cw localhost $w $?m$w.$m$.dcars01
#Cm $m YourOtherDomainNames
#Cwlocalhost
# file containing names of hosts for which we receive email
#Fw-o /etc/sendmail.cw


# who I masquerade as (null for no masquerading) (see also $=M)
DMdcars01


###################################################################
### Ruleset 94 -- convert envelope names to masqueraded form ###
###################################################################

S94
#R$* < @ *LOCAL* > $* $: $1 < @ $j . > $2
R$+ $@ $>93 $1
#R$+ $@ $>93 $1
###################################################################
### Ruleset 98 -- local part of ruleset zero (can be null) ###

Refresh the sendmail.cf file
refresh –s sendmail


Start testing your by mailing first to local users. And keep an eye on the log file.
Tail –20 /usr/spool/mqueue/log

Remember to keep your local /etc/hosts file updated with the destination server ip addresses.



I wish you all the best
Latif
 
I managed to get it working by using the address 123456789@archwireless.net@anotherhost. I knew that I was able to send mail from the other server to the pager, so I added it to the address.

Thank you all for your help!!

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top