Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-12-2005, 12:49 PM   #1
Registered: Oct 2003
Location: South London
Distribution: Gentoo.
Posts: 297

Rep: Reputation: 30
Postfix mail forwarding loop

I recently setup a postfix server, and though it works most of the time, it seems to reject incoming mail from some addresses...and I simply don't understand why it's so selective. I've avoided setting up a mail server all these years, as it's always looked 'orribly complicated - looks like I'm right. Any help would be hugely appreciated.

My mail log, and virtual are below:

mail log:
May 12 15:05:16 myserver postfix/smtpd[27859]: DB64F134A2: client=localhost[]
May 12 15:05:16 myserver postfix/cleanup[27862]: DB64F134A2: message-id=<>
May 12 15:05:16 myserver postfix/qmgr[27372]: DB64F134A2: from=<>, size=3092, nrcpt=1 (queue active)
May 12 15:05:17 myserver postfix/local[27863]: DB64F134A2: to=<>, orig_to=<me@localhost>, relay=local, delay=1, status=SOFTBOUNCE (mail forwarding loop for
May 12 15:38:19 myserver postfix/qmgr[27372]: DB64F134A2: from=<>, size=3092, nrcpt=1 (queue active)
May 12 15:38:19 myserver postfix/local[27918]: DB64F134A2: to=<>, orig_to=<me@localhost>, relay=local, delay=1983, status=SOFTBOUNCE (mail forwarding loop for
May 12 16:11:39 myserver postfix/qmgr[27372]: DB64F134A2: from=<>, size=3092, nrcpt=1 (queue active)
May 12 16:11:39 myserver postfix/local[27985]: DB64F134A2: to=<>, orig_to=<me@localhost>, relay=local, delay=3983, status=SOFTBOUNCE (mail forwarding loop for
May 12 17:18:19 myserver postfix/qmgr[27372]: DB64F134A2: from=<>, size=3092, nrcpt=1 (queue active)
May 12 17:18:19 myserver postfix/local[28118]: DB64F134A2: to=<>, orig_to=<me@localhost>, relay=local, delay=7983, status=SOFTBOUNCE (mail forwarding loop for
myhostname = localhost
myorigin = $mydomain
readme_directory = /usr/share/doc/packages/postfix/README_FILES
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname =
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains =
mydestination = $myhostname,localhost.$mydomain,$mydomain
defer_transports =
disable_dns_lookups = no
relayhost =
mailbox_command =
mailbox_transport =
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
virtual_alias_maps = hash:/etc/postfix/virtual
virtual (to make sure all mail is directed to me)
# Catch all
###########  me


Last edited by lacerto; 05-12-2005 at 01:15 PM.
Old 06-01-2005, 06:07 PM   #2
LQ Newbie
Registered: Jun 2005
Location: Belgium
Posts: 11

Rep: Reputation: 0
try to add a line to your virtual like:
mydomain anything

I guess this is needed for postfix to know that mail for mydomain can be deliverd localy.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix-spamassassin mail loop problem Pcghost Linux - Software 7 09-25-2016 12:38 PM
Mail Forwarding in postfix/maildrop/redhat (like yahoo mail forwarding) topcat Linux - Software 1 08-31-2007 12:10 PM
Forwarding incoming mail (postfix) herc Linux - Software 3 03-09-2007 04:43 PM
Postfix Mail Loop dlublink Linux - Networking 0 12-30-2004 04:15 PM
Forwarding mail through Postfix Phaethar Linux - Networking 0 03-01-2004 08:00 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration