Hi,
Some times we see some messages to be rejected by postfix with erro RCPT from unknown
Solution.
RCPT from
unknown[some ip address]: 550 Client host rejected: cannot find your hostname
if you do
dig -x your ip +short
you will get some hostname as the dig output. (reverse dns)
Reverse DNS of your ip exists and points to some hostname, unfortunately the same host name does not exist in forward dns file. That is the reason why Postfix regards your host as “unknown”.
Don’t use reject_unknown_client in your postfix configuration. It may reject the valid mails also.
Friday, 22 January 2010
This message is looping: it already has my Delivered-To line. (#5.4.6)
DESC:
When I send a message now to a user on my server from an outside account.
I am getting this from qmail.
OBSERVATION:
You are probably forwarding mail to yourself.
SOLUTION:
Check your /var/qmail/control/smtproutes file to make sure you are not
sending mail to a relay which is sending back to you, and also look at
your forwarding files, .qmail, .qmail-default etc.
When I send a message now to a user on my server from an outside account.
I am getting this from qmail.
OBSERVATION:
You are probably forwarding mail to yourself.
SOLUTION:
Check your /var/qmail/control/smtproutes file to make sure you are not
sending mail to a relay which is sending back to you, and also look at
your forwarding files, .qmail, .qmail-default etc.
LWP failed with code[400] message[FTP return code 150]
Hi ,
M back,
while installing the cpan modules for perl , i was getting the above error.
so following below solution worked out for it.
Use the cpan command-line tool. This can also be invoked via the command
perl -MCPAN -e shell
In the shell, type
install
where is something like Time::HiRes or Tk.
If it hangs for ages whilst trying to download files over FTP, or get errors like
LWP failed with code[400] message[FTP return code 150]
then try setting the FTP_PASSIVE environment variable before running cpan:
export FTP_PASSIVE=1
You can visit my second blog : devenix.wordpress.com
M back,
while installing the cpan modules for perl , i was getting the above error.
so following below solution worked out for it.
Use the cpan command-line tool. This can also be invoked via the command
perl -MCPAN -e shell
In the shell, type
install
where
If it hangs for ages whilst trying to download files over FTP, or get errors like
LWP failed with code[400] message[FTP return code 150]
then try setting the FTP_PASSIVE environment variable before running cpan:
export FTP_PASSIVE=1
You can visit my second blog : devenix.wordpress.com
5.1.2 – Bad destination host ‘DNS Malformed Query Error looking up domain.com. (MX)
Resolution
Remove the trailing character from the recipient’s email address in the Address Book or in the To field.
example :
if ur sending to abc@example.com , you may be mistakenly using email address as abc@example.com. , a trailing dot can make this error to happen.
Remove the trailing character from the recipient’s email address in the Address Book or in the To field.
example :
if ur sending to abc@example.com , you may be mistakenly using email address as abc@example.com. , a trailing dot can make this error to happen.
error installing amavisd-new clamav on centos 5
Hi friends ,
m back
when trying to install amavisd-new on centos 5 , i was getting following error.
yum install amavisd-new spamassassin clamav clamd unzip bzip2 unrar
there is the message no match argument found.
So i googled few mins as usual and found the solution
Thing to check:
1. Check your /etc/yum.repos.d/
CentOS-Base.repo CentOS-Media.repo
Let say you already have this two repos.
To get the dag repo manually try this:
Use your favorite editor (vi or nano or etc) create rpmforge.repo
1. nano /etc/yum.repos.d/rpmforge.repo
2. Copy the code below and paste it into rpmforge.repo
# Name: RPMforge RPM Repository for Red Hat Enterprise 4 – dag
# URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever – RPMforge.net – dag
#baseurl = http://apt.sw.be/redhat/el4/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el4/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
3. Type this command
rpm –import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
This key will store in this directory /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag.
You may also download the GPG key manual and store it. Then just type “rpm –import RPM-GPG-KEY.dag.txt”
4. Type this command
yum –enablerepo=rpmforge list amavisd-new spamassassin clamav clamd unzip bzip2 unrar
still it gave me following error on centos 5 :
—> Package compat-db.i386 0:4.2.52-5.1 set to be updated
–> Running transaction check
–> Processing Dependency: lha for package: amavisd-new
–> Finished Dependency Resolution
Error: Missing Dependency: lha is needed by package amavisd-new
wget http://dag.wieers.com/rpm/packages/lha/lha-1.14i-19.2.2.el5.rf.i386.rpm
rpm -ivh lha-1.14i-19.2.2.el5.rf.i386.rpm
###############################################################################
yum –enablerepo=rpmforge install amavisd-new spamassassin clamav clamd unzip bzip2 unrar
###############################################################################
So i had a happy ending to my story, hope u liked the story.
Bye and enjoy with linux
tc
You can visit my second blog : devenix.wordpress.com
m back
when trying to install amavisd-new on centos 5 , i was getting following error.
yum install amavisd-new spamassassin clamav clamd unzip bzip2 unrar
there is the message no match argument found.
So i googled few mins as usual and found the solution
Thing to check:
1. Check your /etc/yum.repos.d/
CentOS-Base.repo CentOS-Media.repo
Let say you already have this two repos.
To get the dag repo manually try this:
Use your favorite editor (vi or nano or etc) create rpmforge.repo
1. nano /etc/yum.repos.d/rpmforge.repo
2. Copy the code below and paste it into rpmforge.repo
# Name: RPMforge RPM Repository for Red Hat Enterprise 4 – dag
# URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever – RPMforge.net – dag
#baseurl = http://apt.sw.be/redhat/el4/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el4/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
3. Type this command
rpm –import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
This key will store in this directory /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag.
You may also download the GPG key manual and store it. Then just type “rpm –import RPM-GPG-KEY.dag.txt”
4. Type this command
yum –enablerepo=rpmforge list amavisd-new spamassassin clamav clamd unzip bzip2 unrar
still it gave me following error on centos 5 :
—> Package compat-db.i386 0:4.2.52-5.1 set to be updated
–> Running transaction check
–> Processing Dependency: lha for package: amavisd-new
–> Finished Dependency Resolution
Error: Missing Dependency: lha is needed by package amavisd-new
wget http://dag.wieers.com/rpm/packages/lha/lha-1.14i-19.2.2.el5.rf.i386.rpm
rpm -ivh lha-1.14i-19.2.2.el5.rf.i386.rpm
###############################################################################
yum –enablerepo=rpmforge install amavisd-new spamassassin clamav clamd unzip bzip2 unrar
###############################################################################
So i had a happy ending to my story, hope u liked the story.
Bye and enjoy with linux
tc
You can visit my second blog : devenix.wordpress.com
SquirrelMail and Courier IMAP
Hi ,
I was getting error when dealing with courier imap and squirrelmail .
ERROR : Could not complete request. Query:CREATE "INBOX./Sent" Reason Given: Invalid mailbox name
To correct this for all your users and run ./conf.pl (must be run from config/ in Squirrelmail’s root dir) select option 3 then 1 and enter ‘none’ (without the quotes). Save your changes and exit.
That might fix it, but in the most current version (1.4.0) from the main screen in ./conf.pl choose “D” and then pick your imap server.
If you are still having problems maximize your PHP error reporting by editing php.ini and changing:
display_errors = on
error_reporting = E_ALL
Then restart your web server.
Hope this helps you all.
I was getting error when dealing with courier imap and squirrelmail .
ERROR : Could not complete request. Query:CREATE "INBOX./Sent" Reason Given: Invalid mailbox name
To correct this for all your users and run ./conf.pl (must be run from config/ in Squirrelmail’s root dir) select option 3 then 1 and enter ‘none’ (without the quotes). Save your changes and exit.
That might fix it, but in the most current version (1.4.0) from the main screen in ./conf.pl choose “D” and then pick your imap server.
If you are still having problems maximize your PHP error reporting by editing php.ini and changing:
display_errors = on
error_reporting = E_ALL
Then restart your web server.
Hope this helps you all.
How to resolve primary virus scanner (auto) error in Mailscanner
You may find you get an error like:
Unable to select a regular expression for your primary virus scanner (auto) – please see the examples in functions.php to create one.
This happens when you are using newer versions of MailScanner and have the auto setting turned on in your MailScanner.conf file. Edit the configuration and set the string for your virus scanner instead of using the auto setting like:
##Virus Scanners = auto
Virus Scanners = clamav
Unable to select a regular expression for your primary virus scanner (auto) – please see the examples in functions.php to create one.
This happens when you are using newer versions of MailScanner and have the auto setting turned on in your MailScanner.conf file. Edit the configuration and set the string for your virus scanner instead of using the auto setting like:
##Virus Scanners = auto
Virus Scanners = clamav
Subscribe to:
Posts (Atom)
