Re: smtpd rejecting users

2009-10-27 Thread Gilles Chehade
you need to start smtpd with -dv not -bv to enable debug logging :-) Gilles On Mon, Oct 26, 2009 at 11:13:29PM +0100, Robert wrote: Setup: Running as user1 I sent an email to testuser (local) and I expected it to end up in the root mbox since that was what I configured in aliases.

Re: smtpd rejecting users

2009-10-27 Thread Robert
;) just a typo in my post; for the test I started it with -dv (smtpd would complain otherwise at startup) Gilles Chehade wrote: you need to start smtpd with -dv not -bv to enable debug logging :-) Gilles On Mon, Oct 26, 2009 at 11:13:29PM +0100, Robert wrote: Setup: Running as user1 I sent

Re: smtpd rejecting users

2009-10-27 Thread Gilles Chehade
are you running -current ? Gilles Robert a C)crit : ;) just a typo in my post; for the test I started it with -dv (smtpd would complain otherwise at startup) Gilles Chehade wrote: you need to start smtpd with -dv not -bv to enable debug logging :-) Gilles On Mon, Oct 26, 2009 at

Re: smtpd rejecting users

2009-10-27 Thread Robert
No, plain -release amd64 from the CD: OpenBSD pcc.abc.test 4.6 GENERIC.MP#81 amd64 I have another PC for testing and I will install -current on it to rule out any side effects that might have occured on this (pcc) machine (will take some time; it's a VIA C3...). Robert Gilles Chehade

Re: smtpd rejecting users

2009-10-27 Thread Gilles Chehade
can you also show your /etc/mailer.conf ? what you experience looks like the result of smtpd looking at a db with a format it doesn't understand (ie: trying to resolve aliases which are in a db you built using sendmail's `newaliases`) Gilles Robert a C)crit : No, plain -release amd64 from

Re: smtpd rejecting users

2009-10-27 Thread Gilles Chehade
On Tue, Oct 27, 2009 at 12:00:44PM +0100, Robert wrote: It's the unmodified -release one: # $OpenBSD: mailer.conf,v 1.4 2009/03/16 14:26:22 jacekm Exp $ # # Execute the real sendmail program, named /usr/libexec/sendmail/sendmail # sendmail/usr/libexec/sendmail/sendmail

Re: smtpd rejecting users

2009-10-27 Thread Robert
It's the unmodified -release one: # $OpenBSD: mailer.conf,v 1.4 2009/03/16 14:26:22 jacekm Exp $ # # Execute the real sendmail program, named /usr/libexec/sendmail/sendmail # sendmail/usr/libexec/sendmail/sendmail send-mail /usr/libexec/sendmail/sendmail mailq

Re: smtpd rejecting users

2009-10-27 Thread Robert
That was exactly the problem; it works now. Since I use -release I only looked at those man pages and there this is not mentioned. (http://www.openbsd.org/cgi-bin/man.cgi?query=smtpdapropos=0sektion=0manpath=OpenBSD+4.6arch=i386format=html) Thanks again for the quick help! regards, Robert

Re: smtpd rejecting users

2009-10-26 Thread Robert
I don't have an answer to this, but I would like to add that I have the same problem with aliases (no vmap in use): If i have an entry like aliasuser: realuser in the aliases file, then any email to aliasuser will be rejected with 530; only real users are accepted as recipients. It seems to

Re: smtpd rejecting users

2009-10-26 Thread Gilles Chehade
On Mon, Oct 26, 2009 at 10:17:30PM +0100, Robert wrote: I don't have an answer to this, but I would like to add that I have the same problem with aliases (no vmap in use): If i have an entry like aliasuser: realuser in the aliases file, then any email to aliasuser will be rejected with

Re: smtpd rejecting users

2009-10-26 Thread Gilles Chehade
On Mon, Oct 26, 2009 at 01:37:04PM -0400, ddp wrote: I'm feeling stupid at the moment, and I'm sure someone will show my why shortly. This is using the latest source in cvs for smtpd (updated today). I've setup smtpd by the man page, and configured the following config: listen on lo0

Re: smtpd rejecting users

2009-10-26 Thread ddp
On Mon, Oct 26, 2009 at 5:17 PM, Robert info...@die-optimisten.net wrote: I don't have an answer to this, but I would like to add that I have the same problem with aliases (no vmap in use): If i have an entry like aliasuser: realuser in the aliases file, then any email to aliasuser will be

Re: smtpd rejecting users

2009-10-26 Thread Robert
Setup: Running as user1 I sent an email to testuser (local) and I expected it to end up in the root mbox since that was what I configured in aliases. (note: I know that you shouldn't receive email as root, this is just a test setup for trying out the new smtpd) /etc/mail/smtpd.conf ---

Re: smtpd rejecting users

2009-10-26 Thread ddp
On Mon, Oct 26, 2009 at 5:51 PM, Gilles Chehade gil...@openbsd.org wrote: It looks like you are initiating the session from localhost, but your ruleset only allows deliveries to example.com and your virtual domains if they are initiated from 192.168.1.0/24 , you may want to add the following: