Re: smtpd dies with fatal: smtp: ssltree out of sync

2014-01-01 Thread Joel Knight
wrote: Hi, I've just upgraded my OpenBSD-based mail server to: OpenBSD 5.4-current (GENERIC.MP) #187: Sat Dec 28 17:15:20 MST 2013 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP and I cannot figure out where is the problem in my smtpd config: # /etc

Re: smtpd dies with fatal: smtp: ssltree out of sync

2013-12-31 Thread Mikolaj Kucharski
figure out where is the problem in my smtpd config: # /etc/mail/smtpd.conf ext_if = re0 max-message-size 35m bounce-warn 4h, 1d, 2d expire 7d pki openbsd.my.domain ca /etc/ssl/cert.pem pki openbsd.my.domain key /etc/mail/certs/smtpd.key pki openbsd.my.domain dhparams /etc/mail

smtpd dies with fatal: smtp: ssltree out of sync

2013-12-30 Thread Mikolaj Kucharski
Hi, I've just upgraded my OpenBSD-based mail server to: OpenBSD 5.4-current (GENERIC.MP) #187: Sat Dec 28 17:15:20 MST 2013 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP and I cannot figure out where is the problem in my smtpd config: # /etc/mail/smtpd.conf ext_if

Re: outgoing smtpd: Too many recipients

2013-12-17 Thread Jan Stary
On Dec 17 08:35:28, gil...@poolp.org wrote: On Mon, Dec 16, 2013 at 07:08:17PM +0100, Jan Stary wrote: I am using smtpd as my mail server on a network where the relay server often replies with 4.5.3 Too many recipients Indeed, I was sending messages with a lot of recipients

Re: outgoing smtpd: Too many recipients

2013-12-17 Thread Gilles Chehade
On Tue, Dec 17, 2013 at 09:17:27AM +0100, Jan Stary wrote: On Dec 17 08:35:28, gil...@poolp.org wrote: On Mon, Dec 16, 2013 at 07:08:17PM +0100, Jan Stary wrote: I am using smtpd as my mail server on a network where the relay server often replies with 4.5.3 Too many recipients

Re: outgoing smtpd: Too many recipients

2013-12-17 Thread Jan Stary
On Dec 17 09:21:58, gil...@poolp.org wrote: On Tue, Dec 17, 2013 at 09:17:27AM +0100, Jan Stary wrote: On Dec 17 08:35:28, gil...@poolp.org wrote: On Mon, Dec 16, 2013 at 07:08:17PM +0100, Jan Stary wrote: I am using smtpd as my mail server on a network where the relay server often

Re: outgoing smtpd: Too many recipients

2013-12-17 Thread Jan Stary
The relay disabling code has been removed, Disabling the relay which does not accept me seems pretty neat actually - if I do have another route through another relay :-)

Re: outgoing smtpd: Too many recipients

2013-12-17 Thread Gregory Edigarov
Jan, Sorry, but I do not see what your problem is? If you need to send an email to a group of people that's significantly bigger allowed on your relay, why don't you just try to implement a very simple script, that will send your mail to one recipient at a time. -- With best regards,

Re: outgoing smtpd: Too many recipients

2013-12-17 Thread Matthew Weigel
On 12/17/2013 5:37 AM, Jan Stary wrote: That's the relay which is rejecting my messages if there are too many recipients in them. I deleted all the failed ones from my queue and after some time, resent to the individual recipients (~120) one by one with a bit of grepawkery; that went fine.

Re: outgoing smtpd: Too many recipients

2013-12-17 Thread Gregory Edigarov
On 12/17/2013 03:32 PM, Matthew Weigel wrote: On 12/17/2013 5:37 AM, Jan Stary wrote: That's the relay which is rejecting my messages if there are too many recipients in them. I deleted all the failed ones from my queue and after some time, resent to the individual recipients (~120) one by

Re: outgoing smtpd: Too many recipients

2013-12-17 Thread Jan Stary
On Dec 17 14:53:59, ediga...@qarea.com wrote: Jan, Sorry, but I do not see what your problem is? If you need to send an email to a group of people that's significantly bigger allowed on your relay, why don't you just try to implement a very simple script, that will send your mail to one

outgoing smtpd: Too many recipients

2013-12-16 Thread Jan Stary
I am using smtpd as my mail server on a network where the relay server often replies with 4.5.3 Too many recipients Indeed, I was sending messages with a lot of recipients (a group of students). Is there a way in the smtpd configuration to specify that a message with N recipients

Re: outgoing smtpd: Too many recipients

2013-12-16 Thread Gilles Chehade
On Mon, Dec 16, 2013 at 07:08:17PM +0100, Jan Stary wrote: I am using smtpd as my mail server on a network where the relay server often replies with 4.5.3 Too many recipients Indeed, I was sending messages with a lot of recipients (a group of students). Is there a way

is it ok to run smtpd on 127.0.0.1 and have pf rdr-to it

2013-12-14 Thread Gabriel Guzman
pass in log on egress proto tcp from spamd-white to any port smtp pass out log on egress proto tcp to any port smtp Here, spamd is listening on 127.0.0.1, and smtpd is (presumably) listening on any interface. Is there a problem with only allowing smtpd to listen on 127.0.0.1 as well

Re: smtpd config issue

2013-12-04 Thread Chris Smith
On Thu, Nov 28, 2013 at 7:53 PM, Ted Unangst t...@tedunangst.com wrote: I just needed to do the same (smtpd would elect to use ipv6, but i only have ipv4 spf records). The man page kind of says it's a table name, but it's not. Try this instead: accept from local for any relay source a.b.c.d

Re: smtpd config issue

2013-11-28 Thread Ted Unangst
On Mon, Nov 25, 2013 at 13:53, Chris Smith wrote: Using these rules does not: pf: pass out quick on $alias1 proto tcp from self to any port smtp smtpd: table smtpip { w.x.y.z } smtpd: accept from local for any relay source smtpip I just needed to do the same (smtpd would elect to use ipv6

Re: smtpd config issue

2013-11-27 Thread Chris Smith
via a workaround - I installed Postfix as the MTA. Always liked it, never liked Sendmail. Was willing to give SMTPD a go, but for now I needed a working box. Chris

smtpd config issue

2013-11-25 Thread Chris Smith
Hello, Trying to use smtpd on a particular interface alias (for sending only, not for listening) and am not finding a way to do so. It seems to default sending out via the :0 address. Chris

Re: smtpd config issue

2013-11-25 Thread Giancarlo Razzolini
Em 25-11-2013 15:18, Chris Smith escreveu: Hello, Trying to use smtpd on a particular interface alias (for sending only, not for listening) and am not finding a way to do so. It seems to default sending out via the :0 address. Chris Hi Chris, Taking a look on the smtpd.conf(5) man

Re: smtpd config issue

2013-11-25 Thread Chris Smith
fine for the :0 address: pf: pass out quick on $ext_if proto tcp from self to any port smtp smtpd: accept from local for any relay Using these rules does not: pf: pass out quick on $alias1 proto tcp from self to any port smtp smtpd: table smtpip { w.x.y.z } smtpd: accept from local for any relay

Re: smtpd config issue

2013-11-25 Thread Chris Smith
On Mon, Nov 25, 2013 at 2:35 PM, Christopher Zimmermann christop...@gmerlin.de wrote: Now I'd be looking at 'route -n show -inet', 'ifconfig $ext_if' and 'ifconfig $alias1' ifconfig doesn't understand pf macros (as far as i can tell) == # route

Using SMTPD to catch spam

2013-09-04 Thread Kārlis Miķelsons
Hello, My idea is quite simple - I have list of IP addresses that are only sending spam and I need to collect that spam, instead of rejecting it, so that I can report it to authorities. I've been thinking about using OpenBSD SMTPD for this task, but can't figure out how to do that. PF has

Re: Using SMTPD to catch spam

2013-09-04 Thread Kārlis Miķelsons
deliver to maildir /var/spamdb # /usr/sbin/smtpd /etc/mail/smtpd.conf:17: syntax error warn: no rules, nothing to do Line 17th is accept rule in smtpd.conf file. By the way, I'm doing this on OpenBSD 5.3. Thanks, Karlis

Re: Using SMTPD to catch spam

2013-09-04 Thread Reyk Floeter
On Wed, Sep 04, 2013 at 08:10:53PM +0300, K�?rlis Miķelsons wrote: listen on lo0 port 9025 accept from any for any deliver to maildir /var/spamdb # /usr/sbin/smtpd /etc/mail/smtpd.conf:17: syntax error warn: no rules, nothing to do try putting the path in quotes: accept from any

Re: Using SMTPD to catch spam

2013-09-04 Thread Kārlis Miķelsons
# /usr/sbin/smtpd /etc/mail/smtpd.conf:17: syntax error warn: no rules, nothing to do try putting the path in quotes: accept from any for any deliver to maildir /var/spamdb Thank you, Reyk, that fixed the problem! Is there a way to create catchall aliases or virtuals so that SMTPD would

Re: Using SMTPD to catch spam

2013-09-04 Thread Kārlis Miķelsons
Is there a way to create catchall aliases or virtuals so that SMTPD would receive email for all domains and all user accounts? I've been trying different combinations of alias and virtual databases, but nothing seems to work. To answer my own question: # cat /etc/mail/smtpd.conf listen on lo0

Re: Unable to configure smtpd as backup server

2013-06-26 Thread Gilles Chehade
). So when you specify 'mx' as a parameter for the 'backup' keyword, what does that mean precisely? A DNS server host name? A preference value? When I see MX, I think of the MX records in the DNS zone file. I tried using a preference value, and that was rejected by smtpd as invalid

