All pastes #978857 Raw Edit

Relay Failure

public text v1 · immutable
·published 2008-04-09 21:36 UTC
rendered paste body
User and domain validation:

$ sudo /usr/sbin/postmap -q dorothy@holdenweb.com pgsql:/etc/postfix/virtual.cf 
dorothy@holdenweb.com
$ ^virtual^vmailbox^
sudo /usr/sbin/postmap -q dorothy@holdenweb.com pgsql:/etc/postfix/vmailbox.cf 
holdenweb.com/dorothy/Maildir/
$ sudo /usr/sbin/postmap -q holdenweb.com pgsql:/etc/postfix/vmdomains.cf 
holdenweb.com
$ 

Main.cf:

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = holdenwe.user.openhosting.com
mydomain = mail.holdenweb.com
myorigin = $myhostname
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
unknown_local_recipient_reject_code = 550
mynetworks_style = host
home_mailbox = Maildir/
debug_peer_level = 2
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/local/man
sample_directory = /etc/postfix
readme_directory = no
virtual_mailbox_domains = proxy:pgsql:/etc/postfix/vmdomains.cf
virtual_mailbox_base = /home/vmail
virtual_mailbox_maps = proxy:pgsql:/etc/postfix/vmailbox.cf
virtual_minimum_uid = 100
virtual_uid_maps = static:502
virtual_gid_maps = static:502
virtual_alias_maps = proxy:pgsql:/etc/postfix/virtual.cf
smtpd_sasl_type = dovecot
smtpd_sasl_path = /var/run/dovecot/auth-client
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination


Log file showing successful local and failed remote transfer

Apr  9 10:26:12 holdenwe postfix/smtpd[26483]: connect from pool-71-126-145-65.washdc.fios.verizon.net[71.126.145.65]
Apr  9 10:26:12 holdenwe postfix/smtpd[26483]: EB2CD85DE87: client=pool-71-126-145-65.washdc.fios.verizon.net[71.126.145.65]
Apr  9 10:26:13 holdenwe postfix/cleanup[26493]: EB2CD85DE87: message-id=<85DA9118C3FA4E77BF1CBF35B8F734A9@lifeboy>
Apr  9 10:26:13 holdenwe postfix/qmgr[3731]: EB2CD85DE87: from=<dorothy@holdenweb.com>, size=2182, nrcpt=1 (queue active)
Apr  9 10:26:13 holdenwe spamd[7354]: spamd: connection from localhost [127.0.0.1] at port 55448
Apr  9 10:26:13 holdenwe spamd[7354]: spamd: setuid to spamfilter succeeded
Apr  9 10:26:13 holdenwe spamd[7354]: spamd: processing message <85DA9118C3FA4E77BF1CBF35B8F734A9@lifeboy> for spamfilter:503
Apr  9 10:26:16 holdenwe postfix/smtpd[26483]: disconnect from pool-71-126-145-65.washdc.fios.verizon.net[71.126.145.65]
Apr  9 10:26:16 holdenwe spamd[7354]: spamd: clean message (2.6/5.0) for spamfilter:503 in 2.7 seconds, 2137 bytes.
Apr  9 10:26:16 holdenwe spamd[7354]: spamd: result: . 2 - AWL,BAYES_50,HTML_90_100,HTML_MESSAGE,MIME_HTML_MOSTLY,RCVD_IN_SORBS_DUL scantime=2.7,size=2137,user=spamfilter,uid=503,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=55448,mid=<85DA9118C3FA4E77BF1CBF35B8F734A9@lifeboy>,bayes=0.49700530200513,autolearn=no
Apr  9 10:26:16 holdenwe spamd[26386]: prefork: child states: II
Apr  9 10:26:16 holdenwe postfix/pickup[15548]: 558C585E3ED: uid=503 from=<dorothy@holdenweb.com>
Apr  9 10:26:16 holdenwe postfix/pipe[26496]: EB2CD85DE87: to=<steve@holdenweb.com>, relay=spamfilter, delay=3.4, delays=0.61/0/0/2.8, dsn=2.0.0, status=sent (delivered via spamfilter service)
Apr  9 10:26:16 holdenwe postfix/qmgr[3731]: EB2CD85DE87: removed
Apr  9 10:26:16 holdenwe postfix/cleanup[26493]: 558C585E3ED: message-id=<85DA9118C3FA4E77BF1CBF35B8F734A9@lifeboy>
Apr  9 10:26:16 holdenwe postfix/qmgr[3731]: 558C585E3ED: from=<dorothy@holdenweb.com>, size=2571, nrcpt=1 (queue active)
Apr  9 10:26:16 holdenwe postfix/virtual[26606]: 558C585E3ED: to=<steve@holdenweb.com>, relay=virtual, delay=2.9, delays=2.9/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to maildir)
Apr  9 10:26:16 holdenwe postfix/qmgr[3731]: 558C585E3ED: removed
Apr  9 10:26:18 holdenwe postfix/smtpd[26483]: connect from pool-71-126-145-65.washdc.fios.verizon.net[71.126.145.65]
Apr  9 10:26:18 holdenwe postfix/smtpd[26483]: NOQUEUE: reject: RCPT from pool-71-126-145-65.washdc.fios.verizon.net[71.126.145.65]: 554 5.7.1 <sholden@starship.python.net>: Relay access denied; from=<dorothy@holdenweb.com> to=<sholden@starship.python.net> proto=ESMTP helo=<lifeboy>
Apr  9 10:26:21 holdenwe postfix/smtpd[26483]: disconnect from pool-71-126-145-65.washdc.fios.verizon.net[71.126.145.65]