[Mimedefang] Sendmail problem..

Rajesh Bhandari BhandaR at mail.nlm.nih.gov
Mon Jan 13 09:58:01 EST 2003


Hi Mark,

I don't understand what you're trying to do, but here are some things I thought of while reading your message.  The extracts are from Sendmail.cf README (http://www.sendmail.org/m4/readme.html)

- Use FEATURE(redirect) - You can use this to have senders notified that they should use an alternate address
—-----------------
    redirect Reject all mail addressed to "address.REDIRECT" with a ``551 User has moved; please try <address>'' message. If this is set, you can alias people who have left to their new address with ".REDIRECT" appended.  
—-----------------

- Use Square Brackets [ ] in the mailertable
—-------------
  and on relay.machine use the mailertable: 

.domain		smtp:[gateway.domain]

The [square brackets] turn off MX records for this host only. If you didn't do this, the mailertable would use the MX record again, which would give you an MX loop. 
—-------------

Hope this helps
Rajesh

>>> M.Richardson at tk.parlement.nl 01/13/03 08:44AM >>>
Hi,

I am sorry to ask an off-topic question here but this is the most responsive
sendmail-related ML i know..

I recieve e-mail for a sub.domain.com only (that's the intend at least).
Sendmail automatically accepts mail for domain.com also and many people try
to send my clients mail on user at domain.com, in the current situation no
proper error message is generated...

Both domain.com and sub.domain.com have an MX record which points to
mail.domain.com while mail.domain.com is only configured to handle
sub.domain.com mail.
Now whenever someone mails to user at domain.com sendmail accepts the message,
next it will find that there is no rule in /etc/mailertable, it then falls
back to default behavior and checks the MX record for domain.com and tadaaa
mail loop as the MX record points to itself.

I tried generating a nouser error via the virtusertable, this doesn't work;
does nothing at all.
Same goes for address rewriting using the virtusertable (@domain.com
%1 at sub.domain.com).

OR my virtusertable is not processed by sendmail because of an .mc error,
but this is unlikely as the entry in sendmail.cf is ok, or it is not
processed because of the strange setup. 

What would be the proper way to handle this?
People mail to domain.com very often and i need proper error handling to
notify people that they should only mail to sub.domain.com.

Thanks for your time, and again sorry for the off-topic question.

Regards,

Mark Richardson.

************************************************************************
Tweede Kamer der Staten-Generaal
www.tweede-kamer.nl 
 
Aan dit bericht kunnen geen rechten worden ontleend.
Dit elektronisch bericht is uitsluitend bestemd voor de geadresseerde.
Als u dit bericht per abuis hebt ontvangen, wordt u verzocht het te
vernietigen en de afzender te informeren.
Wij adviseren u om bij twijfel over de juistheid of de volledigheid van
dit bericht contact op te nemen met afzender.

No rights can be derived from this message.
This electronic message is intended only for the addressee.
Should you have received this message in error, you are kindly
requested to delete it and inform the sender.
Should you question the accuracy or the completeness of this
message, you are advised to contact the sender.
************************************************************************





More information about the MIMEDefang mailing list