PDA

View Full Version : Mail server differs from Web server


AS400_Linux
02-21-2005, 01:23 PM
I use iSeries for my webserver. I have my FormMail.pl working fine on the AS400 except I don't receive any mail. My email server is linux sendmail (192.168.1.33)

This is my entry:
$mailprog = '192.168.1.33/usr/sbin/sendmail';

Is is possible to do this? or how should I refer to my mail server from the web server?

Thanks for any help!

iDxMan
02-22-2005, 11:00 PM
Edit your sendmail config on the AS/400 and tell it to use your mail server as the 'smart host'. From there any email generated should route directly to the Linux server.

You may also need to edit your sendmail config on the Linux server to allow the AS/400 to route mail though it. (it depends on who you're sending mail to)

-r

AS400_Linux
02-24-2005, 01:33 PM
I'm not sure how to do this, do you have a link or instructions? Our iseries doesn't have smtp running at this time. I am able to telnet to the linux from the iseries though.

Does this mean my FormMail.pl is fine or should it be changed also?

Thanks :)