LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-20-2015, 01:00 PM   #1
dariusjd
LQ Newbie
 
Registered: Mar 2007
Posts: 16

Rep: Reputation: 0
SMTP Blues - external email works, internal does not


Hi all,

I desperately need some help with this Debian Wheezy server running Postfix. I have 3 domains hosted on a remote server, but I am using this postfix server for SMTP only.

External email appears to be good, but internal e-mail is not working (e.g. user@domain1.com to user@domain2.com). I have an excerpt of my logs and my main.cnf. ANY help or advice would be greatly appreciated.

IP/domains redacted for obvious reasons, but can be provided if necessary...

mail.domain1.com - remote mail server, storing mailboxes. used for imap smtp.domain1.com - local postfix server, used only for smtp

Code:
Working example of external email:

Jul 20 17:16:35 smtp postfix/smtpd[12808]: warning: hostname mail.domain1.com does not resolve to address REMOTE IP (NO IDEA why this appears, yet the email sends fine)
Jul 20 17:16:35 smtp postfix/smtpd[12808]: connect from unknown[REMOTE IP]
Jul 20 17:16:35 smtp postfix/smtpd[12808]: A42EDD4323: client=unknown[REMOTE IP]
Jul 20 17:16:35 smtp postfix/cleanup[12811]: A42EDD4323: message-id=<55AD2CEC.5090601@domain1.com>
Jul 20 17:16:35 smtp postfix/qmgr[12792]: A42EDD4323: from=<user@domain1.com>, size=579, nrcpt=1 (queue active)
Jul 20 17:16:35 smtp postfix/smtpd[12808]: disconnect from unknown[REMOTE IP]
Jul 20 17:16:36 smtp postfix/smtp[12812]: A42EDD4323: to=<user@yahoo.com>, relay=mta7.am0.yahoodns.net[63.250.192.46]:25, delay=1.2, delays=0.04/0/0.21/0.98, dsn=2.0.0, status=sent (250 ok dirdel)
Jul 20 17:16:36 smtp postfix/qmgr[12792]: A42EDD4323: removed
What doesn't work, internal email:

Code:
Jul 20 17:15:32 smtp postfix/master[12787]: daemon started -- version 2.9.6, configuration /etc/postfix
Jul 20 17:15:55 smtp postfix/smtpd[12808]: connect from mail.domain1.com[REMOTE IP]
Jul 20 17:15:55 smtp postfix/smtpd[12808]: A61FAD4323: client=mail.domain1.com[REMOTE IP]
Jul 20 17:15:55 smtp postfix/cleanup[12811]: A61FAD4323: message-id=<d21879c0d64402672666e684b991551d@domain3.com>
Jul 20 17:15:55 smtp postfix/qmgr[12792]: A61FAD4323: from=<user@domain2.com>, size=1232, nrcpt=1 (queue active)
Jul 20 17:15:55 smtp postfix/smtpd[12808]: disconnect from mail.domain1.com[REMOTE IP]
Jul 20 17:15:55 smtp postfix/smtp[12812]: A61FAD4323: to=<user@domain1.com>, relay=mail.domain1.com[REMOTE IP]:25, delay=0.08, delays=0.05/0/0.01/0.02, dsn=5.0.0, status=bounced (host mail.provocativ.com[173.203.181.124] said: 530 SMTP authentication is required. (in reply to RCPT TO command))
Jul 20 17:15:55 smtp postfix/cleanup[12811]: B8757D4327: message-id=<20150720171555.B8757D4327@smtp.domain1.com>
Jul 20 17:15:55 smtp postfix/qmgr[12792]: B8757D4327: from=<>, size=3274, nrcpt=1 (queue active)
Jul 20 17:15:55 smtp postfix/bounce[12813]: A61FAD4323: sender non-delivery notification: B8757D4327
Jul 20 17:15:55 smtp postfix/qmgr[12792]: A61FAD4323: removed
Jul 20 17:15:55 smtp postfix/local[12814]: B8757D4327: to=<user@domain2.com>, relay=local, delay=0.01, delays=0/0/0/0, dsn=5.1.1, status=bounced (unknown user: "ez-proposal")
Jul 20 17:15:55 smtp postfix/qmgr[12792]: B8757D4327: removed
My main.cf