Unable to configure smtpd as backup server

2013-06-24 Thread Scott Vanderbilt
I'm having difficulties configuring smtpd as a backup mail server. smtpd is running on my main mail server and works a treat. (Good riddance, sendmail.) I've read the man pages and understood them the best I can, and tried various configuration options, all to no avail. Mails to known valid

Re: Unable to configure smtpd as backup server

2013-06-24 Thread Eric Faurot
On Mon, Jun 24, 2013 at 09:54:55AM -0700, Scott Vanderbilt wrote: I'm having difficulties configuring smtpd as a backup mail server. smtpd is running on my main mail server and works a treat. (Good riddance, sendmail.) I've read the man pages and understood them the best I can, and tried

Re: Unable to configure smtpd as backup server

2013-06-24 Thread Scott Vanderbilt
file. I tried using a preference value, and that was rejected by smtpd as invalid.

Re: Unable to configure smtpd as backup server

2013-06-24 Thread Gilles Chehade
? A preference value? When I see MX, I think of the MX records in the DNS zone file. I tried using a preference value, and that was rejected by smtpd as invalid. If the backup parameter is specified, the current server will act as a backup server for the target

Re: Unable to configure smtpd as backup server

2013-06-24 Thread Scott Vanderbilt
, what does that mean precisely? A DNS server host name? A preference value? When I see MX, I think of the MX records in the DNS zone file. I tried using a preference value, and that was rejected by smtpd as invalid. If the backup parameter is specified, the current server

Re: smtpd aliases

2013-06-20 Thread Denis
Hi William, I would suggest trying these things first: - have you checked smtpd main page to Modify the current mailwrapper(8) settings? - stop smtpd and run it in foreground smtpd -d -v, so all the info will go to stderr - try to exclude dovecot and check that smtpd can deliver messages

Re: smtpd aliases

2013-06-19 Thread Gilles Chehade
On Tue, Jun 18, 2013 at 12:33:51PM -0700, William Orr wrote: Thanks Gilles, first for the help and second for the fantastic software. One last question - is there a way I can resend the mail stuck in the queue? I've tried smtpctl schedule all, but it doesn't seem to resolve the aliases,

Re: smtpd aliases

2013-06-18 Thread Gilles Chehade
On Sun, Jun 16, 2013 at 04:44:02PM -0700, William Orr wrote: Hello, all! Hello, I'm having some problems with aliases in smtpd, in that they're not properly resolving. I have a bunch of incoming mails stuck in the queue that dovecot (my MDA) refuses to deliver. The logs don't point to any

Re: smtpd aliases

2013-06-18 Thread William Orr
Is that available in OpenBSD 5.3? I saw that in the -current manpage when I was originally configuring smtpd, but lmtp delivery wasn't in the manpage in 5.3. Gilles Chehade mailto:gil...@poolp.org June 18, 2013 1:00 AM On Sun, Jun 16, 2013 at 04:44:02PM -0700, William Orr wrote: Hello, all

Re: smtpd aliases

2013-06-18 Thread Gilles Chehade
On Tue, Jun 18, 2013 at 09:10:25AM -0700, William Orr wrote: Is that available in OpenBSD 5.3? I saw that in the -current manpage when I was originally configuring smtpd, but lmtp delivery wasn't in the manpage in 5.3. Nope, not part of OpenBSD 5.3 But you can fetch a 5.3.3 stable tarball

Re: smtpd aliases

2013-06-18 Thread William Orr
when I was originally configuring smtpd, but lmtp delivery wasn't in the manpage in 5.3. Gilles Chehade mailto:gil...@poolp.org June 18, 2013 1:00 AM On Sun, Jun 16, 2013 at 04:44:02PM -0700, William Orr wrote: Hello, all! Hello, I'm having some problems with aliases in smtpd, in that they're

smtpd aliases

