On Fri, Apr 05, 2002 at 02:53:50AM +0800, Suresh Ramasubramanian wrote:

>Rajesh Fowkar <[EMAIL PROTECTED]> writes:
>
>> What does the mailq show ?
>> g34AKlI05634      379 Thu Apr  4 15:50 <[EMAIL PROTECTED]>
>>                  (Deferred: Name server: www.dempos.com: host name
>>                  lookup fail) <[EMAIL PROTECTED]>
>
>Oh wait.  In your dialup mail queue?  That means it is not able to
>lookup www.dempos.com

I have got deliverymode=background, hence whenever any user sends his mail
a dns lookup takes place to deliver the mail and since the machine at that
time is not connected to the net the mail stays in the queue with the
deferred message.

>
>If you have a smarthost set ... just do this instead
>
>DS[ip.of.smtp.server]
>
>Or the definition of smarthost in sendmail.mc - replace www.dempos.com
>with [ip.of.that.machine] ... note the [] (domain literal format)
>
>I guess you are using my config which turns off dns lookups?  Or your
>webhost's dns is a bit screwed, or maybe your ISP's dns is screwed?

If I put the following in /etc/mail/service.switch

hosts files
aliases files

and put in /etc/mail/sendmail.mc the following :

define(`SMART_HOST', `[ip_here]')

and try to sendmail it gives me no route to host.

----------------------------------------------------
At present my /etc/mail/service.switch contains :

hosts dns files
aliases files

and

define(`SMART_HOST', `www.dempos.com')
----------------------------------------------------

With this mails are going fine. While in the queue it showed lookup
deferred. After connecting the mail goes.

>
>> If yes. than why in the above queue one mail is with the email id and the
>> other without ? (<>). As can be noticed both the above mails are sent at
>> the same time.
>
><> means that it is a bounce.

It will bounce to whom ? Only to postmaster ?

>
>if you masq as dempos.com mail will go out as [EMAIL PROTECTED] even if
>the machine is called ho.dempos.com

Yeh. That's ok. But in the queue it shows [EMAIL PROTECTED] That means
while actually sending the mail this [EMAIL PROTECTED] is converted to
[EMAIL PROTECTED] Correct.

One more thing. If some user sends the mail with from address as

[EMAIL PROTECTED] than it should be also masquaraded as
[EMAIL PROTECTED] and the mail should bounce if that user is not present.
How this can be done ? It looks like if the user changes the From id while
sending mail, it goes with that domain name rather than dempos.com.

Thanks for all the help.

Peace

--
Rajesh
:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : links console browser                          LOST #035

Links browser, supports frames and tables ...

For a reasonably good Console based browser visit here:
http://artax.karlin.mff.cuni.cz/~mikulas/links/

####<[EMAIL PROTECTED]>#######################################
:


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to