mirandag
IS-IT--Management
- Sep 11, 2002
- 6
Hi, I'm configuring my linux RH 7.2 as a mail gateway. I've assigned two IP address to one ethernet card, and I've configured sendmail to listen on one IP. I've something like this in sendmail.cf
# SMTP daemon options
O DaemonPortOptions=Port=smtp,Addr=1.1.1.1,Name=MTA
I've a valid IP address instead of 1.1.1.1
I've configured /etc/mail/mailertable to route mails to other smtp server. I've something like this:
mydomain.com relay:[2.2.2.2]
where 2.2.2.2 is a fictitious IP address for this question.
When I send an email to my smtp server (1.1.1.1) I receive this message on maillog:
Jul 30 18:14:11 diamond sendmail[13382]: g6UMEAv13381: forward /home/gmiranda/.forward.diamond: Group writable directory
After that, I don't receive the mail on the other smtp server. I was looking for .forward file and it doesn't exist.
What can I do to route mails from sendmail to other smtp server? Which is the structure and syntaxis of .forward file?
I look forward hearing from you soon.
Best regards.
# SMTP daemon options
O DaemonPortOptions=Port=smtp,Addr=1.1.1.1,Name=MTA
I've a valid IP address instead of 1.1.1.1
I've configured /etc/mail/mailertable to route mails to other smtp server. I've something like this:
mydomain.com relay:[2.2.2.2]
where 2.2.2.2 is a fictitious IP address for this question.
When I send an email to my smtp server (1.1.1.1) I receive this message on maillog:
Jul 30 18:14:11 diamond sendmail[13382]: g6UMEAv13381: forward /home/gmiranda/.forward.diamond: Group writable directory
After that, I don't receive the mail on the other smtp server. I was looking for .forward file and it doesn't exist.
What can I do to route mails from sendmail to other smtp server? Which is the structure and syntaxis of .forward file?
I look forward hearing from you soon.
Best regards.