Re: smtpd: socket: Protocol not supported on FreeBSD9.2
On Tue, Jan 07, 2014 at 08:25:00PM +0100, Martin Kropfinger wrote: Am Tue, 7 Jan 2014 20:14:31 +0100 schrieb Gilles Chehade gil...@poolp.org: On Tue, Jan 07, 2014 at 08:03:35PM +0100, Martin Kropfinger wrote: Can you try to replace listen on localhost with listen on 0.0.0.0, I suspect the ipfw0 interface is causing smtpd to fail listening Hey thanks a lot! This solved the problem. Can you tell me why the ipfw0 breaks this? Actually I have no idea, I'll have to look, can you open a ticket on our bug tracker ? So using 0.0.0.0 instead of localhost seems to work, is it recommended? Well, it depends on what you intend to do, as far as your jail is concerned this will be functionnally equivalent -- Gilles Chehade https://www.poolp.org @poolpOrg -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
OpenSMTPd and procmail - anything special to do?
Hi, now that my OpenSMTPd is running I would like to use procmail to sort my incomming mails in folders. I know I can just set deliver to mda /path/to/procmail to get it done. But in procmailrc you can set the variables SENDMAIL and SENDMAILFLAGS to point to sendmail. In this case there is no active sendmail but OpenSMTPd. Do I have to set there something special? I know this is a procmail-specific question, but as beeing related to OpenSMTPd I asked it here. Sorry if this bothers you. Thanks Martin -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Re: Understanding the table API
On Thu, Jan 09, 2014 at 01:39:27AM +0100, Michael Neumann wrote: Hi there, Hi! I have a question regarding the table API for external services like Postgresql etc. Please correct me if I am wrong. So far I understand the purpose of the callbacks as follows: * UPDATE - recheck configuration file * CHECK - just check for the existence of a key. Only returns -1, 0 or 1, i.e. failure, not found, found. * LOOKUP - that returns actual data, e.g. user_id:password etc. * FETCH - *That's where I am not sure*. It caches the rows of a table within a dictionary (which it updates every once in a while) and returns tuple after tuple upon each call to e.g. table_postgres_fetch. I.e. this function is called many times. This is only used for K_SOURCE, i.e. netaddr tables. This kind of lookup fails for a large number of entries. I was planning to add support for redis tables to opensmtpd and use it to reject based upon the sender's IP, similarily to what DNSRBL is doing. But this seems to be not possible with netaddr tables right now, unless it's rewritten a bit, i.e. to first issue a CHECK to the table, followed by a FETCH. Would a change like that be accepted, is it useful? I am not sure to understand what do you mean. FETCH is only used by the mta to retrieve an ip address to use when connecting. It is currently not possible to do IP filtering at the connection level. We need finish the filter API (yeah, we slacked a bit on this). For now, you can also solve your problem with something like: table redis-bl redis:redis.conf reject from source redis-bl or accept from source redis-bl for any virtual { @ error: 550 Sorry, you are blacklisted } The only issue is that filtering occurs at SMTP transaction time, not at connection time. But that's probably a good compromise. Eric. -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Re: table_passwd: is there a manual page somewhere?
On Tue, Jan 07, 2014 at 11:23:37PM +0100, J?r?me Le Gal wrote: Hi, Hi, As I can read on Gilles's website[1], there is a recent feature called table_passwd which I'm really interested to. I want to share credentials between OpenSMTPd and Dovecot and it seems to be the perfect solution to me. Is there any documentation about it somewhere? Mh, I thought I had written the man page for that ... Please feel free to open a bug report. As for your question, it has the exact same format as traditional passwd entries: username:password:uid:gid:gecos:home:shell -- Gilles Chehade https://www.poolp.org @poolpOrg -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Re: OpenSMTPd and procmail - anything special to do?
On Wed, Jan 08, 2014 at 08:21:29PM +0100, Martin Kropfinger wrote: Hi, now that my OpenSMTPd is running I would like to use procmail to sort my incomming mails in folders. I know I can just set deliver to mda /path/to/procmail to get it done. But in procmailrc you can set the variables SENDMAIL and SENDMAILFLAGS to point to sendmail. In this case there is no active sendmail but OpenSMTPd. Do I have to set there something special? I know this is a procmail-specific question, but as beeing related to OpenSMTPd I asked it here. Sorry if this bothers you. Thanks Martin I don't really understand the issue :-) -- Gilles Chehade https://www.poolp.org @poolpOrg -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org