[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: postfix non invia le mail in locale



On Tue, Jan 21, 2003 at 12:16:51PM +0100, savagnolu@gmx.net wrote:
> Ho 2 pc, uno fa da mail server (dovrebbe visto che non e' ancora
> perfetto) e un client. Non riesco a inviare mail dal server al client
> (mentre riesco a inviare dal client al server). In pratica il problema
> e' che il server invia all'smtp del provider anche le mail destinate al
> client.
> 
> /etc/postfix/main.cf  (server)
> 
> queue_directory = /var/spool/postfix
> command_directory = /usr/sbin
> daemon_directory = /usr/lib/postfix
> mail_owner = postfix
> 
> myhostname = p120.filuferru.domo
> mydestination=$myhostname , localhost.$mydomain , $mydomain
> mydomain = filuferru.domo
> mynetworks=127.0.0.0/8, 192.168.0.0/24
^^^^^^^^^^^^^^^^^^^
se usi questo non puoi specificare anche il param. mynetworks_style
successivo, e in ogni caso '= host' qui non sarebbe giusto. E sbaglio
o negli headers il tuo client è 192.168.1.1, su un'altra rete?
Proteggi la tua rete.
	
> myorigin=$mydomain
> mynetworks_style = host
> disable_dns_lookups = yes
> relayhost = mail.libero.it
^^^^^^^^^^^^^^^
	in assenza di tabella di transport (dov'è?) postfix manda
	tutto qui. E il param. $relaydomains ? E gli alias per
        tutti gli utenti del dominio?
	
> sender_canonical_maps = hash:/etc/postfix/sender_canonical
> alias_maps = hash:/etc/postfix/aliases
> mailbox_command = /usr/bin/procmail
> debug_peer_level = 2
> debugger_command =
>          PATH=/usr/bin:/usr/X11R6/bin
> 	          xxgdb $daemon_directory/$process_name $process_id &
> 		  sleep 5
> 		  biff=no
> 
> 
> 
> /etc/postfix/main.cf  (client)
> 
> queue_directory = /var/spool/postfix
> command_directory = /usr/sbin
> daemon_directory = /usr/lib/postfix
> mail_owner = postfix
> 
> myhostname = athlon.filuferru.domo
> mydestination=$myhostname , localhost.$mydomain , $mydomain
                                                    ^^^^^^^^^^
                    se vuoi far capire che la destinazione finale della
                    posta  per tutto il dominio è il p120, non puoi
                    dirgli che lo è anche athlon.
		   
                     

> mydomain = filuferru.domo
> mynetworks=127.0.0.0/8, 192.168.0.0/24
> myorigin=$mydomain
> mynetworks_style = host
			vedi sopra, o l'uno o l'altro.
> disable_dns_lookups = yes
> relayhost = p120.filuferru.domo
> sender_canonical_maps = hash:/etc/postfix/sender_canonical
> alias_maps = hash:/etc/postfix/aliases
> mailbox_command = /usr/bin/procmail
> debug_peer_level = 2
> debugger_command =
>          PATH=/usr/bin:/usr/X11R6/bin
> 	 xxgdb $daemon_directory/$process_name
> 	 $process_id &		                     
> 	 sleep 5
> 	 biff=no
> 
> 
> Mi sembra che il server dovrebbe capire che athlon.filuferru.domo e' un
> client locale ed evitare di mandare la mail all' smtp di libero.
> Grazie Gianni
> 
> -- 
>  -------------------------------------------------------------------
> | Powered by *Debian GNU/Linux 3.0* 			            |
> | Linux Registered User    #297089				    |
> | UNIX is user friendly, it's just picky about who its friends are  |
>  -------------------------------------------------------------------
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-italian-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 



Reply to: