postfix non invia le mail in locale
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
myorigin=$mydomain
mynetworks_style = host
disable_dns_lookups = yes
relayhost = mail.libero.it
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
mydomain = filuferru.domo
mynetworks=127.0.0.0/8, 192.168.0.0/24
myorigin=$mydomain
mynetworks_style = host
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 |
-------------------------------------------------------------------
Reply to: