LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2008, 10:29 PM   #61
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122

Went back to post 1 and I see it's F8.

Do you have saslauthd running?
 
Old 11-11-2008, 06:45 PM   #62
bittus
Member
 
Registered: Aug 2006
Posts: 153

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by billymayday View Post
Went back to post 1 and I see it's F8.

Do you have saslauthd running?
Yes buddy it is FC8 and I can see saslauthd is running. . . . .

Code:
# ps -ef | grep saslauth
root     15154     1  0 Oct26 ?        00:00:00 saslauthd -a getpwent
root     15155 15154  0 Oct26 ?        00:00:00 saslauthd -a getpwent
root     15156 15154  0 Oct26 ?        00:00:00 saslauthd -a getpwent
root     15157 15154  0 Oct26 ?        00:00:00 saslauthd -a getpwent
root     15158 15154  0 Oct26 ?        00:00:00 saslauthd -a getpwent
root     26341 26310  0 15:43 pts/0    00:00:00 grep saslauth

Last edited by bittus; 11-11-2008 at 06:46 PM.
 
Old 11-11-2008, 07:03 PM   #63
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Can you respond to post #60 pls
 
Old 11-11-2008, 08:44 PM   #64
bittus
Member
 
Registered: Aug 2006
Posts: 153

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by billymayday View Post
Can you show "postconf -a"

Did you build postfix yourself? If not what distro are you on?
Sorry that I dint see this post.

Quote:
# postconf -a
dovecot
Postfix was built by me. Version as per conf is (mail_version = )2.5.1
 
Old 11-11-2008, 09:26 PM   #65
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Looks like you didn't build saslauth in (it's cyrus). See http://www.postfix.org/SASL_README.html#build_postfix
 
Old 11-12-2008, 09:03 PM   #66
bittus
Member
 
Registered: Aug 2006
Posts: 153

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by billymayday View Post
Looks like you didn't build saslauth in (it's cyrus). See http://www.postfix.org/SASL_README.html#build_postfix
Thats true, I dint build cyrus at the time of installation of postfix. But later I tried upgrading postfix with cyrus. Everything went on fine at the time of upgradation. But now when u told this, I doubt if it is succesful or not. How can I confirm it ?

If not successful, can I upgrade/update existing postfix with cyrus ?
 
Old 11-12-2008, 09:09 PM   #67
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You should just have to rebuild with the flags given in that link, ie:
Code:
% make tidy # if you have left-over files from a previous build
% make makefiles CCARGS="-DUSE_SASL_AUTH -DUSE_CYRUS_SASL \
    -I/usr/local/include/sasl" AUXLIBS="-L/usr/local/lib -lsasl2"
(actually, the paths are probably /usr/include and /usr/lib), and check with "postconf -a". I'd be conservatrive and use a "make clean" as well.

Code:
# postconf -a
cyrus
dovecot

Last edited by billymayday; 11-12-2008 at 09:10 PM.
 
Old 11-12-2008, 10:10 PM   #68
bittus
Member
 
Registered: Aug 2006
Posts: 153

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by billymayday View Post
You should just have to rebuild with the flags given in that link, ie:
Code:
% make tidy # if you have left-over files from a previous build
% make makefiles CCARGS="-DUSE_SASL_AUTH -DUSE_CYRUS_SASL \
    -I/usr/local/include/sasl" AUXLIBS="-L/usr/local/lib -lsasl2"
(actually, the paths are probably /usr/include and /usr/lib), and check with "postconf -a". I'd be conservatrive and use a "make clean" as well.

Code:
# postconf -a
cyrus
dovecot
Ok buddy. Did all those and my postconf -a is exactly what you mentioned. Now shall I try enabling sasl in main.cf ?

Meanwhile, I didn't understand what the command

make makefiles CCARGS="-DUSE_SASL_AUTH -DUSE_CYRUS_SASL \
-I/usr/local/include/sasl" AUXLIBS="-L/usr/local/lib -lsasl2"

does. Is there any detailed information on this ?
 
