On Sat, 5 Feb 2000, Dinesh Shah wrote:
> When I generate sendmail.cf from this it does not function as per my
> requirement.
> When I send mail from clients clients recieve error 'relaying denied' (Clients
> set from: address as [EMAIL PROTECTED])
> When I fetch mail usinf fetchmail all my mail go to postmaster/root rather
> then getting distributed in individual mail boxes.
What you've described is identical to my setup, except I use QMail. I too
tried to configure sendmail according to the article you mention, but
failed and so switched.
For "relaying denied":
Edit /etc/hosts.allow to include your local IP range (I think this may be
necessary) and read the relaying bits on sendmail.org. They have very
comprehensive and easy to read docs.
For mails going to postmaster:
Check your sendmail.cw - it should include yourdomain.com,
host.yourdomain.com and any other domain you care to receive mail for.
Also check your .fetchmailrc - the user line should look something like:
user blah with pass foo is * here
The "*" makes the mail distribute to local users according to who it was
originally addressed to. One pitfall in this method: (for me anyway) My
mail system also needs to send mail to other sites, with the same domain
name, so any mail to mydomain.com, but not deliverable to a local user,
goes to a smart SMTP host to forward it along. Here's the booboo:
Say some mail is addressed to [EMAIL PROTECTED] and CCed
to [EMAIL PROTECTED], where the latter is at another site... the mail
comes in.. gets delivered to me.. sees the CC to the same domain, to an
unrecognizable user.. and queues for retransmission outside, creating some
fundu mail loops. The fix is to list all your local users in .fetchmailrc
like so:
user blah with pass foo is user1 user2 user3 user4 here
Hope this solves part of your problems.
-------------
Tushar Burman
Linux evangelist, friend to animals.
[EMAIL PROTECTED]
icq: 2382187
(ht|f)tp://bits.fuhq.net
PGP Key signature: 2D28 2E13 8576 4BEF 531A 0CBA 3D2F 5148 ECCF 792E
To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list
button and fill the appropriate information
and submit. For any other queries contact the ML maintener