View Single Post
  #1  
Old 14th September 2008, 11:28
waf waf is offline
Junior Member
 
Join Date: Sep 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix relayhost trouble

Hi, I'm in charge of a postfix 2.5 server called club.school.edu at a university (school.edu). It is set to accept emails of the form clubmember@club.school.edu and redirect them to student's username@school.edu via a relayhost called emailrelay.school.edu. Every time someone sends an email to clubmember@club.school.edu the email correctly arrives at username@school.edu, but the sender gets an additional email from the school.edu email server that says:

-------
Delivery has failed to these recipients or distribution lists:

clubmember@club.school.edu
The recipient's e-mail address was not found in the recipient's e-mail system. Microsoft Exchange will not try to redeliver this message for you. Please check the e-mail address and try resending this message, or provide the following diagnostic text to your system administrator.
------

The mail.log entry on the club.school.edu server has the following
entry for the email:
Code:
to=<username@school.edu>, orig_to=<clubmember@club.school.edu>, relay=emailrelay.school.edu[<<ip redacted>>]:25, delay=0.42, delays=0.06/0.02/0.01/0.34, dsn=2.6.0, status=sent (250 2.6.0 <8199E5FF8EFA8B43AAE85CB33FD4ED780144150D@EVS-CCR.school.edu> Queued mail for delivery)
Does anybody know how I can prevent this error message from happening?

postconf -n gives the following
Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = yes
biff = no
config_directory = /etc/postfix
disable_vrfy_command = no
header_checks = regexp:/etc/postfix/header_checks
inet_interfaces = all
inet_protocols = ipv4
mailbox_command =
mailbox_size_limit = 0
mydestination = club.school.edu, localhost.school.edu, localhost, ,
mydomain = school.edu
myhostname = club.school.edu
mynetworks = 127.0.0.0/8 111.222.0.0/16
myorigin = /etc/mailname
notify_classes =
recipient_delimiter =
relayhost = emailrelay.school.edu
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname mail server
smtpd_client_restrictions = reject_unknown_client
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,
  reject_non_fqdn_hostname,
  reject_invalid_hostname,
  permit
smtpd_recipient_restrictions = reject_unauth_pipelining,
  reject_non_fqdn_recipient,
  reject_unknown_recipient_domain,
  permit_mynetworks,
  permit_sasl_authenticated,
  reject_unauth_destination
smtpd_sender_restrictions = permit_sasl_authenticated,
  permit_mynetworks,
  reject_non_fqdn_sender,
  reject_unknown_sender_domain,
  permit
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
my /etc/aliases file contains mappings of the style:
clubmember: username@school.edu

Thanks for any help!
Reply With Quote
Sponsored Links