Pe suse am un fisier de configurare in /etc/sysconfig/postfix, unde am completat in felul urmator: # Should we use a mailrelay? # NOTE: ALL mail that is not considered to be my destination # (POSTFIX_LOCALDOMAINS), will be sent to this host. # If this host is not your MX, then you have to use [square brackets] # around the hostname, e.g. [relay.example.com] # You may also specify an alternate port number, e.g. # relay.example.com:26 or [relay.example.com]:26 to prevent MX lookups. # POSTFIX_RELAYHOST="192.168.1.2" #adresa exchange-ului Cand trimit un mail la o adresa de pe exchange, in log-ul postfixului apare ceva de genul: ..... Aug 30 17:03:32 bit-db2 postfix/qmgr[30812]: ED07D30816: to=<[EMAIL PROTECTED]>, relay=none, delay=1883, status=deferred (delivery temporarily suspended: connect to mx3.bitsoftware.ro[80.96.43.2]: server dropped connection without sending the initial SMTP greeting) .....
--- lonely wolf <[EMAIL PROTECTED]> wrote: > Miklos Keresztes wrote: > > >Salut, > >Am o retea windows cu un server de Exchange pentru mail (intern si extern). > >Acum am instalat in > >LAN (deci cu IP local de genul 192.168...) un server SuSE 9.2 pentru > >diferite teste, pe care am > >pus un postfix. Intrebarea este cum trebuie configurat postfix-ul a.i. sa > >pot trimite mailuri > la > >adresele de pe exchange (sau chiar in afara)? > >P.S. Am cautat cu Google dar nu am gasit ceva satisfacator. > > > > > cred ca ar fi suficient sa declari exchange-ul ca relay.Parametrul de > interes este relayhost: > # The relayhost parameter specifies the default host to send mail to > # when no entry is matched in the optional transport(5) table. When > # no relayhost is given, mail is routed directly to the destination. > # > # > #relayhost = $mydomain > #relayhost = gateway.my.domain > #relayhost = uucphost > #relayhost = [an.ip.add.ress] > In cazul tau probabil ca utile ar fi a doua (sa treci exchange-ul cu > numele sau din DNS) sau a 4-a varianta dintre cele de mai sus (treci > direct IP-ul). > > > Alernativ, daca vrei sa faci relay numai pt un domeniu anume, poti > folosi tabela transport (/etc/postfix/transport) in care treci ceva de > genul: > domeniul.tau smtp:[ip-UL.serverului.ex.change] > > > Prima metoda (relayhost) va indica postfixului ca TOATE mesajele sa le > predea lui exchange. Cu a doua, doar mesajele catre adrese din domeniul > tau vor fi pasate lui exchange, pt restul va incerca sa se ocupe el sa > le transmita la destinatarii finali > > > _______________________________________________ > RLUG mailing list > [email protected] > http://lists.lug.ro/mailman/listinfo/rlug > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
