Re: Postfix/procmail/fetchmail/spamassassin setup
# [EMAIL PROTECTED] / 2003-11-23 14:51:30 -0800: Other hints: Check /var/log/maillog (and post some lines from the tail if you still can fix your problem). A'ha! What do I do here to fix this? (I think I should have changed the alias database from alias_maps = dbm:/etc/aliases to alias_maps = hash:/etc/aliases - or should that be nis or netinfo?) Here is the output: -- Nov 23 14:44:12 ancient postfix/master[69957]: warning: process /usr/local/libexec/postfix/smtpd pid 81358 exit status 1 Nov 23 14:44:12 ancient postfix/master[69957]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling Nov 23 14:45:12 ancient postfix/smtpd[81362]: fatal: unsupported dictionary type: dbm the type you should've used of course depends on the actual type of the map. i'd bet it's hash in your case. Is the postfix daemon listening on port 25? Are you able to telnet there: % telnet localhost 25 Telnet'd with no problems. so you say you were able to perform complete SMTP dialogue with the postfix smtpd that your maillog shows committing suicide over and over? i'd love to see it. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix/procmail/fetchmail/spamassassin setup
+++ Jonas Manalive [freebsd] [23-11-03 13:54 -0800]: | Hello, | | I am having terrible time trying to figure out why I can't get any | emails. I used to be able to receive them before, but since reinstalling | FreeBSD (new harddrive), I am not able to get any emails again. I am | using FreeBSD 5.1 - standalone computer with me as the sole user. With | postfix, I want to use fetchmail to fetch mails and procmail to deliver | them and spamassassin to examine them. I want the procmail/postfix to | send them to /var/mail/manalive. Here are the configurations | (username/password changed of course :) ) and let me know where I am | doing wrong. There is no procmail.log file. I have stopped, started, and | reloaded the postfix after configuring. Any other configurations you | need to see, please let me know! | | Thanks! | | Jonas | | -- | rc.conf | | hostname=ancient.mariner.sea | ifconfig_vr0=DHCP | ipv6_enable=YES | kern_securelevel_enable=NO | saver=daemon | sendmail_enable=NONE | sshd_enable=YES | usbd_enable=YES | linux_enable=YES | inetd_enable=NO | from /usr/ports/mail/postfix/pkg-message If you have postfix configured in your /etc/mail/mailer.conf (answered yes to the previous question) and would like to enable postfix to start at boot time, please set these variables in your /etc/rc.conf file: sendmail_enable=YES sendmail_flags=-bd sendmail_outbound_enable=NO sendmail_submit_enable=NO sendmail_msp_queue_enable=NO This will disable Sendmail completely. Regards, Shantanoo ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Postfix/procmail/fetchmail/spamassassin setup
Hello, I am having terrible time trying to figure out why I can't get any emails. I used to be able to receive them before, but since reinstalling FreeBSD (new harddrive), I am not able to get any emails again. I am using FreeBSD 5.1 - standalone computer with me as the sole user. With postfix, I want to use fetchmail to fetch mails and procmail to deliver them and spamassassin to examine them. I want the procmail/postfix to send them to /var/mail/manalive. Here are the configurations (username/password changed of course :) ) and let me know where I am doing wrong. There is no procmail.log file. I have stopped, started, and reloaded the postfix after configuring. Any other configurations you need to see, please let me know! Thanks! Jonas -- .fetchmailrc - set logfile /home/manalive/Logs/fetchmail.log set postmaster manalive set no bouncemail # Poll at 15 minute intervals set daemon 900 poll pop.mail.com proto POP3 user [EMAIL PROTECTED] pass password is manalive here fetchall no keep poll pop.mail.com proto POP3 user [EMAIL PROTECTED] pass password is manalive here no fetchall keep -- .forward - |IFS=' ' p=/usr/local/bin/procmail test -f $p exec $p -Yf- || exit 75 manalive --- .procmailrc SHELL=/bin/sh PATH=/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/sbin:/usr/games DEFAULT=/var/mail/manalive LOGFILE=/home/manalive/Logs/procmail.log VERBOSE=YES :0fw: spamassassin.lock * 100 | spamassassin --- fetchmail.log -- fetchmail: starting fetchmail 6.2.5 daemon fetchmail: 6.2.5 querying pop.mail.com (protocol POP3) at Sun Nov 23 13:12:33 2003: poll started fetchmail: POP3 +OK MAIL POP3 StreamProxy ready [EMAIL PROTECTED] fetchmail: POP3 CAPA fetchmail: POP3 -ERR Unknown command. fetchmail: Unknown command. fetchmail: Repoll immediately on [EMAIL PROTECTED]@pop.mail.com fetchmail: POP3 +OK GMX POP3 StreamProxy ready [EMAIL PROTECTED] fetchmail: POP3 USER [EMAIL PROTECTED] fetchmail: POP3 +OK May I have your password, please? fetchmail: POP3 PASS * fetchmail: POP3 +OK mailbox has 326 messages (1419792 octets) fetchmail: POP3 STAT fetchmail: POP3 +OK 326 1419792 fetchmail: 326 messages for [EMAIL PROTECTED] at pop.mail.com (1419792 octets). fetchmail: POP3 LIST 1 fetchmail: POP3 +OK 1 4551 fetchmail: POP3 RETR 1 fetchmail: POP3 +OK message follows fetchmail: reading message [EMAIL PROTECTED]@pop.mail.com:1 of 326 (4551 octets) fetchmail: smtp listener protocol error fetchmail: terminated with signal 15 fetchmail: starting fetchmail 6.2.5 daemon fetchmail: 326 messages for [EMAIL PROTECTED] at pop.mail.com (1419792 octets). fetchmail: reading message [EMAIL PROTECTED]@pop.mail.com:1 of 326 (4551 octets) fetchmail: SMTP connect to localhost failed fetchmail: SMTP transaction error while fetching from pop.mail.com fetchmail: Query status=10 (SMTP) fetchmail: 1 message for [EMAIL PROTECTED] at pop.mail.com (26611 octets). fetchmail: reading message [EMAIL PROTECTED]@pop.mail.com:1 of 1 (26611 octets) fetchmail: SMTP connect to localhost failed fetchmail: SMTP transaction error while fetching from pop.mail.com --- main.cf for postfix (with #lines removed) soft_bounce = no queue_directory = /var/spool/postfix command_directory = /usr/local/sbin daemon_directory = /usr/local/libexec/postfix mail_owner = postfix myhostname = ancient.mariner.sea myorigin = $mydomain inet_interfaces = all mydestination = $myhostname, localhost.$mydomain unknown_local_recipient_reject_code = 450 alias_maps = dbm:/etc/aliases home_mailbox = Mailbox mail_spool_directory = /var/mail mailbox_command = /usr/local/bin/procmail debug_peer_level = 2 sendmail_path = /usr/local/sbin/sendmail newaliases_path = /usr/local/bin/newaliases mailq_path = /usr/local/bin/mailq setgid_group = maildrop manpage_directory = /usr/local/man sample_directory = /usr/local/etc/postfix readme_directory = no -- rc.conf hostname=ancient.mariner.sea ifconfig_vr0=DHCP ipv6_enable=YES kern_securelevel_enable=NO saver=daemon sendmail_enable=NONE sshd_enable=YES usbd_enable=YES linux_enable=YES inetd_enable=NO -- /etc/aliases --- [among other things... I have included] root: manalive postfix: root ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix/procmail/fetchmail/spamassassin setup
Hi, could you please verfiy your postfix configuration using `postfix check'? Perhaps this will show some errors. Other hints: Check /var/log/maillog (and post some lines from the tail if you still can fix your problem). Is the postfix daemon listening on port 25? Are you able to telnet there: % telnet localhost 25 Simon signature.asc Description: Digital signature
Re: Postfix/procmail/fetchmail/spamassassin setup
could you please verfiy your postfix configuration using `postfix check'? Perhaps this will show some errors. No errors. Other hints: Check /var/log/maillog (and post some lines from the tail if you still can fix your problem). A'ha! What do I do here to fix this? (I think I should have changed the alias database from alias_maps = dbm:/etc/aliases to alias_maps = hash:/etc/aliases - or should that be nis or netinfo?) Here is the output: -- Nov 23 14:44:12 ancient postfix/master[69957]: warning: process /usr/local/libexec/postfix/smtpd pid 81358 exit status 1 Nov 23 14:44:12 ancient postfix/master[69957]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling Nov 23 14:45:12 ancient postfix/smtpd[81362]: fatal: unsupported dictionary type: dbm Nov 23 14:45:13 ancient postfix/master[69957]: warning: process /usr/local/libexec/postfix/smtpd pid 81362 exit status 1 Nov 23 14:45:13 ancient postfix/master[69957]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling Nov 23 14:46:13 ancient postfix/smtpd[81363]: fatal: unsupported dictionary type: dbm Nov 23 14:46:14 ancient postfix/master[69957]: warning: process /usr/local/libexec/postfix/smtpd pid 81363 exit status 1 Nov 23 14:46:14 ancient postfix/master[69957]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling Nov 23 14:47:14 ancient postfix/smtpd[81367]: fatal: unsupported dictionary type: dbm Nov 23 14:47:15 ancient postfix/master[69957]: warning: process /usr/local/libexec/postfix/smtpd pid 81367 exit status 1 Nov 23 14:47:15 ancient postfix/master[69957]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling Is the postfix daemon listening on port 25? Are you able to telnet there: % telnet localhost 25 Telnet'd with no problems. Simon Best regards, Jonas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix/procmail/fetchmail/spamassassin setup
On Sun, Nov 23, 2003 at 02:51:30PM -0800, Jonas Manalive wrote: could you please verfiy your postfix configuration using `postfix check'? Perhaps this will show some errors. No errors. Other hints: Check /var/log/maillog (and post some lines from the tail if you still can fix your problem). A'ha! What do I do here to fix this? (I think I should have changed the alias database from alias_maps = dbm:/etc/aliases to alias_maps = hash:/etc/aliases - or should that be nis or netinfo?) If you want to use the existing alias_map from sendmail in /etc/mail, the entry should be: alias_maps = hash:/etc/mail/aliases -- Jonathan Chen [EMAIL PROTECTED] -- A person should be able to do a small bit of everything, specialisation is for insects ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]