We report on magnetic measurements carried out in a textured YBa2Cu3O7−δ and YBa2(Cu1−xAgx)3O7−δ (at x≈ 0.02) crystals. The so-called fishtail-effect (FE) or second magnetization peak has been observed in a wide temperature range 0.4~<T/Tc<~0.8 for H∥c. The origin of the FE arises for the competition between surface barrier and bulk pinning. This is confirmed in a non-monotonically behavior of the relaxation rate R. The value Hmax for Ag-doped crystals is larger than for the pure one due to the presence of additional pinning centers, above all on silver atoms.