GuN_jAcK l33t
Joined: 23 Mar 2005 Posts: 832 Location: Prague, Czech Republic
|
Posted: Fri Jan 26, 2018 1:15 am Post subject: Mailserver: problema con il mail forwarding loop |
|
|
Ragazzi è da una settimana che non riesco a configurare le email.. Quando scarico la posta con fetchmail è tutto a posto fino a che non arriva a procmail che mi da mail forward loop se tento di direzionare su un account locale:
/etc/hosts:
Code: |
10.0.0.38 mailserver.rinaldi mailserver
127.0.0.1 localhost.localdomain localhost
|
postconf -n
Code: |
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
compatibility_level = 2
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
home_mailbox = .maildir/
html_directory = no
inet_interfaces = $myhostname, localhost
inet_protocols = ipv4
local_recipient_maps =
mail_owner = postfix
mailbox_command = /usr/bin/procmail -a "$EXTENSION"
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 1024000000
meta_directory = /etc/postfix
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = localdomain
myhostname = localhost
mynetworks = 127.0.0.0/8, 10.0.0.0/8
mynetworks_style = host
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relayhost =
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
shlib_directory = /usr/lib64/postfix/${mail_version}
unknown_local_recipient_reject_code = 550
|
Output dei log:
Code: |
Jan 26 01:57:09 mailserver postfix/pickup[9154]: 9FC021B80095: uid=5024 from=<p.batti>
Jan 26 01:57:09 mailserver postfix/cleanup[9320]: 9FC021B80095: message-id=<CAM2RHdVX-uiuqPmsrR7tx46Vk7vPNBe3regSFOhdyOsHgouJ1A@mail.gmail.com>
Jan 26 01:57:09 mailserver postfix/qmgr[9155]: 9FC021B80095: from=<p.batti@localhost>, size=5570, nrcpt=1 (queue active)
Jan 26 01:57:09 mailserver postfix/local[9321]: 9FC021B80095: to=<p.batti@localhost>, relay=local, delay=0.01, delays=0/0/0/0, dsn=5.4.6, status=bounced (mail forwarding loop for p.batti@localhost)
Jan 26 01:57:09 mailserver postfix/cleanup[9320]: A14411B8009C: message-id=<20180126005709.A14411B8009C@localhost>
Jan 26 01:57:09 mailserver postfix/qmgr[9155]: A14411B8009C: from=<>, size=7412, nrcpt=1 (queue active)
Jan 26 01:57:09 mailserver postfix/bounce[9328]: 9FC021B80095: sender non-delivery notification: A14411B8009C
Jan 26 01:57:09 mailserver postfix/qmgr[9155]: 9FC021B80095: removed
Jan 26 01:57:09 mailserver postfix/local[9321]: A14411B8009C: to=<p.batti@localhost>, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -a "$EXTENSION")
|
/etc/hosts
Code: |
10.0.0.38 mailserver.rinaldi mailserver
127.0.0.1 localhost.localdomain localhost
|
hostname
hostname -f
Qualcuno ha qualche idea?[/b] _________________ Rispondi in maniera intelligente anche a chi ti tratta stupidamente. |
|