1827315 Members
5457 Online
109961 Solutions
New Discussion

sendmail autoforward

 
Van Caeyzeele Wout
Occasional Advisor

sendmail autoforward

We have a situation on which we have a SMTP running on port 25.
But Oracle IFS has an SMTP running on port 9025.
The users working with Lotus Notes want to send mails to the SMTP of IFS (running on port 9025). I asked the LN admin to make sure this works, but this prooved to be very difficult. They could only send mails to port 25. No other port is possible (don't ask me why).

Another option we are trying is to let the LN users send mail to the SMTP server on port 25 and relay the mails for certain email addresses directly to the SMTP on port 9025.
How can we do this ?
3 REPLIES 3
Pedro Cirne
Esteemed Contributor

Re: sendmail autoforward

Hi,

You can forward mail to another mail adress, just add a file named .forward in the home directory of the user, with the adress to where you want to forward.

Enjoy :)

Pedro
Simon Hargrave
Honored Contributor

Re: sendmail autoforward

The .forward in itself will not work because it'll still want to use port 25.

The best option would be to tell Lotus Notes to use port 9025 for that domain - I can't believe it's not possible, but I don't know Notes so can't tell you how.

If not then there are ways of tweaking the sendmail configuration file to forward a domain to a different port. See this thread for more details:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=60066
Bejoy C Alias
Respected Contributor

Re: sendmail autoforward

U can configure sendmail to forward the mails for particular domain or users to a seperate port . But this may not be a simple configuration . U can define rules in sendmail to check whether the user is in the specified list for which u need to forward and if yes then use a particular mailer ( this u should configure manually ) to forward the mails to the port 9025 . These steps may not be simple , so ask some sendmail experts to configure the same OR check other options .
Be Always Joy ......