From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <3B89CDB6.2010505@rmts.donpac.ru> From: John User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: Mandrake Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-MDRemoteIP: 192.168.10.90 X-Return-Path: john@rmts.donpac.ru X-MDaemon-Deliver-To: mandrake-russian@altlinux.ru Subject: [mdk-re] Postfix =?KOI8-R?Q?=CD=C5=CE=D1=20=D5=D6=C5=20=C4=CF=D3=D4=C1=CC?= Sender: mandrake-russian-admin@altlinux.ru Errors-To: mandrake-russian-admin@altlinux.ru X-BeenThere: mandrake-russian@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: mandrake-russian@altlinux.ru X-Reply-To: john@rmts.donpac.ru List-Help: List-Post: List-Subscribe: , List-Id: Linux-Mandrake RE / ALT Linux discussion list List-Unsubscribe: , List-Archive: Date: Mon Aug 27 08:31:30 2001 X-Original-Date: Mon, 27 Aug 2001 08:33:58 +0400 Archived-At: List-Archive: List-Post: Здравствуйте! Установил я снова postfix из спринговского дистрибутива, конфиги ниже. Без myorigin = mail.ru письма отправляются от root@master.home, с ней - от root@mail.ru. А как сделать, чтобы письма отправлялись от eugene_prokopiev@mail.ru? ----------------------------------------------------------------------------------------------------------------- # /etc/postfix/main.cf # Config file for postfix mail system. # queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/lib/postfix mail_owner = postfix default_privs = nobody myhostname = master.home mydomain = home mynetworks = 192.168.1.1/0 myorigin = mail.ru inet_interfaces = $myhostname, localhost mydestination = $myhostname, localhost.$mydomain, $mydomain default_transport = smtp alias_database = hash:/etc/postfix/aliases mailbox_command = /usr/local/bin/procmail smtpd_banner = $myhostname ESMTP READY local_destination_concurrency_limit = 2 default_destination_concurrency_limit = 10 debug_peer_level = 2 debugger_command = PATH=/usr/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5 ----------------------------------------------------------------------------------------------------------------- # /etc/postfix/master.cf # #========================================================================== # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (50) # #========================================================================== smtp inet n - y - - smtpd pickup fifo n n n 60 1 pickup cleanup unix - - n - 0 cleanup qmgr fifo n - n 300 1 qmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce smtp unix - - n - - smtp showq unix n - n - - showq local unix - n n - - local cyrus unix - n n - - pipe flags=R user=cyrus argv=/cyrus/bin/deliver -e -q -m ${extension} ${user} uucp unix - n n - - pipe flags=F user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) flush unix - - n 1000? 0 flush ----------------------------------------------------------------------------------------------------------------- # # @(#)aliases 8.2 (Berkeley) 3/5/94 # # Aliases in this file will NOT be expanded in the header from # Mail, but WILL be visible over networks or from /bin/mail. # # >>>>>>>>>> The program "newaliases" must be run after # >> NOTE >> this file is updated for any changes to # >>>>>>>>>> show through to sendmail. # # Basic system aliases -- these MUST be present. MAILER-DAEMON: postmaster postmaster: root # General redirections for pseudo accounts. bin: root daemon: root games: root ingres: root nobody: root system: root toor: root uucp: root # Well-known aliases. manager: root dumper: root operator: root # trap decode to catch security attacks decode: root # Person who should get root's mail root: tankost@mail.ru ----------------------------------------------------------------------------------------------------------------- С уважением, Прокопьев Евгений