2013-06-16 Thread William Orr
Hello, all! I'm having some problems with aliases in smtpd, in that they're not properly resolving. I have a bunch of incoming mails stuck in the queue that dovecot (my MDA) refuses to deliver. The logs don't point to any problem reading or opening the aliases file. Here is my smtpd.conf

Re: smtpd setup

2013-05-21 Thread Gilles Chehade
Hi, On Mon, May 20, 2013 at 03:49:20PM -0700, Scott wrote: To relay to gmail, I added the following to smtpd.conf: table secrets db:/etc/mail/secrets.db accept for any relay via tls+auth://gmail1atsmtp.gmail.com:587 \ auth secrets And created secrets and ran makemap. secrets contains:

Re: smtpd setup

2013-05-21 Thread Scott
Thanks for chiming in Gilles. It's ironic that because of trying to minimize noise to the list, I create more. The rest of the conf is at the beginning of the thread, but I'll be sure to include entire outputs in the future; sorry. Anyway, it wasn't my conf. Your comment about my MX question got

Re: smtpd setup

2013-05-20 Thread Scott
To relay to gmail, I added the following to smtpd.conf: table secrets db:/etc/mail/secrets.db accept for any relay via tls+auth://gmail1atsmtp.gmail.com:587 \ auth secrets And created secrets and ran makemap. secrets contains: gmail1 useridatgmail.com:mypassword These settings are

Re: smtpd setup

2013-05-18 Thread Scott
Eric: Thanks again for your help; it's working again. All: While I've got the patience to work up to my final desired configuration for smtpd, I don't know if any of the rest of you do :) I'd like to write a section for mail setup in the FAQ. Whether it actually gets included

Re: smtpd setup

2013-05-17 Thread Scott
for explanations of 421 on the web. # cat /etc/mail/smtpd.conf listen on lo0 table aliases db:/etc/mail/aliases.db accept for local alias aliases deliver to mbox accept for any relay # echo 'test' | mail -s TEST scott send-mail: command failed: 421 Temporary failure smtpd -d -T smtp output: info

Re: smtpd setup

2013-05-17 Thread Eric Faurot
wondered if somehow I gummed up my queue when I was diddling around with the relay settings. # ls /var/spool/smtpd/ a0 Ok, so that's my just-failed message, so I flush it, just to be sanitary: # smtpctl remove a0b31f71a4e509ff (BTW, is there a way to flush ALL queued messages? smtpctl(8

Re: smtpd setup

2013-05-08 Thread Eric Faurot
On Tue, May 07, 2013 at 05:23:35PM -0700, Scott wrote: Greetings all, I was excited to try out smtpd because of future plans to go away from webmail. Right after installing 5.3 I followed the directions in man smtpd to make the switch. smtpd.conf is untouched, but here are the values anyway

Re: smtpd setup

2013-05-08 Thread Okan Demirmen
On Tue 2013.05.07 at 17:23 -0700, Scott wrote: Greetings all, I was excited to try out smtpd because of future plans to go away from webmail. Right after installing 5.3 I followed the directions in man smtpd to make the switch. smtpd.conf is untouched, but here are the values anyway

Re: smtpd setup

2013-05-08 Thread Scott
Okan, My .forward is empty right now, but thanks for trying to help. Eric, Thank you very much for the tip. I thought all of my conf files had taken care of domain naming, but somehow my ISPs domain name was still slipping through as shown when running smtpd -d -T smtp. I thought supersede

smtpd setup

2013-05-07 Thread Scott
Greetings all, I was excited to try out smtpd because of future plans to go away from webmail. Right after installing 5.3 I followed the directions in man smtpd to make the switch. smtpd.conf is untouched, but here are the values anyway: listen on lo0 table aliases db:/etc/mail/aliases.db accept

Re: smtpd From: header weirdness

2013-04-18 Thread Gilles Chehade
On Thu, Apr 11, 2013 at 11:07:47PM +0200, Michael wrote: Hi, Hi, sorry for the delay, i'm struggling to catch up on my mailbox ... smtpd doesn't support address rewriting at the moment. It will either use the local `hostname` or the one supplied by your MUA. While I knew it didn't

Re: smtpd vs sendmail cronjob

2013-04-15 Thread Gilles Chehade
On Mon, Apr 01, 2013 at 04:20:21PM +0200, Jan Stary wrote: The smtpd(8) manpage documents the steps needed to replace the default sendmail with smtpd. However, it does not mention the sendmail clientmqueue runner cronjob. That should probably be edited from the root's cronjob, right

