On Fri, 24 Jan 2003, Todor Belev wrote:

> Stav na vypros slednoto.Imam slednia fail v sendmail
> /etc/mail/mailertable
> vytre pishe taka
> foo.com smtp:[10.1.1.1]

mail:/# vi /etc/postfix/transport

foo.com smtp:[10.1.1.1]:25


#        The  interpretation  of  the  nexthop  field  is transport
#        dependent. In the case of SMTP, specify host:service for a
#        non-default  server port, and use [host] or [host]:port in
#        order to disable MX (mail exchanger) DNS lookups.  The  []
#        form  can  also be used with IP addresses instead of host-
#        names.

mail:/# postmap /etc/postfix/transport
mail:/# vi /etc/postfix/main.cf

transport_maps = hash:/etc/postfix/transport

mail:/# /etc/init.d/postfix restart

note: ��������� �� transport ��������� ������� ���� ������ (postmap
/etc/postfix/transport) - �������� � ����� ������ � ������ ��������� ��
main.cf  btw, ���� � ���� �������������, �� ������ �� _����_ ����� :)

happy hacking,
velin

============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================

Reply via email to