Code:
myhostname = smtp.domain1.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = smtp.domain1.com, localhost.domain1.com, domain2.com, localhost
relayhost =
mynetworks = 127.0.0.0/8 [REMOTE IP]/32 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtp_host_lookup = native
Again, any advice would be greatly appreciated...
 
Old 07-20-2015, 02:12 PM   #2
ceyx
Member
 
Registered: May 2009
Location: Fort Langley BC
Distribution: Kubuntu,Free BSD,OSX,Windows
Posts: 342

Rep: Reputation: 59
Quote:
530 SMTP authentication is required
Postfix is looking for the users password to access the service.
does your 'local' user that is trying to send the email have an account on the postfix machine ?

if not, look into postfix virtual ...
 
Old 07-20-2015, 02:38 PM   #3
dariusjd
LQ Newbie
 
Registered: Mar 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ceyx View Post
Postfix is looking for the users password to access the service.
does your 'local' user that is trying to send the email have an account on the postfix machine ?

if not, look into postfix virtual ...

Interesting. The accounts/mailboxes are stored on the remote host, or mail.domain1.com, a windows box running hMailServer. It is configured to relay all mail to the Postfix box. Do I need to set up users for each mailbox on the postfix server too?
 
Old 07-20-2015, 02:47 PM   #4
ceyx
Member
 
Registered: May 2009
Location: Fort Langley BC
Distribution: Kubuntu,Free BSD,OSX,Windows
Posts: 342

Rep: Reputation: 59
Quote:
It is configured to relay all mail to the Postfix box
no, in that case then look at

Quote:
relay_domains =
You have to somehow tell postfix who the 'good guys' are.

Relay_domains is one.
 
Old 07-20-2015, 02:53 PM   #5
dariusjd
LQ Newbie
 
Registered: Mar 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ceyx View Post
no, in that case then look at



You have to somehow tell postfix who the 'good guys' are.

Relay_domains is one.
so relay_domains should be defined as...

Code:
relay_domains = domain1.com domain2.com domain3.com
?
 
Old 07-20-2015, 03:25 PM   #6
ceyx
Member
 
Registered: May 2009
Location: Fort Langley BC
Distribution: Kubuntu,Free BSD,OSX,Windows
Posts: 342

Rep: Reputation: 59
Looks good to to me, see if postfix likes it
Make sure your DNS is setup properly :

Quote:
dig domain1.com
from the postfix server and make sure it resolves properly, or postfix will choke on it.

Last edited by ceyx; 07-20-2015 at 03:31 PM.
 
Old 07-21-2015, 06:58 AM   #7
dariusjd
LQ Newbie
 
Registered: Mar 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Unfortunately that did not do it. Here is an updated log, with verbosity, and my current main.cf file. I'm not even certain if those domains should even be in "mydestination" to be honest.

Code:
myhostname = smtp.domain1.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = smtp.domain1.com, localhost.domain1.com, mail.domain2.com, domain2.com, domain3.com, localhost
relayhost =
mynetworks = 127.0.0.0/8 [REMOTE IP]/32 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
relay_domains = domain1.com domain2.com domain3.com
smtp_host_lookup = native
#smtpd_relay_restrictions = permit_sasl_authenticated, reject_unauth_destination
smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination
mail.log