Old 11-12-2008, 10:18 PM   #69
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Try sasl again.

The short answer is you are generating a makefile and telling it what arguments you want passed to the compiler.

The alternative answer is, aside from the link I already gave you, not that I have.
 
Old 11-13-2008, 06:44 PM   #70
bittus
Member
 
Registered: Aug 2006
Posts: 153

Original Poster
Rep: Reputation: 15
Now I get a msg "Helo command rejected: need fully-qualified hostname"

Maillog

Quote:
# tail -f /var/log/maillog
Nov 13 16:45:00 MYHOST postfix/postfix-script[21317]: starting the Postfix mail system
Nov 13 16:45:00 MYHOST postfix/master[21318]: daemon started -- version 2.5.1, configuration /etc/postfix
Nov 13 16:45:00 MYHOST postfix/nqmgr[21320]: warning: please update the /etc/postfix/master.cf file; the new queue manager
Nov 13 16:45:00 MYHOST postfix/nqmgr[21320]: warning: (old name: nqmgr) has become the standard queue manager (new name: qmgr)
Nov 13 16:45:00 MYHOST postfix/nqmgr[21320]: warning: support for the name old name (nqmgr) will be removed from Postfix
Nov 13 16:45:00 MYHOST postfix/nqmgr[21320]: warning: bounce_queue_lifetime is larger than maximal_queue_lifetime - adjusting bounce_queue_lifetime

Last edited by bittus; 11-13-2008 at 07:47 PM.
 
Old 11-13-2008, 07:36 PM   #71
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Can you show the exact message and those around it.

What is the hostname you are using? You blanked it out earlier.
 
Old 11-13-2008, 07:52 PM   #72
bittus
Member
 
Registered: Aug 2006
Posts: 153

Original Poster
Rep: Reputation: 15
Outlook reports:

The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'bimal@MYDOMAIN.com'. Subject 'test', Account: 'mail.MYDOMAIN.com', Server: 'mail.MYDOMAIN.com', Protocol: SMTP, Server Response: '554 5.5.2 <simi>: Helo command rejected: need fully-qualified hostname', Port: 25, Secure(SSL): No, Server Error: 554, Error Number: 0x800CCC79
 
Old 11-13-2008, 07:53 PM   #73
bittus
Member
 
Registered: Aug 2006
Posts: 153

Original Poster
Rep: Reputation: 15
The hostname given is MYHOST.MYDOMAIN.com. Its not blanked.

The outputs of commands

1) hostname
2) hostname -f
3) postconf -n | grep hostname

are all the same.

Last edited by bittus; 11-13-2008 at 08:03 PM.
 
Old 11-13-2008, 08:13 PM   #74
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by bittus View Post
The hostname given is MYHOST.MYDOMAIN.com. Its not blanked.
I was looking at the output of postconf -n on page 3.

Anyway, what's the story with your master.cf? Did you copy it from an older installation - may be worth starting with a fresh copy and replacing what you have. That's the real problem though.

Read 3.6 of http://www.ietf.org/rfc/rfc2821.txt

I doubt you are meeting the requirement from the sender side.

You may want to reconsider the HELO restriction.
 
Old 11-13-2008, 08:19 PM   #75
bittus
Member
 
Registered: Aug 2006
Posts: 153

Original Poster
Rep: Reputation: 15
You are right. I copied master.conf from my old server. Is it okay that I just create a new one using vi or vim ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Trap all outgoing mail of all user of my mail server singh_chitranjan Linux - Server 1 07-09-2008 07:15 AM
Outgoing Only mail server using Postfix opnsrc Linux - Networking 0 06-15-2006 11:37 AM
Server-wide outgoing mail filter mccomber Linux - Networking 1 11-02-2005 09:04 PM
Timeout response from RH/SM mail server from mail client Mordanthanus Linux - Networking 0 05-09-2005 12:16 PM
Can i copy outgoing mail on the server? Dman33 Linux - Software 1 07-09-2004 12:45 PM


All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration