Dear All i am using incoming mail copy to other user with .forward but it not work. give me any idea. cat /home/abc/.forward /abc bob but it not copy mail to bob Reg Rashid KHan
Please check out this link: http://www.feep.net/sendmail/tutorial/intro/forward.html Is bob a system user or a virtual user?
Did you place the .forward file in the home directory of abc? Did you check permissions? Are there any errors in your mail log?
not forward mail to bob cat /home/test/.forward /test bob maillog Jun 13 01:53:59 pdc1 sendmail[4385]: p5D5rxqj004385: from=<[email protected]>, size=1090, class=0, nrcpts=1, msgid=<002b01cc4118$2212f4f0$1301a8c0@1230bdea715950>, proto=SMTP, daemon=MTA, relay=[192.168.1.19] Jun 13 01:53:59 pdc1 sendmail[4387]: p5D5rxqj004385: forward /home/test/.forward: Group writable file Jun 13 01:53:59 pdc1 sendmail[4387]: p5D5rxqj004385: to=<[email protected]>, ctladdr=<[email protected]> (505/505), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31269, dsn=2.0.0, stat=Sent
Thanks falko my problem has resolve I check ls -la group and other user have a rights. that's mail not forward. # ls -la /home/test/.forward -rwxrwxrwx 1 test test 13 Jun 13 01:56 /home/test/.forward when i set mail forward perfectly. chmod 600 /home/test/.forward # ls -la /home/test/.forward -rw------- 1 test test 13 Jun 13 01:56 /home/test/.forward