Code:
Jul 21 11:54:00 smtp postfix/smtpd[24825]: name_mask: all
Jul 21 11:54:00 smtp postfix/smtpd[24825]: inet_addr_local: configured 3 IPv4 addresses
Jul 21 11:54:00 smtp postfix/smtpd[24825]: inet_addr_local: configured 4 IPv6 addresses
Jul 21 11:54:00 smtp postfix/smtpd[24825]: process generation: 113 (113)
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: mynetworks ~? debug_peer_list
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: mynetworks ~? fast_flush_domains
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: mynetworks ~? mynetworks
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: relay_domains ~? debug_peer_list
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: relay_domains ~? fast_flush_domains
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: relay_domains ~? mynetworks
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: relay_domains ~? permit_mx_backup_networks
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: relay_domains ~? qmqpd_authorized_clients
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: relay_domains ~? smtpd_access_maps
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_list_match: relay_domains: no match
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: permit_mx_backup_networks ~? debug_peer_list
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: permit_mx_backup_networks ~? fast_flush_domains
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: permit_mx_backup_networks ~? mynetworks
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: permit_mx_backup_networks ~? permit_mx_backup_networks
Jul 21 11:54:00 smtp postfix/smtpd[24825]: connect to subsystem private/proxymap
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr request = open
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr table = unix:passwd.byname
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr flags = 0
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/proxymap socket: wanted attribute: status
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: status
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: 0
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/proxymap socket: wanted attribute: flags
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: flags
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: 16
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/proxymap socket: wanted attribute: (list terminator)
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: (end)
Jul 21 11:54:00 smtp postfix/smtpd[24825]: dict_proxy_open: connect to map=unix:passwd.byname status=0 server_flags=fixed
Jul 21 11:54:00 smtp postfix/smtpd[24825]: dict_open: proxy:unix:passwd.byname
Jul 21 11:54:00 smtp postfix/smtpd[24825]: Compiled against Berkeley DB: 5.1.29?
Jul 21 11:54:00 smtp postfix/smtpd[24825]: Run-time linked against Berkeley DB: 5.1.29?
Jul 21 11:54:00 smtp postfix/smtpd[24825]: dict_open: hash:/etc/aliases
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: smtpd_access_maps ~? debug_peer_list
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: smtpd_access_maps ~? fast_flush_domains
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: smtpd_access_maps ~? mynetworks
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: smtpd_access_maps ~? permit_mx_backup_networks
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: smtpd_access_maps ~? qmqpd_authorized_clients
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: smtpd_access_maps ~? smtpd_access_maps
Jul 21 11:54:00 smtp postfix/smtpd[24825]: unknown_helo_hostname_tempfail_action = defer_if_permit
Jul 21 11:54:00 smtp postfix/smtpd[24825]: unknown_address_tempfail_action = defer_if_permit
Jul 21 11:54:00 smtp postfix/smtpd[24825]: unverified_recipient_tempfail_action = defer_if_permit
Jul 21 11:54:00 smtp postfix/smtpd[24825]: unverified_sender_tempfail_action = defer_if_permit
Jul 21 11:54:00 smtp postfix/smtpd[24825]: name_mask: 0
Jul 21 11:54:00 smtp postfix/smtpd[24825]: auto_clnt_create: transport=local endpoint=private/tlsmgr
Jul 21 11:54:00 smtp postfix/smtpd[24825]: auto_clnt_open: connected to private/tlsmgr
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr request = seed
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr size = 32
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/tlsmgr: wanted attribute: status
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: status
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: 0
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/tlsmgr: wanted attribute: seed
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: seed
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: tVT2Zifx5lypebZazvnMhmtD7QPj6kgP2HYCnwWXRts=
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/tlsmgr: wanted attribute: (list terminator)
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: (end)
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr request = policy
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr cache_type = smtpd
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/tlsmgr: wanted attribute: status
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: status
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: 0
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/tlsmgr: wanted attribute: cachable
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: cachable
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: 1
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/tlsmgr: wanted attribute: (list terminator)
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: (end)
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: fast_flush_domains ~? debug_peer_list
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: fast_flush_domains ~? fast_flush_domains
Jul 21 11:54:00 smtp postfix/smtpd[24825]: auto_clnt_create: transport=local endpoint=private/anvil
Jul 21 11:54:00 smtp postfix/smtpd[24825]: connection established
Jul 21 11:54:00 smtp postfix/smtpd[24825]: master_notify: status 0
Jul 21 11:54:00 smtp postfix/smtpd[24825]: name_mask: resource
Jul 21 11:54:00 smtp postfix/smtpd[24825]: name_mask: software
Jul 21 11:54:00 smtp postfix/smtpd[24825]: connect from mail.domain1.com[[REMOTE IP]]
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_list_match: mail.domain1.com: no match
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_list_match: [REMOTE IP]: no match
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_list_match: mail.domain1.com: no match
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_list_match: [REMOTE IP]: no match
Jul 21 11:54:00 smtp postfix/smtpd[24825]: smtp_stream_setup: maxtime=300 enable_deadline=0
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_hostname: mail.domain1.com ~? 127.0.0.0/8
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_hostaddr: [REMOTE IP] ~? 127.0.0.0/8
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_hostname: mail.domain1.com ~? [REMOTE IP]/32
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_hostaddr: [REMOTE IP] ~? [REMOTE IP]/32
Jul 21 11:54:00 smtp postfix/smtpd[24825]: > mail.domain1.com[[REMOTE IP]]: 220 smtp.domain1.com ESMTP Postfix (Debian/GNU)
Jul 21 11:54:00 smtp postfix/smtpd[24825]: < mail.domain1.com[[REMOTE IP]]: HELO 682907-server1
Jul 21 11:54:00 smtp postfix/smtpd[24825]: > mail.domain1.com[[REMOTE IP]]: 250 smtp.domain1.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: < mail.domain1.com[[REMOTE IP]]: MAIL FROM:<user@domain2.com>
Jul 21 11:54:00 smtp postfix/smtpd[24825]: extract_addr: input: <user@domain2.com>
Jul 21 11:54:00 smtp postfix/smtpd[24825]: smtpd_check_addr: addr=user@domain2.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: connect to subsystem private/rewrite
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr request = rewrite
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr rule = local
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr address = user@domain2.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: flags
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: flags
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: 0
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: address
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: address
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: user@domain2.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: (list terminator)
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: (end)
Jul 21 11:54:00 smtp postfix/smtpd[24825]: rewrite_clnt: local: user@domain2.com -> user@domain2.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr request = resolve
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr sender =
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr address = user@domain2.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: flags
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: flags
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: 0
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: transport
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: transport
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: local
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: nexthop
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: nexthop
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: smtp.domain1.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: recipient
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: recipient
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: user@domain2.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: flags
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: flags
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: 256
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: (list terminator)
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: (end)
Jul 21 11:54:00 smtp postfix/smtpd[24825]: resolve_clnt: `' -> `user@domain2.com' -> transp=`local' host=`smtp.domain1.com' rcpt=`user@domain2.com' flags= class=local
Jul 21 11:54:00 smtp postfix/smtpd[24825]: ctable_locate: install entry key user@domain2.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: extract_addr: in: <user@domain2.com>, result: user@domain2.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: smtpd_check_rewrite: trying: permit_inet_interfaces
Jul 21 11:54:00 smtp postfix/smtpd[24825]: permit_inet_interfaces: mail.domain1.com [REMOTE IP]
Jul 21 11:54:00 smtp postfix/smtpd[24825]: fsspace: .: block size 4096, blocks free 4675118
Jul 21 11:54:00 smtp postfix/smtpd[24825]: smtpd_check_queue: blocks 4096 avail 4675118 min_free 0 msg_size_limit 10240000
Jul 21 11:54:00 smtp postfix/smtpd[24825]: > mail.domain1.com[[REMOTE IP]]: 250 2.1.0 Ok
Jul 21 11:54:00 smtp postfix/smtpd[24825]: < mail.domain1.com[[REMOTE IP]]: RCPT TO:<user@domain1.com>
Jul 21 11:54:00 smtp postfix/smtpd[24825]: extract_addr: input: <user@domain1.com>
Jul 21 11:54:00 smtp postfix/smtpd[24825]: smtpd_check_addr: addr=user@domain1.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr request = rewrite
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr rule = local
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr address = user@domain1.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: flags
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: flags
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: 0
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: address
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: address
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: user@domain1.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: (list terminator)
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: (end)
Jul 21 11:54:00 smtp postfix/smtpd[24825]: rewrite_clnt: local: user@domain1.com -> user@domain1.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr request = resolve
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr sender =
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr address = user@domain1.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: flags
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: flags
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: 0
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: transport
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: transport
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: relay
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: nexthop
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: nexthop
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: domain1.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: recipient
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: recipient
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: user@domain1.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: flags
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: flags
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: 2048
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: (list terminator)
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: (end)
Jul 21 11:54:00 smtp postfix/smtpd[24825]: resolve_clnt: `' -> `user@domain1.com' -> transp=`relay' host=`domain1.com' rcpt=`user@domain1.com' flags= class=relay
Jul 21 11:54:00 smtp postfix/smtpd[24825]: ctable_locate: install entry key user@domain1.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: extract_addr: in: <user@domain1.com>, result: user@domain1.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr request = rewrite
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr rule = local
Jul 21 11:54:00 smtp postfix/smtpd[24825]: send attr address = double-bounce
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: flags
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: flags
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: 0
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: address
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: address
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute value: double-bounce@smtp.domain1.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: private/rewrite socket: wanted attribute: (list terminator)
Jul 21 11:54:00 smtp postfix/smtpd[24825]: input attribute name: (end)
Jul 21 11:54:00 smtp postfix/smtpd[24825]: rewrite_clnt: local: double-bounce -> double-bounce@smtp.domain1.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: >>> START Recipient address RESTRICTIONS <<<
Jul 21 11:54:00 smtp postfix/smtpd[24825]: generic_checks: name=permit_sasl_authenticated
Jul 21 11:54:00 smtp postfix/smtpd[24825]: generic_checks: name=permit_sasl_authenticated status=0
Jul 21 11:54:00 smtp postfix/smtpd[24825]: generic_checks: name=permit_mynetworks
Jul 21 11:54:00 smtp postfix/smtpd[24825]: permit_mynetworks: mail.domain1.com [REMOTE IP]
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_hostname: mail.domain1.com ~? 127.0.0.0/8
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_hostaddr: [REMOTE IP] ~? 127.0.0.0/8
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_hostname: mail.domain1.com ~? [REMOTE IP]/32
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_hostaddr: [REMOTE IP] ~? [REMOTE IP]/32
Jul 21 11:54:00 smtp postfix/smtpd[24825]: generic_checks: name=permit_mynetworks status=1
Jul 21 11:54:00 smtp postfix/smtpd[24825]: >>> CHECKING RECIPIENT MAPS <<<
Jul 21 11:54:00 smtp postfix/smtpd[24825]: ctable_locate: leave existing entry key user@domain1.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: maps_find: recipient_canonical_maps: user@domain1.com: not found
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: domain1.com ~? smtp.domain1.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: domain1.com ~? localhost.domain1.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: domain1.com ~? mail.domain2.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: domain1.com ~? domain2.com
Jul 21 11:54:00 smtp postfix/smtpd[24825]: match_string: domain1.com ~? domain3.com
Jul 21 11:54:00 smtp postfix/cleanup[24828]: 8C7F4D433B: message-id=<bf6d34b7c615bc7458d62ff5dcb650e2@domain3.com>
Jul 21 11:54:00 smtp postfix/qmgr[30527]: 8C7F4D433B: from=<user@domain2.com>, size=1232, nrcpt=1 (queue active)
Jul 21 11:54:00 smtp postfix/smtp[24829]: 8C7F4D433B: to=<user@domain1.com>, relay=mail.domain1.com[[REMOTE IP]]:25, delay=0.08, delays=0.05/0.01/0.01/0.02, dsn=5.0.0, status=bounced (host mail.domain1.com[[REMOTE IP]] said: 530 SMTP authentication is required. (in reply to RCPT TO command))
Jul 21 11:54:00 smtp postfix/cleanup[24828]: A030CD433D: message-id=<20150721115400.A030CD433D@smtp.domain1.com>
Jul 21 11:54:00 smtp postfix/qmgr[30527]: A030CD433D: from=<>, size=3274, nrcpt=1 (queue active)
Jul 21 11:54:00 smtp postfix/bounce[24830]: 8C7F4D433B: sender non-delivery notification: A030CD433D
Jul 21 11:54:00 smtp postfix/qmgr[30527]: 8C7F4D433B: removed
Jul 21 11:54:00 smtp postfix/local[24831]: A030CD433D: to=<user@domain2.com>, relay=local, delay=0.01, delays=0/0/0/0, dsn=5.1.1, status=bounced (unknown user: "ez-proposal")
Jul 21 11:54:00 smtp postfix/qmgr[30527]: A030CD433D: removed
 
Old 07-21-2015, 02:20 PM   #8
ceyx
Member
 
Registered: May 2009
Location: Fort Langley BC
Distribution: Kubuntu,Free BSD,OSX,Windows
Posts: 342

Rep: Reputation: 59
Quote:
smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination
Comma's missing ?
 
  


Reply

Tags
debian stable, dns, postfix, smtp



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
Can't get Nagios 3.3.1 to send email Notifications but smtp port works fine in shell Kahndale Linux - General 1 12-16-2011 03:15 PM
[SOLVED] Moved offices. External websites/internal ssh both work, but internal http doesn't. jasonws Linux - Networking 3 08-04-2011 03:26 PM
How to config internal and external email using postfix cheesewizz Linux - Newbie 9 06-01-2011 01:26 AM
smtp proxy filter to external isp smtp leandronf Linux - Server 2 02-01-2010 04:42 AM
setup email client for internal and external mail access shadoxity Linux - Software 15 04-21-2005 08:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:59 PM.

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