Re: smtpd From: header weirdness

2013-04-11 Thread Gilles Chehade
On Tue, Apr 09, 2013 at 10:42:56AM +0200, Michael wrote: Hi, Hi, I noticed some weird behavior regarding the From: header when using smtpd under some circumstances, not sure if this is a bug. [...] The problem: Mails generated on server 2 (some.thing.example.com) from /etc/daily

Re: smtpd From: header weirdness

2013-04-11 Thread Alexander Hall
On 04/11/13 21:33, Gilles Chehade wrote: On Tue, Apr 09, 2013 at 10:42:56AM +0200, Michael wrote: Hi, Hi, I noticed some weird behavior regarding the From: header when using smtpd under some circumstances, not sure if this is a bug. [...] The problem: Mails generated on server 2

Re: smtpd From: header weirdness

2013-04-11 Thread Alexander Hall
On 04/11/13 22:27, Alexander Hall wrote: On 04/11/13 21:33, Gilles Chehade wrote: On Tue, Apr 09, 2013 at 10:42:56AM +0200, Michael wrote: Hi, Hi, I noticed some weird behavior regarding the From: header when using smtpd under some circumstances, not sure if this is a bug

Re: smtpd From: header weirdness

2013-04-11 Thread Michael
Hi, smtpd doesn't support address rewriting at the moment. It will either use the local `hostname` or the one supplied by your MUA. While I knew it didn't rewrite stuff, looking at it this way, it sure can cause... interesting times. E.g. meaning if you mail out stuff with a plain From

Re: smtpd From: header weirdness

2013-04-11 Thread Alexander Hall
On 04/11/13 23:07, Michael wrote: Hi, smtpd doesn't support address rewriting at the moment. It will either use the local `hostname` or the one supplied by your MUA. While I knew it didn't rewrite stuff, looking at it this way, it sure can cause... interesting times. E.g. meaning if you

smtpd From: header weirdness

2013-04-09 Thread Michael
Hi, I noticed some weird behavior regarding the From: header when using smtpd under some circumstances, not sure if this is a bug. The setup: 1.) Main mail server with sendmail hostname mail.domain.tld and local-host-names containing domain example.com. 2.) A second server with hostname

smtpd vs sendmail cronjob

2013-04-01 Thread Jan Stary
The smtpd(8) manpage documents the steps needed to replace the default sendmail with smtpd. However, it does not mention the sendmail clientmqueue runner cronjob. That should probably be edited from the root's cronjob, right? Jan

smtpd relay

2013-02-26 Thread Zoran Kolic
Changed mta to opensmtpd. Default smtpd.conf file works for home node. I tried to add relay option to send mail via my ISP smtp server and smtpd refused to load and parse the file. The line in question is: accept for any relay via my.isp.smtpserver What exact syntax should I use? Current, amd64

Re: smtpd relay

2013-02-26 Thread Gilles Chehade
Hi, On Tue, Feb 26, 2013 at 04:39:44PM +0100, Zoran Kolic wrote: Changed mta to opensmtpd. Default smtpd.conf file works for home node. I tried to add relay option to send mail via my ISP smtp server and smtpd refused to load and parse the file. The line in question is: accept for any

Re: smtpd relay

2013-02-26 Thread Rogier Krieger
On Tue, Feb 26, 2013 at 4:39 PM, Zoran Kolic zko...@sbb.rs wrote: accept for any relay via my.isp.smtpserver iirc, smtpd.conf(5) mentions the host being in URL form, e.g. smtp://my.isp.smtpserver At least, it does for my Feb 17th snapshot. Regards, Rogier

Re: smtpd relay

2013-02-26 Thread Zoran Kolic
listen on lo0 table aliases db:/etc/mail/aliases.db accept for local alias aliases deliver to mbox accept for any relay via smtp.sbb.rs The error message is: /etc/mail/smtpd.conf:16: error: invalid url: smtp.sbb.rs If needed, I will provide further info. Zoran

Re: smtpd relay

2013-02-26 Thread Gilles Chehade
On Tue, Feb 26, 2013 at 04:57:26PM +0100, Zoran Kolic wrote: listen on lo0 table aliases db:/etc/mail/aliases.db accept for local alias aliases deliver to mbox accept for any relay via smtp.sbb.rs The error message is: /etc/mail/smtpd.conf:16: error: invalid url: smtp.sbb.rs If

Re: smtpd relay

2013-02-26 Thread Zoran Kolic
Smtpd loaded with smtp:// prefix. Thanks. Another problem surfaced: I added line to muttrc to have smtpd as a mailer: set sendmail=/usr/sbin/smtpctl and I cannot send mail, since smtpctl needs root privilages. Am I on the correct path for this? Zoran

Re: smtpd relay

2013-02-26 Thread Gilles Chehade
On Tue, Feb 26, 2013 at 05:11:54PM +0100, Zoran Kolic wrote: Smtpd loaded with smtp:// prefix. Thanks. Another problem surfaced: I added line to muttrc to have smtpd as a mailer: set sendmail=/usr/sbin/smtpctl and I cannot send mail, since smtpctl needs root privilages. Am I

Re: smtpd relay

2013-02-26 Thread Zoran Kolic
Ah! Ah! Forgot about mailwrapper! I put /usr/sbin/sendmail and it works fine. It is simply a link to /usr/sbin/mailwrapper. Thanks a lot. Zoran

Re: smtpd relay

2013-02-26 Thread Zoran Kolic
One more question. Using top I learnt that smtpd had 7 or 8 instances. Is it intentional? Zoran

Re: smtpd relay

2013-02-26 Thread Gilles Chehade
On Tue, Feb 26, 2013 at 05:45:36PM +0100, Zoran Kolic wrote: One more question. Using top I learnt that smtpd had 7 or 8 instances. Is it intentional? Yes, these are different processes handling different tasks. Here's a schema I did of the layout a while ago: http://goo.gl/73UaI

Re: smtpd relay

2013-02-26 Thread Scott McEachern
On 02/26/13 11:52, Gilles Chehade wrote: Here's a schema I did of the layout a while ago: Your diagram, with Charles, reminds me of a question I've always wondered: What's with the name Charlie in a default install? Just curious.. -- Scott McEachern https://www.blackstaff.ca

Re: smtpd relay

2013-02-26 Thread Gilles Chehade
On Tue, Feb 26, 2013 at 11:57:29AM -0500, Scott McEachern wrote: On 02/26/13 11:52, Gilles Chehade wrote: Here's a schema I did of the layout a while ago: Your diagram, with Charles, reminds me of a question I've always wondered: What's with the name Charlie in a default install? Just

Re: smtpd relay

2013-02-26 Thread Jan Stary
On Feb 26 17:11:54, zko...@sbb.rs wrote: Another problem surfaced: I added line to muttrc to have smtpd as a mailer: set sendmail=/usr/sbin/smtpctl Why?

Re: smtpd(8), aliases(5), forward(5): non-zero exit code causes deliveries abort

2012-11-02 Thread Gilles Chehade
, but in no circumstances should a mail be accepted then fail a whole recipient list because one delivery failed. are you sure that's what happening ? can you provide a smtpd -dv log while you reproduce the issue ? How I found out about this: in aliases(5): foobar: b_user, a_user (Verbose

Re: smtpd(8), aliases(5), forward(5): non-zero exit code causes deliveries abort

2012-11-02 Thread Jan Stary
with a nonzero status, thus disturbing smtpd, which was the OP's problem as I understood it.) Jan

Re: smtpd(8), aliases(5), forward(5): non-zero exit code causes deliveries abort

2012-11-01 Thread Jan Stary
On Apr 14 19:48:24, mcmer-open...@tor.at wrote: hello (opensmtpd-) folks, I think OpenSMTPd aborts delivery to multiple aliased recipients as soon as a delivery attempt returns non-zero. I consider this unwanted: a super user defined delivery list in aliases(5) is not applied if some

smtpd alias expansion updated, please test

2012-09-27 Thread Eric Faurot
Hi, I have just commited a rather deep change to the alias expansion logic in smtpd. It fixes a bug reported by halex@ in virtual maps, where an alias expanding to two different virtual users would end up being sent only to the first one. Alias expansion is tricky. We want to make sure

Re: Smtpd disposable addresses

2012-08-31 Thread Stuart Henderson
), can't you? Depends on the MTA, and if smtpd supports this it's not obvious in the config file. Also + doesn't work with many web-forms that validate the address syntax... :/

Re: Smtpd disposable addresses

2012-08-31 Thread Kevin Chadwick
On Fri, 31 Aug 2012 13:30:05 +1200 ml+helloke...@extensibl.com wrote: You specify a character usually defaulting to - as a seperator and then acceptable addresses bob bob- pete- for a domain like bobszz.net so bobszz.net can receive mail to b...@bobszz.net

Re: Smtpd disposable addresses

2012-08-31 Thread John Slee
On 31/08/2012, at 9:30, ml+helloke...@extensibl.com wrote: I think you can use '+' character instead (bob+canitrust...@bobszz.net, bob+groupedascompanyc...@bobszz.net), can't you? Tried it lately? Every other website incorrectly reinvents is this a valid email address logic. It's just a trivial

Re: smtpd queue encryotion

2012-08-31 Thread Christian Weisgerber
Kurt Mosiejczuk k...@se.rit.edu wrote: Blowfish is older, not standardized, and hasn't received the attention from the cryptographic community that AES has. Blowfish isn't standardized? Not being chosen as a standard doesn't mean that everyone is using an incompatible version of

Re: smtpd queue encryotion

2012-08-31 Thread Kurt Mosiejczuk
Christian Weisgerber wrote: Kurt Mosiejczuk k...@se.rit.edu wrote: And AES-128 (and only that flavor of AES, so far) has a crack making decrypting it significantly quicker. News to me. Reference? (You are probably confusing this with the related-key attacks on AES-192 and AES-256.)

Re: smtpd queue encryotion

2012-08-30 Thread Kurt Mosiejczuk
Ted Unangst wrote: On Wed, Aug 29, 2012 at 16:34, Kurt Mosiejczuk wrote: And I'm fairly certain blowfish did get a lot of attention. And since bcrypt is reasonably popular, I'd imagine blowfish *still* gets attention from the cryptographic community. The security of bcrypt is almost

Smtpd disposable addresses

2012-08-30 Thread Kevin Chadwick
I think this came up before but my Googling failed to find it. I love disposable addresses and being able to say. Oi what you doing giving my address to spammers, or have you had a virus?? A todo list was mentioned, I was just wondering if disposable addresses was on it or would that be in a

Re: Smtpd disposable addresses

2012-08-30 Thread Gilles Chehade
On Thu, Aug 30, 2012 at 09:54:45PM +0100, Kevin Chadwick wrote: I think this came up before but my Googling failed to find it. I love disposable addresses and being able to say. Oi what you doing giving my address to spammers, or have you had a virus?? A todo list was mentioned, I was just

Re: Smtpd disposable addresses

2012-08-30 Thread Kevin Chadwick
On Thu, 30 Aug 2012 23:12:22 +0200 Gilles Chehade wrote: I think this came up before but my Googling failed to find it. I love disposable addresses and being able to say. Oi what you doing giving my address to spammers, or have you had a virus?? A todo list was mentioned, I was just

Re: Smtpd disposable addresses

2012-08-30 Thread ml+HelloKevin
On Thu, Aug 30, 2012 at 10:32:57PM +0100, Kevin Chadwick wrote: You specify a character usually defaulting to - as a seperator and then acceptable addresses bob bob- pete- for a domain like bobszz.net so bobszz.net can receive mail to b...@bobszz.net

smtpd queue encryotion (was: Re: CVS: cvs.openbsd.org: src)

2012-08-29 Thread Christian Weisgerber
Over on source-changes, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote: I don't disagree with using AES-128 as default on a possibly busy mail server. I was just wondering why the word obsolete was used and if it was simply because twofish and AES are faster. Blowfish is older, not standardized,

Re: smtpd queue encryotion

2012-08-29 Thread Kurt Mosiejczuk
Christian Weisgerber wrote: Over on source-changes, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote: I don't disagree with using AES-128 as default on a possibly busy mail server. I was just wondering why the word obsolete was used and if it was simply because twofish and AES are faster.

Re: smtpd queue encryotion

2012-08-29 Thread Ted Unangst
On Wed, Aug 29, 2012 at 16:34, Kurt Mosiejczuk wrote: And I'm fairly certain blowfish did get a lot of attention. And since bcrypt is reasonably popular, I'd imagine blowfish *still* gets attention from the cryptographic community. The security of bcrypt is almost completely unrelated to the

[4.9-5.1] smtpd does not work anymore without resolver?

2012-07-24 Thread Patrick Lamaiziere
Hello, On 4.8 I was using smtpd to relay periodic mails. The box is a firewall and the resolver is not configured at all. smtp.conf # This is the smtpd server system-wide configuration file. # See smtpd.conf(5) for more information. listen on lo0 map aliases { source db /etc/mail/aliases.db

Re: [4.9-5.1] smtpd does not work anymore without resolver?

