Qmail Smtp problem

Taking care of your Linux box.
Post Reply
mejam
Havaldaar
Posts: 127
Joined: Sat Oct 18, 2008 12:30 pm
Location: Lahore
Contact:

Qmail Smtp problem

Post by mejam »

I am running qmail...i am having a problem with smtp...incomming mails are fine...i can recieve mails from every domain ...but i am not being able to send e-mails...it just sends mails to local domain....and whenever i try to send it to another domain....it queues up that mail....every time i try to send an email outside my domain it gets queued....i have allowed my local network in relay client....please tell me where is the issue...?
Regards
Abdulrehman
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

you didn't look at the log file and read the messages describing what happens to your outgoing mail.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
mejam
Havaldaar
Posts: 127
Joined: Sat Oct 18, 2008 12:30 pm
Location: Lahore
Contact:

Post by mejam »

This is what i can see from my log file.....mails are getting in queue....

tail -f /var/log/qmail/qmail-send/current

@400000004992ea970c77bbfc info msg 2032802: bytes 1443 from <abdulrehman@beaconet.net> qp 4815 uid 1008
@400000004992ea970cc6c65c starting delivery 269: msg 2032802 to local linuxgurru.com-test@linuxgurru.com
@400000004992ea970cc6e59c status: local 1/10 remote 0/255
@400000004992ea970f1628e4 delivery 269: success: did_0+0+1/
@400000004992ea970f17cec4 status: local 0/10 remote 0/255
@400000004992ea97102523fc end msg 2032802
@400000004992eb640ffc04a4 starting delivery 270: msg 2032772 to remote abdulrehman@beaconet.net
@400000004992eb640ffc1c14 status: local 0/10 remote 1/255
@400000004992eb780ffdbe0c delivery 270: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
@400000004992eb780ffe17e4 status: local 0/10 remote 0/255

Waiing for help....!
Regards
Abdulrehman
mejam
Havaldaar
Posts: 127
Joined: Sat Oct 18, 2008 12:30 pm
Location: Lahore
Contact:

Post by mejam »

Lambda bhai i figured it out...the problem was due to my DNS....SMTP is now fine...but there is an issue....i can only send e-mail to those domain that are listed in my "/var/qmail/control/rcpthosts" file....i want to send emails to all domains...i dont want this rcphosts file to tell my SMTP about the allowed domains...what should i do for that....
Regards
Abdulrehman
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

and does that happen with every domain, or just that one domain?

i hope you installed netqmail instead of qmail.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
mejam
Havaldaar
Posts: 127
Joined: Sat Oct 18, 2008 12:30 pm
Location: Lahore
Contact:

Post by mejam »

i read an article and managed to solve this too...the rcphost file only tells qmail from which domains to accept the e-mails...i am hosting 2 domain on my qmail.i listed these two domains in rcphosts...now from qmail i can send emails to anywhere except yahoo...i cant even send mail to yahoo even if i list yahoo in rcphosts.....and recieving is fine from every where....
Regards
Abdulrehman
x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

Post by x2oxen »

And what error msg pop up while you trying to send emails on yahoo. On yahoo sometimes it takes a little long to deliver.
Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com
mejam
Havaldaar
Posts: 127
Joined: Sat Oct 18, 2008 12:30 pm
Location: Lahore
Contact:

Post by mejam »

you are rite usman bhai...it has sent the email to yahoo but it has taken too long....its almost 12hrs later....
Regards
Abdulrehman
mejam
Havaldaar
Posts: 127
Joined: Sat Oct 18, 2008 12:30 pm
Location: Lahore
Contact:

Post by mejam »

another problem is with my IMAP...mailserver is working fine with POP and SMTP...but IMAP gives me authentication error....i am not able to send/recieve emails through IMAP....please help...!
Regards
Abdulrehman
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

which imap server is it?
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear mejam,
Salam,
mejam wrote:another problem is with my IMAP...mailserver is working fine with POP and SMTP...but IMAP gives me authentication error....i am not able to send/recieve emails through IMAP....please help...!
If you are running Courier-IMAP then make sure authdaemon is running.

# ps -auwx | grep authdaemon

or

# telnet localhost 106

Best Regards.
Farrukh Ahmed
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

also, if you use courier, you should seriously consider using dovecot instead.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Post Reply