Hi All, After editing the same in /etc/tcp.smtp then run qmailctl cdb command.
--Rakesh Sharma On Wednesday 02 April 2008 10:19:19 am Remo Mattei wrote: > then use the relayclient it works fine like this format > > ipaddress:allow,RELAYCLIENT="" > you are set > > remo > > Marcin Soltysiak wrote: > >> Relaying is usually controlled by the tcp.smtp file using the > >> RELAYCLIENT variable. > >> > >> To only allow localhost to relay and require all other IPs to > >> use smtp auth you could put this one line in your tcp.smtp file > >> > >> 127.0.0.1:allow,RELAYCLIENT="" > >> > >> Then rebuild your tcp.smtp.cdb file using tcprules. > > > > And how about if I got separate mail hub to do the spam/vir check and I > > don't want to rely to locals from other than auth'd clients or mail hub. > > > > Other words, I want rely either my mail hub 1.2.3.4 or auth'd users on > > serve 1.2.3.5 > > > > MS > > -- Thanks&Regards, Rakesh Sharma | Linux System Administrator | Y A T R A | Yatra Online Pvt. Ltd. | B-21 | Infocity | Sector - 34 | Gurgaon - 122002 | Contact: +91-9350762340, +91-124-3040608 !DSPAM:47f31500120501711417152!