Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
HI, I have been trying to get sqlgrey working with my postfix, but although indicates that it is installed correctly with no errors, I don't get any indication on the incoming emails in my maillog that it is indeed causing then to wait before being resent.
maillog
Mar 21 09:32:42 mercury2 sqlgrey: Process Backgrounded
Mar 21 09:32:42 mercury2 sqlgrey: 2008/03/21-09:32:42 sqlgrey (type Net::Server::Multiplex) starting! pid(7241)
Mar 21 09:32:42 mercury2 sqlgrey: Binding to TCP port 2501 on host localhost#012
Mar 21 09:32:42 mercury2 sqlgrey: Setting gid to "491 491"
Mar 21 09:32:42 mercury2 sqlgrey: Setting uid to "495"
Hi jimbo1708
not sure what you are asking but I have read the page you suggested, But find nothing new there that would help.
My maillog file is thus:
Mar 21 16:21:48 mercury2 postfix/smtpd[8510]: NOQUEUE: reject: RCPT from unknown[118.68.4.208]: 550 5.1.1 <aida@grantsbookshop.com.au>: Recipient address rejected: User unknown in virtual alias table; from=<htvx@bohse.com> to=<aida@grantsbookshop.com.au> proto=ESMTP helo=<[118.68.4.208]>
Mar 21 16:21:49 mercury2 postfix/smtpd[8510]:last message repeated 2 times
Mar 21 16:21:49 mercury2 postfix/smtpd[8510]: disconnect from unknown[118.68.4.208]
Mar 21 16:21:50 mercury2 postfix/smtpd[8620]: NOQUEUE: reject: RCPT from unknown[91.144.137.207]: 550 5.1.1
And I have seen that I should have a message in the maillog with every new connection indicating that the email should be resent, This is not there. Also I have checked the email server with dnsstuff and get an immediate connection where I should get a reply 451 or similar to indicate try again later.
I also tried postgrey on this server and had the same problem, everything installed and setup according to the information supplied, but no postgrey messages.
I also have another server, with a very similar fc8 install, but it worked fine first time with the postgrey.
I am stumped after spending the last 4 days on this.
Paul
Because sqlgrey is starting and running ok, maybe there are problems with it being able to access the database. Are you sure your permissions are set up properly?
Hi jimbo1708,
I had been using the default database SQLite, but setup and tried the mysql database as indicated in your link above, but still the same problem.
Just in case its relevant, I don't have amavis or clamv or spamassassin or any spam or virus checking installed.
My sqlgrey conf file contains:
## Database settings
# instead of Pg below use "mysql" for MySQL, "SQLite" for SQLite
# any DBD driver is allowed, but only the previous 3 have been tested
db_type = mysql
db_name = sqlgrey
# Note: the following are not used with SQLite
db_host = localhost
db_port = default
db_user = sqlgrey
db_pass = jab001
# db_cleandelay = 1800 # in seconds, how much time between database cleanups
The user and group is set to sqlgrey in the /etc/sqlgrey directory.
Also when I first installed sqlgrey it said clients_fqdn_whitelist.local and clients_ip_whitelist.local did not exist to I created these files, but they are both empty.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.