Hoping to get some guidance for resolving a relay problem.
Trying to setup postfix so that incoming email is relayed to the alias
"test" listed in the /etc/aliases. Want all mail to be relayed to other
accounts/users, ie gmail, yahoo, $mydomain
postconf -n output below. hostname/domain: altman.bu.edu
/etc/aliases --- ran newaliases several times
test: mfitz...@bu.edu, mfitzpa...@gmail.com
The user, test, does exist on the system, just as an alias entry.
If I send email from mfitzpat.bu.edu to t...@altman.bu.edu = email is
relayed/received at both x.bu.edu and x.gmail.com
If I send email from mfitzpat11.gmail.com to t...@altman.bu.edu = email
is only received at x.bu.edu account
Output from maillog says email is sent/relayed to gmail, but it is never
delivered... goes into a black hole... does not bounce back etc.
Mar 1 13:34:46 altman postfix/smtpd[20127]: connect from
mail-vx0-f169.google.com[209.85.220.169]
Mar 1 13:34:46 altman postfix/smtpd[20127]: setting up TLS connection
from mail-vx0-f169.google.com[209.85.220.169]
Mar 1 13:34:46 altman postfix/smtpd[20127]: TLS connection established
from mail-vx0-f169.google.com[209.85.220.169]: TLSv1 with cipher RC4-SHA
(128/128 bits)
Mar 1 13:34:46 altman postfix/smtpd[20127]: DB77596FC4:
client=mail-vx0-f169.google.com[209.85.220.169]
Mar 1 13:34:46 altman postfix/cleanup[20131]: DB77596FC4:
message-id=<cabnrs+rqmg6oxy7c+k6cdl4jqesyfpalkmap_byhjssmomr...@mail.gmail.com>
Mar 1 13:34:46 altman postfix/qmgr[18176]: DB77596FC4:
from=<mfitzpa...@gmail.com>, size=1852, nrcpt=1 (queue active)
Mar 1 13:34:46 altman postfix/local[20132]: DB77596FC4:
to=<mfitz...@bu.edu>, orig_to=<t...@altman.bu.edu>, relay=local,
delay=0.08, delays=0.08/0/0/0, dsn=2.0.0, status=sent (delivered to
command: /usr/bin/procmail -a "$EXTENSION")
Mar 1 13:34:46 altman postfix/cleanup[20131]: E962896FC7:
message-id=<cabnrs+rqmg6oxy7c+k6cdl4jqesyfpalkmap_byhjssmomr...@mail.gmail.com>
Mar 1 13:34:46 altman postfix/qmgr[18176]: E962896FC7:
from=<mfitzpa...@gmail.com>, size=1979, nrcpt=1 (queue active)
Mar 1 13:34:46 altman postfix/local[20132]: DB77596FC4:
to=<t...@altman.bu.edu>, relay=local, delay=0.09, delays=0.08/0/0/0.01,
dsn=2.0.0, status=sent (forwarded as E962896FC7)
Mar 1 13:34:46 altman postfix/qmgr[18176]: DB77596FC4: removed
Mar 1 13:34:47 altman postfix/smtp[20134]: certificate verification
failed for gmail-smtp-in.l.google.com: num=20:unable to get local issuer
certificate
Mar 1 13:34:47 altman postfix/smtp[20134]: certificate verification
failed for gmail-smtp-in.l.google.com: num=27:certificate not trusted
Mar 1 13:34:47 altman postfix/smtp[20134]: E962896FC7:
to=<mfitzpa...@gmail.com>, orig_to=<t...@altman.bu.edu>,
relay=gmail-smtp-in.l.google.com[74.125.115.27]:25, delay=0.35,
delays=0/0/0.21/0.13, dsn=2.0.0, status=sent (250 2.0.0 OK 1330626887
hn4si2701387vdb.114)
Mar 1 13:34:47 altman postfix/qmgr[18176]: E962896FC7: removed
Mar 1 13:35:16 altman postfix/smtpd[20127]: disconnect from
mail-vx0-f169.google.com[209.85.220.169]
I get this message in the maillog whether I send from my bu.edu or gmail
account... not sure if this is the culprit:
*Mar 1 13:34:47 altman postfix/smtp[20134]: certificate verification
failed for gmail-smtp-in.l.google.com: num=20:unable to get local issuer
certificate
Mar 1 13:34:47 altman postfix/smtp[20134]: certificate verification
failed for gmail-smtp-in.l.google.com: num=27:certificate not trusted
*
altman:/etc/postfix# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailbox_command = /usr/bin/procmail -a "$EXTENSION"
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
masquerade_domains = bu.edu
masquerade_exceptions = root, unix:passwduidunder3000.byname
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks = 127.0.0.0/8
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
recipient_delimiter = -
relay_domains = $mydestination
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_tls_CAfile = /etc/pki/tls/cert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/pki/tls/certs/altman.crt
smtpd_tls_key_file = /etc/pki/tls/private/altman.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
--
Thanks
Mary Ellen