Operating System - Linux
1823114 Members
3253 Online
109646 Solutions
New Discussion юеВ

Want to remove only `reserictqrun` in sendmail.mc

 
SOLVED
Go to solution
monu_1
Regular Advisor

Want to remove only `reserictqrun` in sendmail.mc

Gurus,

I want to run #sendmail -q command for operating queued mails which are still in /var/spool/mqueue.

thatwhy i have to configure this below configuration line as i think

define(`confPRIVACY_FLAGES', `authwarnings,novrfy,noexpn,restrictqrun')dnl

now question is that can i remove `restrictqrun' parameter in above line and rest is remain same.

Plz suggest me soon.

Thanks in Advance
MKS
6 REPLIES 6
Steven E. Protter
Exalted Contributor
Solution

Re: Want to remove only `reserictqrun` in sendmail.mc

Shalom,

I do not believe changing this parameter is going to do anything. At this point you don't know why the mail is not being delivered.

Take a look at /var/log/maillog and see. or run sendmail -q -v and see what the issue is.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
monu_1
Regular Advisor

Re: Want to remove only `reserictqrun` in sendmail.mc

thanks SEA,

after putting command sendmail -q -v

output is look like as
running var/spool/mqueue/lOMF2mZPO11373(sequence 5 of 545)
....Connection timed out with mail2.dest_domain.net.


and i also not getting telnet with above dest_domain.net on port 25

what should i do.it is too horrable to me last few days.

Plz reply me i will glad to u.

MKS

Matti_Kurkela
Honored Contributor

Re: Want to remove only `reserictqrun` in sendmail.mc

"Connection timed out with mail2.dest_domain.net" means that mail2.dest_domain.net did not answer when your server tried to connect to it.

This may mean several things:
- mail2.dest_domain.net server may be broken
- dest_domain.net's Internet connection may be broken
- there may be routing problems somewhere in the Internet between dest_domain.net and you

Unless you're a sysadmin of dest_domain.net, there is very little you can do about it.

If you can contact dest_domain.net's people by some other means (telephone? fax?), do so and see if they're aware of the problem.

If, for example, their entire datacenter has been destroyed by a fire, a flood or something major like that, then they might be busy fixing more important things at the moment.

If, on the other hand, they are not even aware of the problem (maybe outgoing and intra-company email works fine), they might appreciate being informed that something is wrong with their mail server.
MK
monu_1
Regular Advisor

Re: Want to remove only `reserictqrun` in sendmail.mc

Thanks Matti,

But I can ping above mail2.dest_domain.net server

64 bytes from mail2.dest_domain.net(XX.XX.XX.XX):icmp_seq=0 ttl=47 time=518 ms
64 bytes from mail2.dest_domain.net(XX.XX.XX.XX):icmp_seq=1 ttl=47 time=511 ms

and also send message in manual with other domain , messages are going.

Is there some bulk mail problem coz we are sending a lot of mail to above client domain.

MKS
Steve-Thompson
Regular Advisor

Re: Want to remove only `reserictqrun` in sendmail.mc

Hello Manoj

obviously we need to get some more information here.
I assume...
The mail server has been working and it "stopped" for some reason...

The best clue is "connection timeout" ...

SO
1
on the same LAN as the mail-server can you telnet into port 25 of the mail-server?
It should reply .... given the fact you've got useful messages in "maillog".

2
Is "iptables" of something similar configured on the mailserver?
Switch it off for testing ....

3
IS DNS working properly? Where is it running, on the same server?
do some checks with ej. nslookup.
(Ping will still work if the routes are configured and you ping an address... BUT sendmail need DNS working correctly)

4
Is there an external firewall. Has it been changed lately? Check the rules....

Annoying problem, I know how you feel!

Regards
Steven





monu_1
Regular Advisor

Re: Want to remove only `reserictqrun` in sendmail.mc

Thanks Steven,

Thanks for yr clue.
But that server is of our client.
Thatswhy we couldn't do nothing.

Regards,
mks