On Wed, 4 Jun 2003, Christopher Mahmood wrote:
* Jeff Harris (linux@rallycentral.us) [030604 12:17]:
It looks like you didn't add rallycentral.us to $mydestination but it could be other things as well. Please send the output of /usr/sbin/postconf .
That was it exactly. For some reason, I thought I read something in
Hi Jeff, I use Postfix with Amavisd-new, SpamAssasin, Razor and DCC and it works great for me. You can find an excellent how-to at http://lawmonkey.org/anti-spam.html. This how-to is for OpenBSD but you can easy port it to Linux. You should read it before you start. I did it this way: cd /usr/local/src wget http://www.ijs.si/software/amavisd/amavisd-new-<version>.tar.gz tar xzvf amavisd-new-<version>.tar.gz cd amavisd-new-<version> useradd -o -g nogroup -u 65 -s /bin/false -c "Vscan account" -d /var/spool/vscan vscan mkdir /var/spool/vscan chown vscan:root /var/spool/vscan chmod 700 /var/spool/vscan cp amavisd /usr/sbin chown root:root /usr/sbin/amavisd chmod 755 /usr/sbin/amavisd cp amavisd.conf /etc/ chown vscan:root /etc/amavisd.conf chmod 600 /etc/amavisd.conf mkdir /var/spool/vscan/virusmails chown vscan:root /var/spool/vscan/virusmails chmod 700 /var/spool/vscan/virusmails mkdir /var/spool/vscan/amavis touch /var/spool/vscan/amavis/amavis.log chown -R vscan:root /var/spool/vscan/amavis chmod 700 /var/spool/vscan/amavis mkdir /var/spool/vscan/.spamassassin touch /var/spool/vscan/.spamassassin/user_prefs chown -R vscan:root /var/spool/vscan/.spamassassin edit the amavisd configuration-file (/etc/amavisd.conf): $MYHOME='/var/spool/vscan'; $MYDOMAIN='your-domain.name'; daemon_group='nogroup'; forward_method='127.0.0.1:10025'; notify_method=$forward_method; @bypass_virus_checks_acl=gw( . ); #This disables all virus checking code $LOGFILE="$MYHOME/amavis/amavis.log"; $QUARANTINEDIR='/var/spool/vscan/virusmails'; For a first test you can now start amavisd with /usr/sbin/amavisd debug and make a smtp-telnet-session to 127.0.0.1 10024 Postfix configuration: /etc/postfix/master.cf localhost:10025 inet n - y - - smtp -o content_filter= vscan unix - - y - 2 lmtp -o smtp_data_done_timeout=1200 -o disable_dns_lookups=yes /etc/postfix/main.cf content_filter=vscan:[127.0.0.1]:10024 For the configuration of spamassasin, razor and dcc you can use the how-to at lawmonkey.org -----Ursprüngliche Nachricht----- Von: Jeff Harris [mailto:linux@rallycentral.us] Gesendet: Mittwoch, 4. Juni 2003 21:43 An: suse-security@suse.com Betreff: Re: [suse-security] Postfix errors[Scanned] -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 4 Jun 2003, Jeff Harris wrote: the
main.cf that $mydomian would be prepended to $mydestination. The output of /usr/sbin/postconf is pretty long. Is there anything in particular to look for? And, should I be using main.cf or main.cf.SuSEconfig?
It's appears to be working now, since I sent this message to myself. For my next trick, spamassassin. Any tips before I break my machine again? <g> - -- Registered Linux user #304026. "lynx -source http://www.rallycentral.us/~linux/jharris.asc | gpg --import" or "gpg --keyserver pgp.mit.edu --recv-key BD23A31E" Key fingerprint = FB8C 3210 8DE1 78F4 6505 5918 0C34 BE94 BD23 A31E -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQE+3kvVDDS+lL0jox4RAv8GAJ46vU+2jdehKjSvHRs/dNO4vASVuwCfTNdq JEXrUMU3zd/B1q/nDCtfYgo= =1Ecb -----END PGP SIGNATURE----- -- Check the headers for your unsubscription address For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here