2012-07-24 Thread Gilles Chehade
On Tue, Jul 24, 2012 at 03:35:07PM +0200, Patrick Lamaiziere wrote: Hello, Hello, That worked fine on 4.8, but with 4.9 the box does not send any mail : /var/log/mailog: smtpd[4269]:1317598201.5Tsv7GvPDRFc1Ozt:from=root@Y, size=6325, nrcpts=1, proto=ESMTP, relay=0@localhost [IPv6

Re: [4.9-5.1] smtpd does not work anymore without resolver?

2012-07-24 Thread Patrick Lamaiziere
Le Tue, 24 Jul 2012 15:50:30 +0200, Gilles Chehade gil...@poolp.org a écrit : Hello, That worked fine on 4.8, but with 4.9 the box does not send any mail : /var/log/mailog: smtpd[4269]:1317598201.5Tsv7GvPDRFc1Ozt:from=root@Y, size=6325, nrcpts=1, proto=ESMTP, relay=0@localhost

RE : Re: [4.9-5.1] smtpd does not work anymore without resolver?

2012-07-24 Thread Gilles Chehade
mail : /var/log/mailog: smtpd[4269]:1317598201.5Tsv7GvPDRFc1Ozt:from=root@Y, size=6325, nrcpts=1, proto=ESMTP, relay=0@localhost [IPv6:::1] smtpd[30344]: 1317598201.5Tsv7GvPDRFc1Ozt: to=logadmin@Y, delay=1, relay=(none) [], stat=LocalError (Unable to resolve DNS f or domain

Re: mailing list managaers with smtpd

2012-07-22 Thread Gilles Chehade
wrote: On Jul 21 10:02:10, Christopher Zimmermann wrote: On Sat, 21 Jul 2012 09:50:40 +0200 Jan Stary h...@stare.cz wrote: Having happily switched from postfix to smtpd, the one thing I am missing is running mailing lists. I see it has been discussed before: http

Re: mailing list managaers with smtpd

2012-07-22 Thread Christopher Zimmermann
...@stare.cz wrote: Having happily switched from postfix to smtpd, the one thing I am missing is running mailing lists. I see it has been discussed before: http://marc.info/?t=13170923832r=1w=2 Is it really possible to use commands as aliases, as said

mailing list managaers with smtpd

2012-07-21 Thread Jan Stary
Having happily switched from postfix to smtpd, the one thing I am missing is running mailing lists. I see it has been discussed before: http://marc.info/?t=13170923832r=1w=2 Is it really possible to use commands as aliases, as said in http://marc.info/?l=openbsd-miscm=131714762522589w=2

Re: mailing list managaers with smtpd

2012-07-21 Thread Jan Stary
On Jul 21 10:02:10, Christopher Zimmermann wrote: On Sat, 21 Jul 2012 09:50:40 +0200 Jan Stary h...@stare.cz wrote: Having happily switched from postfix to smtpd, the one thing I am missing is running mailing lists. I see it has been discussed before: http://marc.info/?t

Re: mailing list managaers with smtpd

2012-07-21 Thread Christopher Zimmermann
On Sat, 21 Jul 2012 17:28:12 +0200 Jan Stary h...@stare.cz wrote: On Jul 21 10:02:10, Christopher Zimmermann wrote: On Sat, 21 Jul 2012 09:50:40 +0200 Jan Stary h...@stare.cz wrote: Having happily switched from postfix to smtpd, the one thing I am missing is running mailing lists

Re: mailing list managaers with smtpd

2012-07-21 Thread Jan Stary
On Jul 21 18:04:51, Christopher Zimmermann wrote: On Sat, 21 Jul 2012 17:28:12 +0200 Jan Stary h...@stare.cz wrote: On Jul 21 10:02:10, Christopher Zimmermann wrote: On Sat, 21 Jul 2012 09:50:40 +0200 Jan Stary h...@stare.cz wrote: Having happily switched from postfix to smtpd

trivial smtpd scheduler diff

2012-07-17 Thread percy piper
Any objections to making the scheduler a little less verbose? Cheers, Percy. Index: scheduler.c === RCS file: /cvs/src/usr.sbin/smtpd/scheduler.c,v retrieving revision 1.6 diff -u -p -r1.6 scheduler.c --- scheduler.c 10 Jul 2012 11

Re: trivial smtpd scheduler diff

2012-07-17 Thread Gilles Chehade
/usr.sbin/smtpd/scheduler.c,v retrieving revision 1.6 diff -u -p -r1.6 scheduler.c --- scheduler.c 10 Jul 2012 11:13:40 - 1.6 +++ scheduler.c 17 Jul 2012 17:48:00 - @@ -355,7 +355,7 @@ scheduler_timeout(int fd, short event, v return; scheduler_sleep

<    1   2   3   4   5   6   7   >