Re: [courier-users] No such domain error

2014-01-05 Thread PenguinDude24
On Sat, 4 Jan 2014 12:51:21 -0800
Ricardo Kleemann wrote:
 Hi,
 
 What exactly is the meaning of the No such domain error? I was 
 thinking that it was an immediate error for a non-existent domain, but 
 I can see in the log file that it is issued after some delivery attempts

Well whatever it is it is not seem like server software error. It seem 
like some configuration error.

It gets multiple error messages before the final error you are talking 
about.That final error may not even be related to what you are talking 
about.

My suggestion is did you set the 'FQDN name' in hosteddomains or in 
locals? Can you send mails to other hosts that have no relation to each 
other? If you cannot send to other people, then it's probably you and 
you need to re-check your config.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] No such domain error

2014-01-04 Thread Ricardo Kleemann
Hi,

What exactly is the meaning of the No such domain error? I was thinking
that it was an immediate error for a non-existent domain, but I can see in
the log file that it is issued after some delivery attempts

For example:

Jan  3 00:31:58 listserver courierd:
started,id=0006173D.52C5D345.36FB,from=
x...@listas.americasnet.com,module=esmtp,host=foznet.com.br,addr=
y...@foznet.com.br
Jan  3 00:32:06 listserver courieresmtp:
id=0006173D.52C5D345.36FB,from=
x...@listas.americasnet.com,addr=y...@foznet.com.br: 452 
y...@foznet.com.br Mailbox size limit exceeded
Jan  3 00:32:06 listserver courieresmtp:
id=0006173D.52C5D345.36FB,from=
x...@listas.americasnet.com,addr=y...@foznet.com.br,status: deferred
Jan  3 00:42:07 listserver courierd:
started,id=0006173D.52C5D345.36FB,from=
x...@listas.americasnet.com,module=esmtp,host=foznet.com.br,addr=
y...@foznet.com.br
Jan  3 00:42:14 listserver courieresmtp:
id=0006173D.52C5D345.36FB,from=
x...@listas.americasnet.com,addr=y...@foznet.com.br: 452 
y...@foznet.com.br Mailbox size limit exceeded
Jan  3 00:42:14 listserver courieresmtp:
id=0006173D.52C5D345.36FB,from=
x...@listas.americasnet.com,addr=y...@foznet.com.br,status: deferred
Jan  3 00:52:14 listserver courierd:
started,id=0006173D.52C5D345.36FB,from=
x...@listas.americasnet.com,module=esmtp,host=foznet.com.br,addr=
y...@foznet.com.br
Jan  3 00:52:19 listserver courieresmtp:
id=0006173D.52C5D345.36FB,from=
x...@listas.americasnet.com,addr=y...@foznet.com.br: 452 
y...@foznet.com.br Mailbox size limit exceeded
Jan  3 00:52:19 listserver courieresmtp:
id=0006173D.52C5D345.36FB,from=
x...@listas.americasnet.com,addr=y...@foznet.com.br,status: deferred
Jan  3 02:52:19 listserver courierd:
started,id=0006173D.52C5D345.36FB,from=
x...@listas.americasnet.com,module=esmtp,host=foznet.com.br,addr=
y...@foznet.com.br
Jan  3 02:52:27 listserver courieresmtp:
id=0006173D.52C5D345.36FB,from=
x...@listas.americasnet.com,addr=y...@foznet.com.br: 452 
y...@foznet.com.br Mailbox size limit exceeded
Jan  3 02:52:27 listserver courieresmtp:
id=0006173D.52C5D345.36FB,from=
x...@listas.americasnet.com,addr=y...@foznet.com.br,status: deferred
Jan  3 02:52:27 listserver courierd:
started,id=0006173D.52C5D345.36FB,from=
x...@listas.americasnet.com,module=esmtp,host=relay2,addr=
y...@foznet.com.br
Jan  3 02:52:27 listserver courieresmtp:
id=0006173D.52C5D345.36FB,from=
x...@listas.americasnet.com,addr=y...@foznet.com.br: No such domain.
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] No such domain error

2014-01-04 Thread Sam Varshavchik

Ricardo Kleemann writes:


« HTML content follows »

Hi,


What exactly is the meaning of the No such domain error? I was thinking  
that it was an immediate error for a non-existent domain,


Correct.

  but I can see in  
the log file that it is issued after some delivery attempts


And if you look closely, the last one is attempt to deliver mail to  
relay2, which I presume is your backuprelay for nondeliverable mail.


That's the domain that does not exist in DNS.



pgpQBwtLmeTKU.pgp
Description: PGP signature
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] No such domain

2013-12-07 Thread Matus UHLAR - fantomas
On 06.12.13 21:16, Ricardo Kleemann wrote:
I'm trying to understand when the No such domain error is issued.

I have one server where most of the time I have no problems delivering mail
to a particular domain. This is an email relay for a mailing list server.

However sometimes (maybe once a day or couple of days) I will see a flurry
of error messages showing No such domain. It seems that this occurs after
a series of attempts and deferrals. I'll paste a trace of a particular
message that ended up with No such domain (this one is the last in a
series of error messages)

Dec  6 19:32:45 relay1 courieresmtp:
id=00060CBE.52A206CB.082D,from=,addr=
list-boun...@mydomain.com: Network connection shut down by the remote mail
server
Dec  6 19:32:45 relay1 courieresmtp:
id=00060CBE.52A206CB.082D,from=,addr=
list-boun...@mydomain.com,status: deferred
Dec  6 19:32:51 relay1 courieresmtp:
id=00060CBE.52A206CB.082D,from=,addr=
list-boun...@mydomain.com: No such domain.
Dec  6 19:32:51 relay1 courieresmtp:
id=00060CBE.52A206CB.082D,from=,addr=
list-boun...@mydomain.com,status: failure

those are courieresmtp: messages and the errors are apparently seen on
remote mail server.

So, first, I know that I need to figure out why in the first place the
remote server (the list server) is shutting down the connection - I'm
guessing there's too many connections coming in. However, getting messages
deferred and then suddenly getting a No such domain error makes no sense.
Obviously the server successfully delivers messages over and over for that
domain to that server.

It's really hard for us to find out what error may REMOTE server see.
you should ask its administrator, what's happening.

Any ideas what could be causing this? Is there any way more debug can be
shown in the log?

Seeing destination server's name/address _could_ help us more.

can you post the real domain name? Is it really mydomain.com ?

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Spam is for losers who can't get business any other way.

--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] No such domain

2013-12-07 Thread Sam Varshavchik

Ricardo Kleemann writes:


Hi,
 
I'm trying to understand when the No such domain error is issued.


DNS lookup failure.



pgpKt5Tw_pH20.pgp
Description: PGP signature
--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] No such domain

2013-12-07 Thread Matus UHLAR - fantomas
Ricardo Kleemann writes:
I'm trying to understand when the No such domain error is issued.

On 07.12.13 08:42, Sam Varshavchik wrote:
DNS lookup failure.

When I take it this way, I would more say a DNS error - simple DNS failures
do not generate permanent but temporary errors, which cause deferrals, not
failures.

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Emacs is a complicated operating system without good text editor.

--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] No such domain

2013-12-07 Thread Ricardo Kleemann
On Sat, Dec 7, 2013 at 6:02 AM, Matus UHLAR - fantomas uh...@fantomas.skwrote:

 Ricardo Kleemann writes:
 I'm trying to understand when the No such domain error is issued.

 On 07.12.13 08:42, Sam Varshavchik wrote:
 DNS lookup failure.

 When I take it this way, I would more say a DNS error - simple DNS failures
 do not generate permanent but temporary errors, which cause deferrals, not
 failures.


I'll try to corroborate what I have in the relay server logs and the list
server logs, but it's a lot of traffic and very difficult.

However, considering this could be a DNS error, what I don't understand is
why in the same second the server will have both successful and failed
deliveries.

Is there a way to cache DNS lookups, since this is a large number of
messages to the exact same domain?
--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] No such domain

2013-12-07 Thread Sam Varshavchik

Ricardo Kleemann writes:

On Sat, Dec 7, 2013 at 6:02 AM, Matus UHLAR - fantomas  
URL:mailto:uh...@fantomas.skuh...@fantomas.sk wrote:



   Ricardo Kleemann writes:
   I'm trying to understand when the No such domain error is issued.

   On 07.12.13 08:42, Sam Varshavchik wrote:
   DNS lookup failure.

   When I take it this way, I would more say a DNS error - simple DNS
   failures
   do not generate permanent but temporary errors, which cause deferrals, not
   failures.

I'll try to corroborate what I have in the relay server logs and the list  
server logs, but it's a lot of traffic and very difficult.


However, considering this could be a DNS error, what I don't understand is  
why in the same second the server will have both successful and failed  
deliveries. 


Is there a way to cache DNS lookups, since this is a large number of messages  
to the exact same domain? 


When there are multiple messages to the same domain, Courier connects to the  
destination mail server, and keeps sending messages using the same  
connection. The default configuration opens up to four connections at the  
same time for the same domain, and as long as there are messages to deliver,  
they'll be sent using the existing connections, and the existing connections  
will remain open for up to 60 seconds after the last message gets sent, in  
case any more messages show up for the same domain.


The brain-damaged stupidity of opening a new connection for each message,  
then disconnecting, went out of style with Qmail, decades ago.


And once a connection is made, there are no further DNS lookups to be done.  
These must be messages to different, nonexistent domains. Furthermore, this  
is not a timeout or a no response. This is a response from your DNS server  
stating that the domain was not found, it does not exist. NXDOMAIN.


pgpSTfvYw2y73.pgp
Description: PGP signature
--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] No such domain

2013-12-07 Thread Matus UHLAR - fantomas
 Ricardo Kleemann writes:
 I'm trying to understand when the No such domain error is issued.

 On 07.12.13 08:42, Sam Varshavchik wrote:
 DNS lookup failure.

looking now at sources, seems this only happens when there's invald
esmtproute for given server set.

check your esmtproutes file..
-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
There's a long-standing bug relating to the x86 architecture that
allows you to install Windows.   -- Matthew D. Fuller

--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] No such domain

2013-12-07 Thread Sam Varshavchik

Matus UHLAR - fantomas writes:


 Ricardo Kleemann writes:
 I'm trying to understand when the No such domain error is issued.

 On 07.12.13 08:42, Sam Varshavchik wrote:
 DNS lookup failure.

looking now at sources, seems this only happens when there's invald
esmtproute for given server set.

check your esmtproutes file..


No, it also gets reported when MX lookup fails with a hard error.



pgp3we0VDORLZ.pgp
Description: PGP signature
--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] No such domain

2013-12-06 Thread Ricardo Kleemann
Hi,

I'm trying to understand when the No such domain error is issued.

I have one server where most of the time I have no problems delivering mail
to a particular domain. This is an email relay for a mailing list server.

The list server handles a few lists, one of which is quite large. The
relaying mail server will deliver a large number of bounce messages to the
list server, which then processes them accordingly.

So let's suppose we have a mailing list, l...@mydomain.com. Bounce messages
goes to list-boun...@mydomain.com. The list server is the MX host for
mydomain.com, and the relay server is the one that distributes the mailing
list messages, and gets back any bounces and forwards these bounces back to
the list server.

So the vast majority of the time, the relay servers successfully delivers
messages addressed to list-boun...@mydomain.com to the list server without
a problem.

For example, a real log entry changed with the fictional addresses:

Dec  6 00:13:20 relay1 courierd:
newmsg,id=0006094A.52A18720.71DB: dns; localhost
(localhost [127.0.0.1])
Dec  6 00:13:20 relay1 courierd:
started,id=0006094A.52A18720.71DB,from=,module=esmtp,host=
mydomain.com,addr=list-boun...@mydomain.com
Dec  6 00:13:20 relay1 courierd:
started,id=0006094A.52A18720.71DB,from=,module=esmtp,host=
mydomain.com,addr=list-boun...@mydomain.com
Dec  6 00:13:20 relay1 courieresmtp:
id=0006094A.52A18720.71DB,from=,addr=
list-boun...@mydomain.com: 250 Ok. 52A186FF.513A
Dec  6 00:13:20 relay1 courieresmtp:
id=0006094A.52A18720.71DB,from=,addr=
list-boun...@mydomain.com,size=4399,success: delivered:
mydomain.com[aa.bb.cc.dd]
Dec  6 00:13:20 relay1 courieresmtp:
id=0006094A.52A18720.71DB,from=,addr=
list-boun...@mydomain.com,size=4399,status: success

What's depicted above is what I see in the log a vast majority of the time
throughout the day.

However sometimes (maybe once a day or couple of days) I will see a flurry
of error messages showing No such domain. It seems that this occurs after
a series of attempts and deferrals. I'll paste a trace of a particular
message that ended up with No such domain (this one is the last in a
series of error messages)

Dec  6 09:18:03 relay1 courierd:
newmsg,id=00060CBE.52A206CB.082D: dns; localhost
(localhost [127.0.0.1])
Dec  6 09:18:03 relay1 courierd:
started,id=00060CBE.52A206CB.082D,from=,module=esmtp,host=
mydomain.com,addr=list-boun...@mydomain.com
Dec  6 09:18:07 relay1 courieresmtp:
id=00060CBE.52A206CB.082D,from=,addr=
list-boun...@mydomain.com: Network connection shut down by the remote mail
server
Dec  6 09:18:07 relay1 courieresmtp:
id=00060CBE.52A206CB.082D,from=,addr=
list-boun...@mydomain.com,status: deferred
Dec  6 09:28:07 relay1 courierd:
started,id=00060CBE.52A206CB.082D,from=,module=esmtp,host=
mydomain.com,addr=list-boun...@mydomain.com
Dec  6 09:28:07 relay1 courieresmtp:
id=00060CBE.52A206CB.082D,from=,addr=
list-boun...@mydomain.com: Network connection shut down by the remote mail
server
Dec  6 09:28:07 relay1 courieresmtp:
id=00060CBE.52A206CB.082D,from=,addr=
list-boun...@mydomain.com,status: deferred
Dec  6 09:38:07 relay1 courierd:
started,id=00060CBE.52A206CB.082D,from=,module=esmtp,host=
mydomain.com,addr=list-boun...@mydomain.com
Dec  6 09:38:07 relay1 courieresmtp:
id=00060CBE.52A206CB.082D,from=,addr=
list-boun...@mydomain.com: Network connection shut down by the remote mail
server
Dec  6 09:38:07 relay1 courieresmtp:
id=00060CBE.52A206CB.082D,from=,addr=
list-boun...@mydomain.com,status: deferred
Dec  6 09:38:07 relay1 courierd:
completed,id=00060CBE.52A206CB.082D
Dec  6 19:32:45 relay1 courieresmtp:
id=00060CBE.52A206CB.082D,from=,addr=
list-boun...@mydomain.com: Network connection shut down by the remote mail
server
Dec  6 19:32:45 relay1 courieresmtp:
id=00060CBE.52A206CB.082D,from=,addr=
list-boun...@mydomain.com,status: deferred
Dec  6 19:32:51 relay1 courieresmtp:
id=00060CBE.52A206CB.082D,from=,addr=
list-boun...@mydomain.com: No such domain.
Dec  6 19:32:51 relay1 courieresmtp:
id=00060CBE.52A206CB.082D,from=,addr=
list-boun...@mydomain.com,status: failure

So, first, I know that I need to figure out why in the first place the
remote server (the list server) is shutting down the connection - I'm
guessing there's too many connections coming in. However, getting messages
deferred and then suddenly getting a No such domain error makes no sense.
Obviously the server successfully delivers messages over and over for that
domain to that server.

Not only that, but I can see in the log that at the same time messages are
getting rejected 

[courier-users] Mailbox and domain alias together

2013-04-26 Thread Marek Blažek
Hi,

is it possible to use domain alias and mailbox alias at the same time?

E.g. I have domain with alias in hosteddomains (and esmtpacceptmailfor)
mydomain.comtabmy-domain.com

and at the same time there are aliases in aliases/my-domain.com like
u...@my-domain.com: perso...@email.com

So I would like to first rewrite domain alias and then apply mailbox alias and 
deliver.
u...@mydomain.com
   --  u...@my-domain.com
   --  perso...@email.com

Currently it succesfully rewrites domain, but then I get 500 user unknown.
(Sadly I did not forget to run makealiases).

Marek
--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] newsletters and domain throttling

2010-11-19 Thread Nathan Eady
Sam Varshavchik mr...@courier-mta.com writes:

 I need to send newsletters and set some limits.
 Something like this:

 - max 1000 emails per hour to yahoo.com
 - max 500 email per hour to *

 Emails that exceeded limits should be queued and send as soon as
 possible.

 Nope, there's no such thing.

 The only thing that's possible to do is to redirect mail to a given
 domain to some other smarthost, and you can shape its outbound
 bandwidth however you want.

Either that, or the application that generates the junk in the first
place could hand it over to the MTA at suitable intervals, rather than
all at once.  Any software designed to generate trainloads of bulk
mail *should* be capable of doing this, I would think.

-- 
Nathan Eady
Galion Public Library

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] newsletters and domain throttling

2010-11-12 Thread Artur
Hi!

Is it any way to do a domain throttling in courier?

I need to send newsletters and set some limits.
Something like this:

- max 1000 emails per hour to yahoo.com
- max 500 email per hour to *

Emails that exceeded limits should be queued and send as soon as possible.

Thanks for help,
Artur


--
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] newsletters and domain throttling

2010-11-12 Thread Sam Varshavchik

Artur writes:


Hi!

Is it any way to do a domain throttling in courier?

I need to send newsletters and set some limits.
Something like this:

- max 1000 emails per hour to yahoo.com
- max 500 email per hour to *

Emails that exceeded limits should be queued and send as soon as possible.


Nope, there's no such thing.

The only thing that's possible to do is to redirect mail to a given domain 
to some other smarthost, and you can shape its outbound bandwidth however 
you want.





pgp0ex1kXP5pb.pgp
Description: PGP signature
--
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Aliases and domain aliases

2010-05-28 Thread Bowie Bailey
How do the domain aliases in hosteddomains interact with the normal user
aliases?  If I want to alias one user to another on these domains, do I
need to add alias lines for both domains, or just one?

-- 
Bowie

--

___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Aliases and domain aliases

2010-05-28 Thread Sam Varshavchik

Bowie Bailey writes:


How do the domain aliases in hosteddomains interact with the normal user
aliases?  If I want to alias one user to another on these domains, do I
need to add alias lines for both domains, or just one?


For both.



pgpYrYHxwKtNc.pgp
Description: PGP signature
--

___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] IDN in domain name

2008-04-15 Thread Jesper Langkjær
Hi..

I've live i Denmark and pretty funny letters like (æøå ÆØÅ)
And now when you can have this i your domain name we have som problem
with courier-0.56.0-1.6.
When we try to send mail to ex. permatæt.dk we get an #5.0.0 smtp; 501 Bad 
address syntax

Are ther anything we can do about that ?

Kind regards

Jesper Langkjær
*
Denne e-mail er scannet for virus og spam
*

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] IDN in domain name

2008-04-15 Thread Aidas Kasparas


Jesper Langkjær wrote:
 I've live i Denmark and pretty funny letters like (æøå ÆØÅ)
 And now when you can have this i your domain name we have som problem
 with courier-0.56.0-1.6.
 When we try to send mail to ex. permatæt.dk we get an #5.0.0 smtp; 501 Bad 
 address syntax
 
 Are ther anything we can do about that ?

Jasper,

I believe, that smtp client should supply that address not as
[EMAIL PROTECTED], but as [EMAIL PROTECTED] Then present
courier code will handle it just fine. I'm not aware of email clients
what support this transformation. Therefore at the moment IDN domains
are useable for web browsing only.

The only place where courier's code may need to be changed is webmail 
part.

P.S. we in Lithuania also have funny letters (ąčęėįšųūž) and these are
legal in .lt domains.

-- 
Aidas Kasparas
IT administrator
GM Consult Group, UAB

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] IDN in domain name

2008-04-15 Thread Gordon Messmer
Jesper Langkjær wrote:
 When we try to send mail to ex. permatæt.dk we get an #5.0.0 smtp; 501 Bad 
 address syntax

I don't believe that's an error message found in Courier.  I think your 
problem lies elsewhere.  Do you have any logs regarding that delivery 
attempt?


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] IDN in domain name

2008-04-15 Thread Bernd Wurst
Hi.

On Tuesday 15 April 2008, Jesper Langkjær wrote:
 Hi..

 I've live i Denmark and pretty funny letters like (æøå ÆØÅ)
 And now when you can have this i your domain name we have som problem
 with courier-0.56.0-1.6.
 When we try to send mail to ex. permatæt.dk we get an #5.0.0 smtp; 501 Bad
 address syntax

 Are ther anything we can do about that ?

As far as I know the IDN specs, all server applications should never been 
bugged with IDN domain names. Clients should do the punycode conversion 
offline and then only use the xn--foobar-...-version in SMTP dialog.

Quote from http://tools.ietf.org/html/rfc3490#section-6 about the 
communication of the client program to the server:
| ACE unless the protocol is updated to handle other encodings

But hey, IMO it's a *really* bad idea to use IDN for e-mail at all.

In practice, nearly noone does only provide his webpage via IDN because people 
with non-native keyboards will not be able to call the address. Concerning 
e-mail, this is even worse, I think. There aren't many client programs out 
there that can handle IDN addresses and it breaks the allowed characters for 
header fields as described in RFC 2822.

regards, Bernd

-- 
There are only two things wrong with C++:
The initial concept and the implementation.  -  Bertrand Meyer


signature.asc
Description: This is a digitally signed message part.
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] IDN in domain name

2008-04-15 Thread Jesper Langkjær
Jesper Langkjær wrote:
 When we try to send mail to ex. permatæt.dk we get an #5.0.0 smtp; 501 Bad 
 address syntax

I don't believe that's an error message found in Courier.  I think your 
problem lies elsewhere.  Do you have any logs regarding that delivery 
attempt?

Oh yes.
Apr 14 09:40:45 xxx courierd: 
started,id=0026EECE.4803269C.201B,from=[EMAIL 
PROTECTED],module=esmtp,host=permat.t.dk,addr=[EMAIL PROTECTED]
Apr 14 09:40:45 xxx courieresmtp: 
id=0026EECE.4803269C.201B,from=[EMAIL PROTECTED],addr=[EMAIL 
PROTECTED]: 501 5.1.3 Bad recipient address syntax

But as Aidas replyed the problem are most likely to be found in the mail client 
(mutt)

/Jesper


*
Denne e-mail er scannet for virus og spam
*

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] IDN in domain name

2008-04-15 Thread Gordon Messmer
Jesper Langkjær wrote:
 
 Oh yes.
 Apr 14 09:40:45 xxx courierd: 
 started,id=0026EECE.4803269C.201B,from=[EMAIL 
 PROTECTED],module=esmtp,host=permat.t.dk,addr=[EMAIL PROTECTED]
 Apr 14 09:40:45 xxx courieresmtp: 
 id=0026EECE.4803269C.201B,from=[EMAIL PROTECTED],addr=[EMAIL 
 PROTECTED]: 501 5.1.3 Bad recipient address syntax
 
 But as Aidas replyed the problem are most likely to be found in the mail 
 client (mutt)

Those two lines indicate that courier accepted the message from your 
client, and tried to send it to the destination address.  The mail 
server at the destination refused the message with the error code that 
you cited.  Since you obscured the domains, it's hard to say whether or 
not there's a problem that can be addressed at your mail server, but I 
think it's unlikely.

Please refrain from obscuring information from your logs...  Asking us 
for help, and then withholding the information that we need to provide 
you help is frustrating.


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] forged local domain user

2007-08-15 Thread Bernd Wurst
Hi.

Am Mittwoch, 15. August 2007 schrieb Deephay:
 I received a type of spams frequently: mails from forged local users
 ([EMAIL PROTECTED]). After 550 User unknown, courier will
 generate an bouce message to postmaster. Is there a way to deal with
 this? thanks!

Please specify exactly what kind of messages you mean.

For incoming mail, courier will say 550 User unknown at SMTP level to the 
opposite mail server and will not generate any bounce message at all.

For outgoing mail, if some of your somehow authenticated users uses a forged 
sender address, the described behaviour is normal, you can see which user has 
authenticated with courier and blame him for stupidity. ;-)


In the first case, if courier gets a message from outside and CANNOT look 
inside the home-dir of the user if there is a .courier-File, the message gets 
accepted and a bounce message to the sender is issued later in the process. 
If this cannot be delivered, postmaster is notified.
This occures, when user mail (or whatever you configured esmtpd to run as) 
has no execute-permission for the homedir of the destination user.


So please tell us which messages you mean. :)

cu, Bernd


signature.asc
Description: This is a digitally signed message part.
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] forged local domain user

2007-08-15 Thread Deephay
On 8/15/07, Bernd Wurst [EMAIL PROTECTED] wrote:
 Hi.

 Am Mittwoch, 15. August 2007 schrieb Deephay:
  I received a type of spams frequently: mails from forged local users
  ([EMAIL PROTECTED]). After 550 User unknown, courier will
  generate an bouce message to postmaster. Is there a way to deal with
  this? thanks!

 Please specify exactly what kind of messages you mean.

 For incoming mail, courier will say 550 User unknown at SMTP level to the
 opposite mail server and will not generate any bounce message at all.

 For outgoing mail, if some of your somehow authenticated users uses a forged
 sender address, the described behaviour is normal, you can see which user has
 authenticated with courier and blame him for stupidity. ;-)


 In the first case, if courier gets a message from outside and CANNOT look
 inside the home-dir of the user if there is a .courier-File, the message gets
 accepted and a bounce message to the sender is issued later in the process.
 If this cannot be delivered, postmaster is notified.
 This occures, when user mail (or whatever you configured esmtpd to run as)
 has no execute-permission for the homedir of the destination user.


 So please tell us which messages you mean. :)

 cu, Bernd


Hi, I googled and this is exactly I got:

http://www.mail-archive.com/courier-users@lists.sourceforge.net/msg29315.html

Sam explained why and the reason is diffrent from my thought.

Cheers,
Deephay

 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 courier-users mailing list
 courier-users@lists.sourceforge.net
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users




-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] forged local domain user

2007-08-14 Thread Deephay
Greetings,

I received a type of spams frequently: mails from forged local users
([EMAIL PROTECTED]). After 550 User unknown, courier will
generate an bouce message to postmaster. Is there a way to deal with
this? thanks!

Cheers,
Deephay

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Adding a domain to Courier

2007-05-01 Thread Gordon Messmer
Steve Shockley wrote:
 Gordon Messmer wrote:
  Then run python and use it to print the keys from each dbm, like so:

 
 smtpaccess.dat: List of subnets in my blackist, mostly.
 aliases.dat: List of @example.org addresses
 esmtpacceptmailfor.dat: krunk.shockley.net, shockley.net, example.org
 esmtppercentrelay.dat: empty
 hosteddomains.dat: example.org
 
 Any ideas what's going wrong?  Thanks.

Presumably python didn't throw any errors, right?  That's what I was 
trying to establish.

Did you run makepercentrelay?  Try removing the file 
esmtppercentrelay.dat.  You shouldn't need it if it's empty.

If that doesn't change anything (and I'm not sure why it would), we'll 
probably have to resort to a debugger.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Adding a domain to Courier

2007-04-30 Thread Steve Shockley
Gordon Messmer wrote:
 Steve Shockley wrote:
 Gordon Messmer wrote:
   That error from gdbm has been reported before, but I don't recall ever
   seeing a fix for it, or even an explanation.  Remake all of your dbs
   with the relevant make.. command and see if it continues.  Maybe it
   just means that you don't have a hosteddomains.db file?

 Well, I (now) have a hosteddomains.dat file.

 Sam Varshavchik wrote:
 The GDBM library can't digest something.  Try rerunning makealiases and
 makeacceptmailfor,.
 I had run the make* a couple of times with no change.  I just tried 
 deleting all the *.dat files and re-creating them, and now I'm getting 
 513 Relaying Denied (but no GDBM errors).
 
 That would indicate that the domain isn't in esmtpacceptmailfor.dir (or 
 its .dat).
 
 Just once more, remove all of the .dat files from /etc/courier, run:
 
 makeacceptmailfor
 makesmtpaccess
 makealiases
 
 ...and then restart courier.  If you still have a problem, try 
 rebuilding courier with a different DB library.

Well, the 513 error above was just a misconfiguration, I'm still able to 
duplicate the issue.  I was getting a 513 on all domains, oops.

I'd prefer not to switch DB libraries, since the official OpenBSD 
package for authlib uses gdb, and I'd prefer to use pre-built binaries 
where possible.

 Since this has been reported as an issue before, with no resolution, I'm 
 really curious as to what's going on.  What platform are you using?

OpenBSD 3.8, i386, courier-authlib 0.58, courier 0.52.1.

 If you would, please run file /etc/courier/*.dat and see what it has to 
 say.

aliases.dat:GNU dbm 1.x or ndbm database, little endian
esmtpacceptmailfor.dat: GNU dbm 1.x or ndbm database, little endian
esmtppercentrelay.dat:  GNU dbm 1.x or ndbm database, little endian
hosteddomains.dat:  GNU dbm 1.x or ndbm database, little endian
smtpaccess.dat: GNU dbm 1.x or ndbm database, little endian


  Then run python and use it to print the keys from each dbm, like so:
 
 # python
 Python 2.4.3 (#1, Mar 14 2007, 18:51:08)
 [GCC 4.1.1 20070105 (Red Hat 4.1.1-52)] on linux2
 Type help, copyright, credits or license for more information.
   import anydbm
   test = anydbm.open('/etc/courier/smtpaccess.dat')
   print test.keys()
 ['192.168', '127.0.0.1', '10']

smtpaccess.dat: List of subnets in my blackist, mostly.

aliases.dat: List of @example.org addresses

esmtpacceptmailfor.dat: krunk.shockley.net, shockley.net, example.org

esmtppercentrelay.dat: empty

hosteddomains.dat: example.org


Any ideas what's going wrong?  Thanks.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Adding a domain to Courier

2007-04-15 Thread Gordon Messmer
Steve Shockley wrote:
 Gordon Messmer wrote:
   That error from gdbm has been reported before, but I don't recall ever
   seeing a fix for it, or even an explanation.  Remake all of your dbs
   with the relevant make.. command and see if it continues.  Maybe it
   just means that you don't have a hosteddomains.db file?
 
 Well, I (now) have a hosteddomains.dat file.
 
 Sam Varshavchik wrote:
 The GDBM library can't digest something.  Try rerunning makealiases and
 makeacceptmailfor,.
 
 I had run the make* a couple of times with no change.  I just tried 
 deleting all the *.dat files and re-creating them, and now I'm getting 
 513 Relaying Denied (but no GDBM errors).

That would indicate that the domain isn't in esmtpacceptmailfor.dir (or 
its .dat).

Just once more, remove all of the .dat files from /etc/courier, run:

makeacceptmailfor
makesmtpaccess
makealiases

...and then restart courier.  If you still have a problem, try 
rebuilding courier with a different DB library.

Since this has been reported as an issue before, with no resolution, I'm 
really curious as to what's going on.  What platform are you using?  If 
you would, please run file /etc/courier/*.dat and see what it has to 
say.  Then run python and use it to print the keys from each dbm, like so:

# python
Python 2.4.3 (#1, Mar 14 2007, 18:51:08)
[GCC 4.1.1 20070105 (Red Hat 4.1.1-52)] on linux2
Type help, copyright, credits or license for more information.
  import anydbm
  test = anydbm.open('/etc/courier/smtpaccess.dat')
  print test.keys()
['192.168', '127.0.0.1', '10']

You can use anydbm.open() to open each of the dat files in sequence and 
make sure they all have a reasonable set of keys.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Adding a domain to Courier

2007-04-13 Thread Sam Varshavchik

Steve Shockley writes:


Gordon Messmer wrote:
  You also need to list example.org in hosteddomains, and run
  `makehosteddomains`.

Tried it, no change.

  That error from gdbm has been reported before, but I don't recall ever
  seeing a fix for it, or even an explanation.  Remake all of your dbs
  with the relevant make.. command and see if it continues.  Maybe it
  just means that you don't have a hosteddomains.db file?

Well, I (now) have a hosteddomains.dat file.

Sam Varshavchik wrote:

The GDBM library can't digest something.  Try rerunning makealiases and
makeacceptmailfor,.


I had run the make* a couple of times with no change.  I just tried 
deleting all the *.dat files and re-creating them, and now I'm getting 
513 Relaying Denied (but no GDBM errors).


That's either locals, or hosteddomains, or esmtpacceptmailfor.

Make sure that this domain is in locals or hosteddomains.  And in 
esmtpacceptmailfor (run makeacceptmailfor).





pgpldJYdmJnJq.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Adding a domain to Courier

2007-04-12 Thread Gordon Messmer
Steve Shockley wrote:
 I have an existing Courier 0.52.1 server accepting mail for 
 shockley.net.  I want it to also accept mail for another domain 
 (example.org) and forward those mails to other addresses (mostly non-local).

 Example.org is listed in /etc/courier/esmtpacceptmailfor.dir/webadmin. 
 I've listed all the accounts in a file in 
 /etc/courier/aliases/example.org (in the format [EMAIL PROTECTED]: 
 [EMAIL PROTECTED])

You also need to list example.org in hosteddomains, and run 
`makehosteddomains`.

 courieresmtpd: started,ip=[66.133.182.167]
 courieresmtpd: started,ip=[66.133.182.167]
 courieresmtpd: submitclient: EOF from submit.
 courieresmtpd: error,relay=66.133.182.167,msg=502 ESMTP command 
 error,cmd: DATA
 courieresmtpd: gdbm fatal: couldn't init cache
   

That error from gdbm has been reported before, but I don't recall ever 
seeing a fix for it, or even an explanation.  Remake all of your dbs 
with the relevant make.. command and see if it continues.  Maybe it 
just means that you don't have a hosteddomains.db file?



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Adding a domain to Courier

2007-04-12 Thread Sam Varshavchik

Steve Shockley writes:

I have an existing Courier 0.52.1 server accepting mail for 
shockley.net.  I want it to also accept mail for another domain 
(example.org) and forward those mails to other addresses (mostly non-local).


Example.org is listed in /etc/courier/esmtpacceptmailfor.dir/webadmin. 
I've listed all the accounts in a file in 
/etc/courier/aliases/example.org (in the format [EMAIL PROTECTED]: 
[EMAIL PROTECTED]) and a bunch of distribution lists in 
/etc/courier/aliases/lists-example.org.  There's also an 
/etc/courier/aliases/webadmin containing existing forwards to local 
accounts.


When I moved the MX records over, I started getting a bunch of

courieresmtpd: submitclient: EOF from submit.

and logs like:

courieresmtpd: started,ip=[66.133.182.167]
courieresmtpd: started,ip=[66.133.182.167]
courieresmtpd: submitclient: EOF from submit.
courieresmtpd: error,relay=66.133.182.167,msg=502 ESMTP command 
error,cmd: DATA

courieresmtpd: gdbm fatal: couldn't init cache
courieresmtpd: gdbm fatal: couldn't init cache


The GDBM library can't digest something.  Try rerunning makealiases and
makeacceptmailfor,.



pgptbu58q9EnS.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Adding a domain to Courier

2007-04-12 Thread Steve Shockley
Gordon Messmer wrote:
  You also need to list example.org in hosteddomains, and run
  `makehosteddomains`.

Tried it, no change.

  That error from gdbm has been reported before, but I don't recall ever
  seeing a fix for it, or even an explanation.  Remake all of your dbs
  with the relevant make.. command and see if it continues.  Maybe it
  just means that you don't have a hosteddomains.db file?

Well, I (now) have a hosteddomains.dat file.

Sam Varshavchik wrote:
 The GDBM library can't digest something.  Try rerunning makealiases and
 makeacceptmailfor,.

I had run the make* a couple of times with no change.  I just tried 
deleting all the *.dat files and re-creating them, and now I'm getting 
513 Relaying Denied (but no GDBM errors).

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier virtual domain alias trouble/bug

2007-01-11 Thread Alessandro Vesely
Svetozar Mihailov wrote:
 I am using full courier suite since version 0.37, [...]
 Courier 0.52.2 + Authlib 0.58
 Courier 0.54.1 + Authlib 0.59

Do you mean aliases stopped working when you upgraded [to which version]?

 There are logs with real domains hidden:

does testmxlookup return the same for each domain?



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier virtual domain alias trouble/bug

2007-01-11 Thread Svetozar Mihailov
On Thu, 2007-01-11 at 09:25 +0100, Alessandro Vesely wrote:
 Svetozar Mihailov wrote:
  I am using full courier suite since version 0.37, [...]
  Courier 0.52.2 + Authlib 0.58
  Courier 0.54.1 + Authlib 0.59
 
 Do you mean aliases stopped working when you upgraded [to which
version]?
 

I never use catch-all [EMAIL PROTECTED] until now. So I don't know from
which version courier does not search for [EMAIL PROTECTED] for every
hosted domain, when user in not found in mysql.

  There are logs with real domains hidden:
 
 does testmxlookup return the same for each domain?
 

Yes, master DNS for all hosted domains are on same server, all domains
have only one MX and this MX is server itself as hostname, not as ip
address.

As I wrote to list problem disappears when contents of 'me' file does
not match any of hosted domains. This of course lead to problem with
emails generated from server itself ( apache, some cron scripts, ... )
but this can be fixed.

Anyway I track problem to file courier/module.local/local.c but tests
are in progress. I currently does not understand why domain part is
stripped when address is in form [EMAIL PROTECTED] where contents of
me is domain. I suppose that domain listed in me file is auto
local, or something like this. So I change me file to hostname of
server for temporally fix ( and run makealiases of course ). If local
domains are those listed in locals AND in me file and this is
somewhere in docs I missed that part.

Best regards,
Svetozar Mihailov


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Courier virtual domain alias trouble/bug

2007-01-09 Thread Svetozar Mihailov
Hello,

I am using full courier suite since version 0.37, so I know good enough
how to configure it. But now I have problem or may be I found bug.

System description:

Courier 0.52.2 + Authlib 0.58
Courier 0.54.1 + Authlib 0.59

OS: CentOS version 3.8 ( RHEL 3 ), Mysql 3.23.58. 

Courier is build as rpms with 'rpmbuild -ta ' on same machine.

I have running mail server with 18 domains. All are listed in
hosteddomains and esmtpacceptmailfor. I use only mysql authentication.
Server is up and running fine for over two years with thousands mail per
day.

Now I try to setup 'catch-all' accounts for all domains. I create mail
accounts in mysql '[EMAIL PROTECTED]' for every hosted domain, and
create .courier-default files.

I set DEBUG=1 in authdaemonrc. And in maillog I see that courier ask for
local part 'alias' ONLY for one domain. This domain is listed in middle
of hosteddomains and esmtpacceptmailfor files, not at first and not at
last line. For that domain alias works as expected, .courier-default
delivery works and all mail for unknown accounts is accepted. But for
remaining 17 domains, courier never ask for 'alias' and just answer with
'550 User unknown.'. And this 'working' domain is not DEFAULTDOMAIN.

There are logs with real domains hidden:

Working alias:

Jan  9 18:45:17 zen authdaemond: received userid lookup request:
[EMAIL PROTECTED]
Jan  9 18:45:17 zen authdaemond: authmysql: trying this module
Jan  9 18:45:17 zen authdaemond: SQL query: SELECT CONCAT
(znet_cour_local.local_part, '@', znet_cour_domain.domain_name),   ...
znet_cour_loca
l.crypt,   ...znet_cour_local.clear,   ...
znet_cour_domain.uid,   ...znet_cour_domain.gid,   ...CONCAT
(znet_cour_domain.domain_pa
th, '/', znet_cour_domain.domain_name, '/',
znet_cour_local.local_part ),   ...'' ,   ...CONCAT
(znet_cour_local.quota,'S'),   ...'',
  ...''   ...FROM znet_cour_local LEFT JOIN znet_cour_domain ON
znet_cour_local.domain = znet_
Jan  9 18:45:17 zen authdaemond: cour_domain.did   ...WHERE   ...
znet_cour_local.local_part = 'vyvcfwjjy'   ...AND znet_cour_domain.d
omain_name = 'workingdomain'   ...AND enabled='y' AND courier = 'y'
Jan  9 18:45:17 zen authdaemond: zero rows returned
Jan  9 18:45:17 zen authdaemond: authmysql: REJECT - try next module
Jan  9 18:45:17 zen authdaemond: FAIL, all modules rejected
Jan  9 18:45:17 zen authdaemond: received userid lookup request:
[EMAIL PROTECTED]
Jan  9 18:45:17 zen authdaemond: authmysql: trying this module
Jan  9 18:45:17 zen authdaemond: SQL query: SELECT CONCAT
(znet_cour_local.local_part, '@', znet_cour_domain.domain_name),   ...
znet_cour_loca
l.crypt,   ...znet_cour_local.clear,   ...
znet_cour_domain.uid,   ...znet_cour_domain.gid,   ...CONCAT
(znet_cour_domain.domain_pa
th, '/', znet_cour_domain.domain_name, '/',
znet_cour_local.local_part ),   ...'' ,   ...CONCAT
(znet_cour_local.quota,'S'),   ...'',
  ...''   ...FROM znet_cour_local LEFT JOIN znet_cour_domain ON
znet_cour_local.domain = znet_
Jan  9 18:45:17 zen authdaemond: cour_domain.did   ...WHERE   ...
znet_cour_local.local_part = 'alias'   ...AND znet_cour_domain.domai
n_name = 'workingdomain'   ...AND enabled='y' AND courier = 'y'


And all other 17 domains:

Jan  9 18:45:40 zen authdaemond: received userid lookup request:
evpiehmnyyt
Jan  9 18:45:40 zen authdaemond: authmysql: trying this module
Jan  9 18:45:40 zen authdaemond: SQL query: SELECT CONCAT
(znet_cour_local.local_part, '@', znet_cour_domain.domain_name),   ...
znet_cour_loca
l.crypt,   ...znet_cour_local.clear,   ...
znet_cour_domain.uid,   ...znet_cour_domain.gid,   ...CONCAT
(znet_cour_domain.domain_pa
th, '/', znet_cour_domain.domain_name, '/',
znet_cour_local.local_part ),   ...'' ,   ...CONCAT
(znet_cour_local.quota,'S'),   ...'',
  ...''   ...FROM znet_cour_local LEFT JOIN znet_cour_domain ON
znet_cour_local.domain = znet_
Jan  9 18:45:40 zen authdaemond: cour_domain.did   ...WHERE   ...
znet_cour_local.local_part = 'evpiehmnyyt'   ...AND znet_cour_domain
.domain_name = 'notworking'   ...AND enabled='y' AND courier = 'y'
Jan  9 18:45:40 zen authdaemond: zero rows returned
Jan  9 18:45:40 zen authdaemond: authmysql: REJECT - try next module
Jan  9 18:45:40 zen authdaemond: FAIL, all modules rejected
error,relay=:::213.192.241.34,from=,to=[EMAIL PROTECTED]: 550 User 
unknown.


Configuration again: all 18 domains are listed ONLY in hosteddomains and
esmtpacceptmailfor files. 'makehosteddomains' and 'makeacceptmailfor'
are run to create .dat files. Authlib uses ONLY mysql backend. .courier-
default files are properly set, owner and permisions are correct ( same
for all domains ). And mail server works fine at all.

If I miss something, please give me direction where to look.

Best regards,
Svetozar Mihailov


-
Take Surveys. Earn Cash. Influence the 

[courier-users] no such domain

2006-04-12 Thread Sergio Botrsov
Hello!
You will understand my problem if analyse this

nslookup domain.com
Server:  localhost.gu.lviv.ua
Address:  127.0.0.1

Non-authoritative answer:
Name:domain.com
Address:  123.456.789.012

But Courier said

Apr 12 14:47:17 colo courieresmtp:
id=148A.443CE827.C1F9,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED]:
No such domain.

How is it?
-- 
Sergiy Bortsov
tel.:8 032 2987593
mob.:8 050 3170470




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] no such domain

2006-04-12 Thread Ben Kennedy
Sergio Botrsov wrote at 3:17 PM (+0300) on 4/12/06:

Apr 12 14:47:17 colo courieresmtp:
id=148A.443CE827.C1F9,from=b
[EMAIL PROTECTED],addr=[EMAIL PROTECTED]:
No such domain.

How is it?

My guess is that your server's upstream DNS do not know about the
domain, even though it may be configured on the DNS service running on
localhost.  Perhaps the authority is not set correctly.

If you would tell us the actual domain (I presume you don't really mean
domain.com) then we could verify this rather than speculating.

-b

-- 
Ben Kennedy, chief magician
zygoat creative technical services
613-228-3392 | 1-866-466-4628
http://www.zygoat.ca




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


RE: [courier-users] no such domain

2006-04-12 Thread Bowie Bailey
Ben Kennedy wrote:
 Sergio Botrsov wrote at 3:17 PM (+0300) on 4/12/06:
 
  Apr 12 14:47:17 colo courieresmtp:
  id=148A.443CE827.C1F9,from=b
  [EMAIL PROTECTED],addr=[EMAIL PROTECTED]: No such
  domain. 
  
  How is it?
 
 My guess is that your server's upstream DNS do not know about the
 domain, even though it may be configured on the DNS service running on
 localhost.  Perhaps the authority is not set correctly.
 
 If you would tell us the actual domain (I presume you don't really
 mean domain.com) then we could verify this rather than speculating.

What does a testmxlookup domain.com give you?

-- 
Bowie


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] no such domain

2006-04-12 Thread Ben Kennedy
Bowie Bailey wrote at 10:23 AM (-0400) on 4/12/06:

What does a testmxlookup domain.com give you?

Are you asking me?  

basil ben # testmxlookup domain.com
Domain domain.com:
Relay: sentry.domainbank.com, Priority: 10, Address: :::64.85.73.100

How is this relevant?

-b


-- 
Ben Kennedy, chief magician
zygoat creative technical services
613-228-3392 | 1-866-466-4628
http://www.zygoat.ca




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


RE: [courier-users] no such domain

2006-04-12 Thread Bowie Bailey
Ben Kennedy wrote:
 Bowie Bailey wrote at 10:23 AM (-0400) on 4/12/06:
 
  What does a testmxlookup domain.com give you?
 
 Are you asking me?
 
 basil ben # testmxlookup domain.com
 Domain domain.com:
 Relay: sentry.domainbank.com, Priority: 10, Address:
 :::64.85.73.100 
 
 How is this relevant?

I was asking the original poster, whoever that was.  I don't have the
emails anymore.

testmxlookup will do a lookup the same way Courier does.  It sometimes
comes up with different results than a dig or nslookup.

-- 
Bowie


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] no such domain

2006-04-12 Thread Gordon Messmer

Sergio Botrsov wrote:

dig for this domain said that all good.

domain.com.   67524   IN  MX  10 box1.domain.com.
domain.com.   67524   IN  MX  30 (and other)
domain.com.   67524   IN  MX  60 (and other)


Posting stuff that you made up makes it difficult for list members to do 
anything other than guess at the problem.


The domain that you're having trouble with is probably using an IP in 
one of their MX records, which isn't allowed, or one of the hostnames 
returns a CNAME value instead of an A record, which also isn't allowed.




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] destination based domain masquerading

2006-03-02 Thread Gordon Messmer

Vincent wrote:


I have actually dealt with this very issue for years with various MTA's
including sendmail (which was always a nightmare to work with).  I am
always in a situation, either in the work place or at home, where I need
send email between individual hosts on a LAN with the hostname after the
'@' in the from line and, at the same time, be able to send mail to the
outside with only the domain after the '@' in the from line.  It has
always been a problem.  I find it impossible to believe that it has not
been an ongoing problem for others as well, causing a lot more custom
administration, setting up separate internal mail servers, etc to
accomplish it.


Really?  You find that impossible to believe?  In ten years, I've never 
cared to be able to send mail between individual systems in a private 
network, either at work or home.  I always prefer to have one mail 
server, so that everyone can look in just one spot for their mail.


If you need flexible masquerading, by all means use a product that 
supports it, but allow your disbelief, that most of us prefer not to 
deal with that complexity for no particular reason, to ease.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] destination based domain masquerading

2006-03-02 Thread Jerry Amundson
On Thu March 2 2006 13:52, Gordon Messmer wrote:
 Vincent wrote:
  I have actually dealt with this very issue for years with various
  MTA's including sendmail (which was always a nightmare to work
  with).  I am always in a situation, either in the work place or at
  home, where I need send email between individual hosts on a LAN
  with the hostname after the '@' in the from line and, at the same
  time, be able to send mail to the outside with only the domain
  after the '@' in the from line.  It has always been a problem.  I
  find it impossible to believe that it has not been an ongoing
  problem for others as well, causing a lot more custom
  administration, setting up separate internal mail servers, etc to
  accomplish it.

 Really?  You find that impossible to believe?  In ten years, I've
 never cared to be able to send mail between individual systems in a
 private network, either at work or home.  I always prefer to have one
 mail server, so that everyone can look in just one spot for their
 mail.

I agree.

 If you need flexible masquerading, by all means use a product that
 supports it, but allow your disbelief, that most of us prefer not to
 deal with that complexity for no particular reason, to ease.

Well said.

jerry


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] destination based domain masquerading

2006-03-02 Thread Sergiy Zhuk
hi

On Thu, 2 Mar 2006, Gordon Messmer wrote:

 If you need flexible masquerading, by all means use a product that
 supports it

sendmail being one of them ;)))


-- 
rgds,
serge


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] destination based domain masquerading

2006-03-02 Thread Vincent
On Thu, Mar 02, 2006 at 11:52:58AM -0800, Gordon Messmer wrote:
 Vincent wrote:
 
 I have actually dealt with this very issue for years with various MTA's
 including sendmail (which was always a nightmare to work with).  I am
 always in a situation, either in the work place or at home, where I need
 send email between individual hosts on a LAN with the hostname after the
 '@' in the from line and, at the same time, be able to send mail to the
 outside with only the domain after the '@' in the from line.  It has
 always been a problem.  I find it impossible to believe that it has not
 been an ongoing problem for others as well, causing a lot more custom
 administration, setting up separate internal mail servers, etc to
 accomplish it.
 
 Really?  You find that impossible to believe?  In ten years, I've never 
 cared to be able to send mail between individual systems in a private 
 network, either at work or home.  I always prefer to have one mail 
 server, so that everyone can look in just one spot for their mail.
 
 If you need flexible masquerading, by all means use a product that 
 supports it, but allow your disbelief, that most of us prefer not to 
 deal with that complexity for no particular reason, to ease.

I never said most of you.   I'm not sure what your point is, unless
you are saying that since _you_ have not had a need for that feature
that you believe nobody else does.
 


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] destination based domain masquerading

2006-03-02 Thread Francisco Reyes

On Thu, 2 Mar 2006, Vincent wrote:


...  I am
always in a situation, either in the work place or at home, where I need
send email between individual hosts on a LAN with the hostname after the
'@' in the from line and, at the same time, be able to send mail to the
outside with only the domain after the '@' in the from line.


Can you give examples? I have read that line above and don't quite follow 
it.


Not sure what you are trying to do, but Postfix (and possibly others) have 
a transport table that may be along the lines of what you are looking.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] destination based domain masquerading

2006-03-01 Thread Vincent
On Mon, Feb 27, 2006 at 12:06:39PM -0600, Lindsay Haisley wrote:
 Thus spake Vincent on Mon, Feb 27, 2006 at 07:05:40AM CST
  On Fri, Feb 24, 2006 at 12:55:06PM -0600, Lindsay Haisley wrote:
 
 You might also look into using ssmtp an intermediary in the smtp process,
 although this would be a per-client solution and would only work on Linux
 clients, so it may not be ideal for you.  Local MUAs would then need to
 contain appropriate configs to rewrite the body From header based on the
 destination address.
 
 On the other hand, ssmtp is a very simple smtp tool which works as a
 sendmail interface, so it's an outbound-only smtp client, and would work
 with any CLI tools which effectively invoke /usr/sbin/sendmail or equiv.  It
 contains the following config option:
 
 # Set this to never rewrite the From: line (unless not given) and to
 # use that address in the from line of the envelope.
 FromLineOverride=YES
 
 ssmtp will then talk to whatever your outbound smpt server is, which should
 preserve the envelope from address.
 
 I've not come across any facility in courier which can do this, but courier
 contains many corners which I haven't visited.
 
 Of course, there's always something along the lines of a classic Unix hack
 which involves renaming /usr/sbin/sendmail to sendmail.real or something
 similar, and replacing /usr/sbin/sendmail with a perl or python (or awk/sed)
 script which will do the appropriate header rewriting and pass the mail on
 to ssmtp in some fashion.  You wouldn't need to configure your individual
 MUAs in this case.  My guess is that you don't want to go there ;-)

I would prefer not to :-).  I appreciate the suggestions and
information.

I have actually dealt with this very issue for years with various MTA's
including sendmail (which was always a nightmare to work with).  I am
always in a situation, either in the work place or at home, where I need
send email between individual hosts on a LAN with the hostname after the
'@' in the from line and, at the same time, be able to send mail to the
outside with only the domain after the '@' in the from line.  It has
always been a problem.  I find it impossible to believe that it has not
been an ongoing problem for others as well, causing a lot more custom
administration, setting up separate internal mail servers, etc to
accomplish it.  This is something that should be as simple as giving the
MTA a simple rule to rewrite the from line with your domain _only_ when
it is not addressed to a machine on the LAN.  It is an over site in the
MTA's that I have never understood.

At the moment I am still evaluating exim, so I have uninstalled courier,
but I ran another test with postfix on my workstation just to verify.
Sure enough, since I have masquerading turned on, even when I change the
From line in mutt before sending to another host on the LAN, postfix
rewrites the header anyway if the from line contains a host on the same
domain.  I have posted to the postfix list before about it and got the
same basic answer, Postfix does not do destination based masquerading.

Scanning over the exim docs again, it looks like it has very flexible
header rewriting controls.  So, for now, I am going to continue
evaluating it.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] destination based domain masquerading

2006-02-27 Thread Vincent
On Fri, Feb 24, 2006 at 12:55:06PM -0600, Lindsay Haisley wrote:
 This is pretty much a MUA issue, not a MTA issue.  If you use a MUA such as
 mutt (for Linux) that's capable of such things, you can set the From line to
 anything you like.  I use mutt or evolution for most of my email, and ssmtp
 on my local desktop system which can be told to set the envelope mail-from
 address to whatever the body from header address is (which is why this post
 appears to come from fmouse-courier instead of just fmouse.

Ok.  Thanks for the reply.  I use mutt for my primary mailer also.
I have also found no way to make the MTA rewrite the _From_ line based
on destination on machines we have running postfix.   It would be
convenient to not have to customize every client on every machine for it.
Also, we sometimes send mail from the command line or from a script
using the standard _mail_ utility.  I have not found any command line
options to set the From line with mail.

I have also started researching exim.  It appears that it has this
ability, so I am going to evaluate it further as a possible choice of
MTA also.


 Thus spake Vincent on Fri, Feb 24, 2006 at 12:47:31PM CST
  Is there a way to get courier to do destination based masquerading?  In
  other words, to append one domain to the from addresses if I send mail
  to a host in the local network, but another if the destination is
  outside the LAN. 
  
  So far as I can tell, it always appends the contents of the _me_ file to
  my from address.  
  
  For example: if I send mail to the outside world, I would like the from
  line to show [EMAIL PROTECTED]  However, it I send mail from hosta to
  hostb on domain.com, I would like the from line to show
  [EMAIL PROTECTED]  That way, if a user on hostb replies, it will be
  sent directly to hosta not to domain.com.  If I send mail to the outside
  world, hosta.domain.com is usually not visible and replies must go to
  domain.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] destination based domain masquerading

2006-02-24 Thread Vincent
Is there a way to get courier to do destination based masquerading?  In
other words, to append one domain to the from addresses if I send mail
to a host in the local network, but another if the destination is
outside the LAN. 

So far as I can tell, it always appends the contents of the _me_ file to
my from address.  

For example: if I send mail to the outside world, I would like the from
line to show [EMAIL PROTECTED]  However, it I send mail from hosta to
hostb on domain.com, I would like the from line to show
[EMAIL PROTECTED]  That way, if a user on hostb replies, it will be
sent directly to hosta not to domain.com.  If I send mail to the outside
world, hosta.domain.com is usually not visible and replies must go to
domain.com.




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] destination based domain masquerading

2006-02-24 Thread Lindsay Haisley
This is pretty much a MUA issue, not a MTA issue.  If you use a MUA such as
mutt (for Linux) that's capable of such things, you can set the From line to
anything you like.  I use mutt or evolution for most of my email, and ssmtp
on my local desktop system which can be told to set the envelope mail-from
address to whatever the body from header address is (which is why this post
appears to come from fmouse-courier instead of just fmouse.

Thus spake Vincent on Fri, Feb 24, 2006 at 12:47:31PM CST
 Is there a way to get courier to do destination based masquerading?  In
 other words, to append one domain to the from addresses if I send mail
 to a host in the local network, but another if the destination is
 outside the LAN. 
 
 So far as I can tell, it always appends the contents of the _me_ file to
 my from address.  
 
 For example: if I send mail to the outside world, I would like the from
 line to show [EMAIL PROTECTED]  However, it I send mail from hosta to
 hostb on domain.com, I would like the from line to show
 [EMAIL PROTECTED]  That way, if a user on hostb replies, it will be
 sent directly to hosta not to domain.com.  If I send mail to the outside
 world, hosta.domain.com is usually not visible and replies must go to
 domain.com.
 
 
 
 
 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
 ___
 courier-users mailing list
 courier-users@lists.sourceforge.net
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

-- 
Lindsay Haisley   | Fighting against human | PGP public key
FMP Computer Services |creativity is like   |  available at
512-259-1190  |trying to eradicate  | http://pubkeys.fmp.com
http://www.fmp.com|dandelions  |
  |  (Pamela Jones) |


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Mail sub domain

2005-09-29 Thread shyam s

Dear Group.


I had another issue. I created a web site called www.postbox.com, let
me say it have the ip address 192.168.0.10 . With a dns server running
on it. I need to setup a mailserver called mail.postbox.com which
must be running on a remote system(same network) and its IP number must
be 192.168.0.20.

So in the postbox.com{in its dns} , I had made the MX bit as 192.168.0.20 so when I type

[EMAIL PROTECTED] root]# ping mail.postbox.com it is working properly.

I had add /etc/courier/hosteddomains the entry mail.postbox.com 

My login id must be [EMAIL PROTECTED],for this I am using mysql
authentication.and it works. I can send to mail to my other domain to
the mail id [EMAIL PROTECTED]. But the real problem is when I make a
reply from [EMAIL PROTECTED] it wont reach the [EMAIL PROTECTED] and
it will remail in the mailque. When I check the log it shows the
error in /var/log/maillog

450 Service temporarily unavailable.

What I understand is that when the mail is sending from
[EMAIL PROTECTED] to [EMAIL PROTECTED],courier will be searching for
the domain postbox.com which orginally have the ip 192.168.0.10, and it
fail to delever the mail since my actuall smtp is running on
mail.postbox.com which is running on 192.168.0.20.

In this situation how could I make this kind of approch to work. Is
there any kind of aliasing possible. Please do correct me, actually I
am very new in mailserver/dns configurations.

Thanks and Regards
Shyam




Re: [courier-users] Mail sub domain

2005-09-29 Thread Gordon Messmer

shyam s wrote:


So in the postbox.com{in its dns} , I had made the MX bit as 
192.168.0.20 http://192.168.0.20


I'd like to confirm that, but I get this:

$ host www.postbox.com
Host www.postbox.com not found: 2(SERVFAIL)

I think your zone has errors in it that you need to correct.  It's
possible that this is the cause of the errors you're seeing.


I had add /etc/courier/hosteddomains  the entry mail.postbox.com


hosteddomains should contain postbox.com if that is the domain that
for which you want to receive mail.


My login id must be [EMAIL PROTECTED]


... Exactly, you need postbox.com in the hosteddomains file.

What I understand is that when the mail is sending from 
[EMAIL PROTECTED] to [EMAIL PROTECTED] courier will be searching for

the domain postbox.com  which orginally have the ip 192.168.0.10, and
it fail to delever the mail since my actuall smtp is running on
mail.postbox.com which is running on 192.168.0.20


I don't think that's the case.  The system sending mail will look up the 
MX for the domain, and connect to 192.168.0.20.  It will tell that 
server that it has a message for [EMAIL PROTECTED]  That server needs 
to be configured to accept mail for postbox.com, and treat addresses as 
hosteddomains.  That means that you need to list postbox.com in both 
esmtpacceptmailfor.dir and hosteddomains.


In this situation how could I make this kind of approch to work. Is 
there any kind of aliasing possible. Please do correct me, actually I

am very new in mailserver/dns configurations.


Aliases should not be required.


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] MAXRCPT per domain

2005-08-31 Thread Rodrigo Severo

Hi,


Is it possible to set a MAXRCPT per domain?

How can I do it?

I've taken a look at batchsize and module.esmtp but AFAICT, there 
provide only global MAXRCPT settings.


The problem I'm trying to solve is that one domain to which I got to 
send several messages recently changed their settings and now have an 
upper limit of 20 RCPTs per message. But only this domain has it so I 
don't want to change this setting to 20 globally in courier.



Thanks for your attention,

Rodrigo Severo



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] MAXRCPT per domain

2005-08-31 Thread Sam Varshavchik

Rodrigo Severo writes:


Hi,


Is it possible to set a MAXRCPT per domain?


Nope.



pgpwdZKspHkL1.pgp
Description: PGP signature


Re: [courier-users] No such domain solved.

2005-04-02 Thread Jerry Amundson
On Thursday 31 March 2005 05:10 pm, Arturo 'Buanzo' Busleiman wrote:
 Oh well. I just added a TAB in the esmtproutes file. Pathetic :P

 Original:
 :[smarthosts_ip]

No. Your original had:

:FQDN_OF_EXTERNAL_MX

 Current, functional:
   :[smarthosts_ip]

 Having a : as field separator is the whole idea of having a field
 separator, isn't it? is this a bug? am I just plain stupid? :P

Yes, the : is the field separator.
No, this is not a bug.
Um, you haven't given enough choices? :)

jerry


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] No such domain solved.

2005-04-01 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jerry Amundson wrote:
|Original:
|:[smarthosts_ip]
|
|
| No. Your original had:
|
| :FQDN_OF_EXTERNAL_MX
|
|
|Current, functional:
|   :[smarthosts_ip]
In the process of analyzing, I modified FQDN and replaced it by [IP]. It works 
either way, as soon
as I add a TAB. I do not see the need of whitespace as content for first field, 
as splitted/defined
by the : character, when the documentation states that the first field must be 
empty for it to
become a smarthost definition.
- --
Arturo Buanzo Busleiman - www.buanzo.com.ar - GNU/Linux Documentation
President, Open Information System Security Group - Argentina
Counter Manager for Argentina - Tenes Linux? Anotate: http://counter.li.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCTZTnAlpOsGhXcE0RArFjAJ4p/+hrURDm0LZpUT4CQ/sNDOC86wCfTrd3
vqQzclf2Vo+QjYZtrv/y9LA=
=zEwM
-END PGP SIGNATURE-
begin:vcard
fn:Arturo 'Buanzo' Busleiman
n:Busleiman;Arturo
org:OISSG, Linux Counter, Wholenet, SOLAR, CaFeLUG
adr:BA;;Argentina
email;internet:[EMAIL PROTECTED]
title:President OISSG.Ar, Argentina Country manager Linux Counter
x-mozilla-html:FALSE
url:http://www.buanzo.com.ar
version:2.1
end:vcard



[courier-users] No such domain solved.

2005-03-31 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Oh well. I just added a TAB in the esmtproutes file. Pathetic :P
Original:
:[smarthosts_ip]
Current, functional:
:[smarthosts_ip]
Having a : as field separator is the whole idea of having a field separator, 
isn't it? is this a
bug? am I just plain stupid? :P
- --
Arturo Buanzo Busleiman - www.buanzo.com.ar - GNU/Linux Documentation
President, Open Information System Security Group - Argentina
Counter Manager for Argentina - Tenes Linux? Anotate: http://counter.li.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCTINXAlpOsGhXcE0RAotMAJ9b6Jwab3es6ngc3Zd5F52vOorPYwCbBjV8
z3hrdb/4ZVk/SmY7CS0EC7Q=
=/KwV
-END PGP SIGNATURE-
begin:vcard
fn:Arturo 'Buanzo' Busleiman
n:Busleiman;Arturo
org:OISSG, Linux Counter, Wholenet, SOLAR, CaFeLUG
adr:BA;;Argentina
email;internet:[EMAIL PROTECTED]
title:President OISSG.Ar, Argentina Country manager Linux Counter
x-mozilla-html:FALSE
url:http://www.buanzo.com.ar
version:2.1
end:vcard



[courier-users] Re: One Domain et multiple mbox-server

2005-03-17 Thread Michelle Konzack
Am 2005-03-15 18:43:44, schrieb Sam Varshavchik:

 Michelle Konzack writes:
 
 Now, My mboxNN Server are in several countries and each has
 some 100 up to some 1000 $USER.
 
 If I connect with mutt or telnet to mx.freenet.de via POP3 or
 IMAP I see the redirection to the mboxNN.freenet.de.
 
 Where NN is a number between 01 and 60
 
 I see no evidence of this happening for POP3 or IMAP, only SMTP.

???  -  This Servers containing 50-75.000 $USER.

My Outgoing (SMTP) messages are is done via mx.freenet.de.

My Mailboxes (IMAP/POP3) are located on the mboxNN.freenet.de servers,
but I connect only to connect to mx.freenet.de which know, if I
connect to mailbox:

linux4michelle  is on   mbox47.freenet.de
dos4michelleis on   mbox52.freenet.de
michelle.konzackis on   mbox54.freenet.de
wfw4michelleis on   mbox57.freenet.de
bsd4michelleis on   mbox75.freenet.de

So it is quit clear, that you can not put 4.500.000 Mailboxes on ONE
Server and you have to split it on mbox-Servers...

OK, in one of my previous Messages I have written 60 mbox Servers, which
is not right, because there are more then 80 and they use Unix-UID!

What I want is to split my $USER by country...

 Question:   Where can I find a HOWTO for this configuration ?
 
 There are many third party commercial load-balancing proxies that do
 these 
 kinds of tricks.  Or, the current version of Courier-IMAP can do
 something 
 similar in software only.  See the README.proxy file.

Curently not read, but I think, it is not what I want. I do not want
loadbalancing/mirroring of the whole system over a couple of Servers...

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: [courier-users] Re: One Domain et multiple mbox-server

2005-03-17 Thread Ricky Chan
What I want is to split my $USER by country...
I think I got what you mean, you basically want a single name for 
IMAP/POP3 connections, which then depending on the user will goto a 
IMAP/POP3 server in that users country where their mail box is stored.

If that is what you want, assume you are using courier (being in this 
list, is a safe assumption) you can use courier proxy.  This will do 
imap login as per normal, but after authentication will pass it onto 
another imap server transparently.  (If using cyrus IMAP you can look at 
cyrus murder).

It is best that this imap/pop3 proxy themselves be load balanced as ALL 
connections have to go through it (as no direct connections), best to 
have a pair of lb, you don't want to introduce a single point of failure.

Ricky
---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: One Domain et multiple mbox-server

2005-03-17 Thread Sam Varshavchik
Michelle Konzack writes:
coming into mail.mydomain.tld are forwarded to the mailbox
[EMAIL PROTECTED]
I have read the documentation but not found the right part,
how to forward $USER to a specific mbox-server.
You can do this with a combination of carefully setting up the domain
configuration files, and mail aliases.
A simple configuration using two servers:
Server eu1.example.com:  esmtpacceptmailfor contains eu1.example.com and
example.com; hosteddomains contains eu1.example.com; existing mail accounts
are: [EMAIL PROTECTED], [EMAIL PROTECTED]
Server eu2.example.com:  esmtpacceptmailfor contains eu2.example.com and
example.com; hosteddomains contains eu2.example.com; mail accounts are:
[EMAIL PROTECTED], [EMAIL PROTECTED]
Common mail aliases:
[EMAIL PROTECTED]: [EMAIL PROTECTED]
[EMAIL PROTECTED]: [EMAIL PROTECTED]
[EMAIL PROTECTED]: [EMAIL PROTECTED]
[EMAIL PROTECTED]: [EMAIL PROTECTED]
Either server can receive mail for any account; if necessary mail will be
forwarded to the other server.
The mail clients will have to be set up to log in via IMAP/POP3, or
authenticate via SMTP as [EMAIL PROTECTED], etc, plus the appropriate
password.  If desired, the authentication database can be augmented with
additional records user1, user2, etc, so that the mail clients can
login using the userid portion only, of their E-mail address.



pgpfgv3hiRq6c.pgp
Description: PGP signature


Re: [courier-users] Re: One Domain et multiple mbox-server

2005-03-16 Thread Martijn Lievaart
Michelle Konzack wrote:
The load is realy low, but you need VERY good Harddisks
 

Running courier for a five user setup on an old P90 I cannot really 
comment on multi thousend user setups, but I must second this based on 
years of experince with different mail setups. On any serious IMAP 
server, you need fast I/O subsystems. If you use NFS, take some time to 
tune it properly.

Theoretically the FS choosen should make a difference as well, try it 
out. On Linux, reiser was designed for the type of access that imap on 
maildir  has, lot's of relatively small files. Try it out to see if it 
makes a difference. Note that tools for reiserfs do not completely 
integrate with some distros, expect some trouble (The fsck takes 
different flags than the normal flags, on RH/Fedora this means boottime 
fscks go all haywire, YMMV but I advice not to check your rieser 
partitions on boot).

M4

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: One Domain et multiple mbox-server

2005-03-16 Thread Gordon Messmer
Hans du Plooy wrote:
After a lot of experimenting on all the servers I have out in the field, 
there's definitely nothing that even touches reiserfs for good performance 
and robustness, except XFS
What version are you running?  I have a server running with release 1.2, 
and it's incredibly slow at deleting and creating files.  XFS has a lot 
of nice features, but I've never seen any benchmark suggesting that it 
was creating and deleting files was a fast operation.  For a mail server 
spool, it's probably a really poor choice.

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: One Domain et multiple mbox-server

2005-03-15 Thread Michelle Konzack
Am 2005-03-15 14:24:38, schrieb Michael Nguyen:

 I'm curious Michelle...  Do you know how many servers your ISP has for these
 4.5M users?  Your next email says 60, so is it really 75,000 users per
 system?

Thats not all, because a standard and FREE Mailbox has only
20 MByte, which is in theorie 1, 2 TByte of Diskspace. AFAIK
has each Server around 300 GByte (3 x 147 GByte)

So it has 5 times more $USER as Diskspace...

And YES I have had problems for some month because Viruses with
random_local_part@freenet.de has hit us...

I have gotten around 287.000 Viruses of 163 kByte (I think, you
know this size)

I have encounterd that my 260 E-Mail adresses at Freenet.de are
located on only 17 Servers...

...and I check my E-Mails all 10 Minutes via IMAP.

One after on...

courier-imap is quiet robust, except the MTA... I do not know
why, but on high load, like from Viruses, I was runing into
trouble with my Server in Paris and around 8.000 $USER on a
AMD Athlon MP1900 with 2 GByte of memory and IPC/Vortex Raid-5
with 3x 18 GByte (System) and 6x 147 GByte (Mails).

My FileServer at home has nfs-kernel-server, samba, netatalk, apache,
proftpd, courier-imap-ssl, courier-mta-ssl, webmail and ssh. Then
fetchmail, procmail spamassassin and f-prot.

Curently 180 $USER many permanently with ssh. I run a AMD Sempron 2200+
with 512 MB of Memory and 3Ware Raid-5 with 3x 180 GByte (IBM)

I can't tell you the load, but it nothing...

I think, with 75.000 $USER, you need a Dual Athlon MP2400 with
4 GByte of memory...

The load is realy low, but you need VERY good Harddisks

 Michael

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: [courier-users] sqwebmail default domain setting

2004-07-20 Thread Anand Buddhdev
Carlos Hanson wrote:
Formerly posted on the courier-sqwebmail list:
Greetings,
After setting up sqwebmail and logging into my account, in the upper
right-hand corner I have [EMAIL PROTECTED] rather than
[EMAIL PROTECTED]  Naturally, when I send an email through
sqwebmail it defaults to [EMAIL PROTECTED]
How do I change it to my domain name rather than my hostname?
echo 'clanhansom.com'  /path/to/sqwebmail/hostname
I know the file is called hostname, so it might sound confusing, but the 
value in there is actually used for the domain part of addresses.

---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] sqwebmail default domain setting

2004-07-19 Thread Carlos Hanson
Formerly posted on the courier-sqwebmail list:

Greetings,

After setting up sqwebmail and logging into my account, in the upper
right-hand corner I have [EMAIL PROTECTED] rather than
[EMAIL PROTECTED]  Naturally, when I send an email through
sqwebmail it defaults to [EMAIL PROTECTED]

How do I change it to my domain name rather than my hostname?

I am using Debian stable on a Sparc.  I have been running Postfix for
quite awhile and used various email clients to send and receive email. 
Since I am using Courier-IMAP, I figured I would use sqwebmail.

Here is other possibly relevant information.

$ hostname
sparky
$ cat /etc/mailname 
clanhanson.com

Thanks.

Carlos Hanson


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Multiple domain hosting via MySQL

2004-05-23 Thread Joseph Pry
I found the solution myself. My own mistake, of course.
I misunderstood the difference between local domains and locally 
hosted domains and had domain2.com (from my example below) set as a 
local domain, instead of a locally hosted one.  I appologise if anyone 
burned any time unnecessarily on this problem.  Things seem to work as 
they should now.

Joseph Pry wrote:
I'm new to the list. Please forgive me if I make a mistake.
I'm currently running Courier-MTA 0.45.4 under Gentoo Linux. I 
discovered, while setting Courier up to use the MySQL authentication 
daemon that users are not being found correctly in the database. I know 
I have the database connection right, and the table is correct, because 
I can authenticate users who belong to the same domain as the default 
domain in the MySQL settings.  Users in other domains, however, don't 
work. Eg:

Hosted domains: domain1.com, domain2.com
DEFAULT_DOMAIN (in authmysqlrc) is domain1.com
[EMAIL PROTECTED] and [EMAIL PROTECTED] are users in the database
[EMAIL PROTECTED] works fine (250 Ok.)
[EMAIL PROTECTED] returns 550 User unknown.
[EMAIL PROTECTED] also works, though doesn't exist in the database
Naturally, any normal local user on the machine is valid for all domains.
What I'm trying to determine is if this is a known issue, and if it is 
fixed in 0.45.5 or not.  Gentoo doesn't have an ebuild for 0.45.5 yet, 
and I want to make sure I don't waste my time trying to build 0.45.5 by 
hand (since Gentoo puts EVERYTHING in non-default places).

I haven't tried with Postgres yet but if I have no choice I suppose I 
can go that route. LDAP isn't an option, I'm not clued-in enough on that 
to make it work.

It LOOKS like the smtp daemon is only passing the user portion of the 
[EMAIL PROTECTED] string, instead of the whole thing, so the authmysql daemon 
adds @domain1.com and then does its checking. But I could be way off.

Thanks ahead of time for any help anyone can provide!
Joseph Pry


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: 517-Domain does not exist: viviendaatualacance.com.mx.

2004-02-03 Thread edwinculp
 edwinculp writes:

  517-Domain does not exist: viviendaatualacance.com.mx.
 
  I'm not completely sure but I would think that this is a
  dns problem rather than a courier problem, but I'm far
 from

 Correct.  This domain does not exist.  Even whois.nic.mx
 never heard of it.


Thanks, Sam, I really appreciate your testing it but the
strange thing is that I get the following:

# whois -h whois.nic.mx viviendaatualcance.com.mx

DOMINIO:  viviendaatualcance.com.mx

FECHA DE CREACION:04-APR-03
FECHA DE ULTIMA MODIFICACION: 19-JAN-04

ORGANIZACION: GRUPO CONSTRUCTOR DEL GOLFO,
S.A. DE C.V. [grupo18
11]
DOMICILIO:XALAPA, Veracruz, México

CONTACTO ADMINISTRATIVO:  francisco javier estrada
figueroa [franc1150]
DOMICILIO:xalapa, Veracruz, México

CONTACTO TECNICO: francisco javier estrada
figueroa [franc1150]
DOMICILIO:xalapa, Veracruz, México

CONTACTO DE PAGO: francisco javier estrada
figueroa [franc1150]
DOMICILIO:xalapa, Veracruz, México

SERVIDOR PRIMARIO:ns3.viviendaatualcance.com.mx

SERVIDOR SECUNDARIO:  ns1.grucogo.com.mx

This now makes even less sense :( Now I'm really confused.

Thanks again,

ed


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: 517-Domain does not exist: viviendaatualacance.com.mx.

2004-02-03 Thread edwinculp
 edwinculp writes:

  edwinculp writes:
 
   517-Domain does not exist:
 viviendaatualacance.com.mx.  
   I'm not completely sure but I would think that this
 is a   dns problem rather than a courier problem, but
 I'm far  from
 
  Correct.  This domain does not exist.  Even
 whois.nic.mx  never heard of it.
 
 
  Thanks, Sam, I really appreciate your testing it but the
  strange thing is that I get the following:
 
  # whois -h whois.nic.mx viviendaatualcance.com.mx

 That's not viviendaatualacance.com.mx.

Sam, you are right, as usual:-).  Thanks for pointing it
out.  I couldn't see the mispelled forrest for the correctly
spelled trees.

It's fixed and I was able to subscribe with the vivienda
address.

Thanks again,

ed


 [Attachment: [EMAIL PROTECTED]


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: 517-Domain does not exist: viviendaatualacance.com.mx.

2004-02-02 Thread Sam Varshavchik
edwinculp writes:

517-Domain does not exist: viviendaatualacance.com.mx.

I'm not completely sure but I would think that this is a dns
problem rather than a courier problem, but I'm far from
Correct.  This domain does not exist.  Even whois.nic.mx never heard of it.



pgp0.pgp
Description: PGP signature


[courier-users] Re: 517-Domain does not exist : What exactly leads to this error: means: which mail-header is responsible for this?

2003-12-02 Thread Sam Varshavchik
[EMAIL PROTECTED] writes:

hi,

I have some errors with a

517-Domain does not exist: arpmuseum.de

I see, that there is no A record for this domain? is this right?
That's fine, as long as the domain has MX records.

Ok, so if i put the domain with its ip into etc/esmtproutes, courier
should be able to accept mail for it?
No, because your DNS resolution is not working, which is what causes this
error.
And: what exactly is the header, that does courier choke on mails from
this domain? is it from: ? Or is it the server, that delivers the
mail? i dont understand, sorry...
It is the mail envelope sender address, which has nothing to do with any
header (although in most cases the same address also appears in the From:
header).


pgp0.pgp
Description: PGP signature


[courier-users] 451 4.1.8 Domain of sender address ... does not resolve

2003-12-02 Thread Bowie Bailey
I'm not sure why I am seeing these messages from some mail servers:

451 4.1.8 Domain of sender address [EMAIL PROTECTED] does not resolve

The dns is fine as far as I can tell. A dig for buc.com on my external dns
server gives me this:

;; ANSWER SECTION:
buc.com.28800   IN  MX  20 compass2.buc.com.
buc.com.28800   IN  MX  10 compass.buc.com.
buc.com.28800   IN  NS  compass2.buc.com.
buc.com.28800   IN  NS  compass.buc.com.
buc.com.28800   IN  A   205.245.136.11
buc.com.28800   IN  SOA compass.buc.com.
bucadmin.buc.com. 2003110403 10800 1800 604800 28800

;; ADDITIONAL SECTION:
compass.buc.com.28800   IN  A   205.245.136.165
compass2.buc.com.   28800   IN  A   205.245.136.166

I've got MX and A records, what else do I need?

Thanks,
Bowie


---
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Private email domain??????

2003-11-21 Thread Gerardo Gregory
Been tasked with setting up a virtualdomain that is private for internal 
  corporate communication.

Currently I have Courier-MTA, maildrop for local delivery, PAM auth, and 
some virtul domains already setup using userdb.

The domain I am asked to setup needs to only be able to send / receive 
mail from within that domain.  How do I create this type of restrictions?

Is it even do-able?

TIA,

Gerardo A. Gregory



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Private email domain??????

2003-11-21 Thread Jeff Potter
You might be able to get away with running a local DNS server on your 
mailserver (djbdns's tindydns / dnscache would be easy).  Only define 
that domain in DNS; and don't point to any root servers -- effectively, 
DNS sandbox it. You may want to add firewall rules to prevent 
IP-addressed based recipients, if your users get clever.  Then, in your 
corporate DNS, point mx to your mail server like normal.

best,
Jeff
On Nov 21, 2003, at 11:44 AM, Gerardo Gregory wrote:

Been tasked with setting up a virtualdomain that is private for 
internal   corporate communication.

Currently I have Courier-MTA, maildrop for local delivery, PAM auth, 
and some virtul domains already setup using userdb.

The domain I am asked to setup needs to only be able to send / receive 
mail from within that domain.  How do I create this type of 
restrictions?

Is it even do-able?

TIA,

Gerardo A. Gregory


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Private email domain??????

2003-11-21 Thread Gerardo Gregory
Jeff,

 Thanks allot for the tip.  Was actually hoping that I could avoid 
going down that route, and maybe set this up using a config file within 
courier, guess not.
 I appreacite your time, and response.:-)

Thank-You,

Gerardo A. Gregory

Jeff Potter wrote:

You might be able to get away with running a local DNS server on your 
mailserver (djbdns's tindydns / dnscache would be easy).  Only define 
that domain in DNS; and don't point to any root servers -- effectively, 
DNS sandbox it. You may want to add firewall rules to prevent 
IP-addressed based recipients, if your users get clever.  Then, in your 
corporate DNS, point mx to your mail server like normal.

best,
Jeff
On Nov 21, 2003, at 11:44 AM, Gerardo Gregory wrote:

Been tasked with setting up a virtualdomain that is private for 
internal   corporate communication.

Currently I have Courier-MTA, maildrop for local delivery, PAM auth, 
and some virtul domains already setup using userdb.

The domain I am asked to setup needs to only be able to send / receive 
mail from within that domain.  How do I create this type of restrictions?

Is it even do-able?

TIA,

Gerardo A. Gregory




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Private email domain??????

2003-11-21 Thread Jeff Jansen
On Friday 21 November 2003 16:44, Gerardo Gregory wrote:
 Been tasked with setting up a virtualdomain that is private for internal
corporate communication.

 Currently I have Courier-MTA, maildrop for local delivery, PAM auth, and
 some virtul domains already setup using userdb.

 The domain I am asked to setup needs to only be able to send / receive
 mail from within that domain.  How do I create this type of restrictions?

Will all the accounts for this domain live on this machine?  If so then simply 
do NOT allow relaying.  Don't put any ip addresses into 
/etc/courier/smtpaccess and don't enable smtpauth.  Then courier will reject 
all mail that is not addressed to a valid user this domain.  Anything else 
will be rejected with a no relaying allowed type error.

If you need to send some mail for this domain upstream to another server for 
continued processing then still don't allow replaying, make sure that the 
domain is a hosteddomain (and not local) and add an '[EMAIL PROTECTED]' 
account.  Then in this account create a dot-courier file that has something 
like:

[EMAIL PROTECTED]

This will forward the mail to your upstream server (assuming your upstream 
server can accept mail in this format).  Of course mis-addressed mail at your 
domain will still be sent upstream but if some of the accounts live elsewhere 
then you have no way of knowing which are valid and which are not valid 
accounts.

In this case you may need to put the server's ip address into the 
/etc/courier/smtpaccess file to allow the server itself to relay.  I'm not 
sure whether sendmail would be considered relaying when it sends this 
message out to the upstream_server or not.

Jeff Jansen



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


RE: [courier-users] Please help, Domain doesn't exist error

2003-11-03 Thread Bowie Bailey
From: Nabil Attar [mailto:[EMAIL PROTECTED]
 
 I'm a newbie to courier.. and I downloaded the latest version and I
 compile it successfully.
 
  []
 
 BUT
 I have one problem and one question:
 My problem is that I cannot send to an email to
 [EMAIL PROTECTED]  it keep saying error 517 'Domain doesn't
 exist'

What happens when you 'dig redhat.local'?  Can you resolve the
domain?

 note that when I telnet localhost 25  the ESMTP says ESMTP
 redhat.local ready... not mention that it is the courier smtp..  do
 I have to stop sendmail ??  what can I do ??

It doesn't matter what the mailserver calls itself.  That does not
necessarily have anything to do with the domains it answers for.  If
you can't get DNS for the domain, you can't send mail there.  Also, I
believe the default Courier installation will not receive mail from
an email address with a domain that cannot be resolved.

telnet localhost 25 doesn't tell you anything unless you're trying
to send mail to [EMAIL PROTECTED]

 note that I added my domain to
 /etc/courier/defaultdomain
 /etc/courier/esmtpacceptmailfor
 /etc/courier/hosteddomains
 then
 makesmtpaccess
 makehosteddomains
 makealiases

You also need 'makeacceptmailfor'.

 AND
 my question is :
 how can I authenticate from userdb ??

In /etc/courier/authdaemonrc:
authmodulelist=authuserdb

In /etc/courier, edit esmtpd, pop3d, and imapd (I assume, I don't use
imap myself):
AUTHMODULES=authdaemon

 is it better to use userdb or mysql as I want to use only virtual
 users...

I use userdb as I don't have that many users (about 900 at the
moment -- many of which are inactive) and I find it easier to deal
with since I am not familiar with mysql.

Bowie



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


RE: [courier-users] Please help, Domain doesn't exist error

2003-11-03 Thread Systems Administrator
On Mon, 3 Nov 2003, Bowie Bailey wrote:

  is it better to use userdb or mysql as I want to use only virtual
  users...

 I use userdb as I don't have that many users (about 900 at the
 moment -- many of which are inactive) and I find it easier to deal
 with since I am not familiar with mysql.

I'd suggest MySQL if you can handle it, because it'll be better in
the long run.  But if you don't know how to use MySQL, then you may well
be better off with userdb.

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] error 517 Domain doesn't exist

2003-11-02 Thread Nabil Attar
Dear all;

I m a newbie to courier.. and I downloaded the latest version and I compile
it successfully.

All the services are running OK I can authenticate from mysql (pop and
imap)... and everything is perfect..
I created a table user contain :

#
# Table structure for table `users`
#

CREATE TABLE `users` (
  `id` char(128) NOT NULL default '',
  `crypt` char(128) NOT NULL default '',
  `clear` char(128) NOT NULL default '',
  `name` char(128) NOT NULL default '',
  `uid` int(10) unsigned NOT NULL default '65534',
  `gid` int(10) unsigned NOT NULL default '65534',
  `home` char(255) NOT NULL default '',
  `quota` char(255) NOT NULL default '',
  KEY `id` (`id`)
) TYPE=MyISAM;

#
# Dumping data for table `users`
#

INSERT INTO `users` VALUES ('[EMAIL PROTECTED]', '', 'password', 'nabil
attar', 9000, 9000, '/home/vmailman/vmailtest', '50');


BUT
I have one problem and one question:
My problem is that I cannot send to an email to [EMAIL PROTECTED]  it
keep saying error 517 'Domain doesn't exist'
note that when I telnet localhost 25  the ESMTP says ESMTP redhat.local
ready... not mention that it is the courier smtp..
do I have to stop sendmail ??  what can I do ??
note that I added my domain to
/etc/courier/defaultdomain
/etc/courier/esmtpacceptmailfor
/etc/courier/hosteddomains
then
makesmtpaccess
makehosteddomains
makealiases

AND
my question is :
how can I authenticate from userdb ?? is it better to use userdb or mysql as
I want to use only virtual users...

Best regards
Nabil




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Please help, Domain doesn't exist error

2003-11-01 Thread Nabil Attar
Dear all;

I m a newbie to courier.. and I downloaded the latest version and I compile
it successfully.

All the services are running OK I can authenticate from mysql (pop and
imap)... and everything is perfect..
I created a table user contain :

#
# Table structure for table `users`
#

CREATE TABLE `users` (
  `id` char(128) NOT NULL default '',
  `crypt` char(128) NOT NULL default '',
  `clear` char(128) NOT NULL default '',
  `name` char(128) NOT NULL default '',
  `uid` int(10) unsigned NOT NULL default '65534',
  `gid` int(10) unsigned NOT NULL default '65534',
  `home` char(255) NOT NULL default '',
  `quota` char(255) NOT NULL default '',
  KEY `id` (`id`)
) TYPE=MyISAM;

#
# Dumping data for table `users`
#

INSERT INTO `users` VALUES ('[EMAIL PROTECTED]', '', 'password', 'nabil
attar', 9000, 9000, '/home/vmailman/vmailtest', '50');


BUT
I have one problem and one question:
My problem is that I cannot send to an email to [EMAIL PROTECTED]  it
keep saying error 517 'Domain doesn't exist'
note that when I telnet localhost 25  the ESMTP says ESMTP redhat.local
ready... not mention that it is the courier smtp..
do I have to stop sendmail ??  what can I do ??
note that I added my domain to
/etc/courier/defaultdomain
/etc/courier/esmtpacceptmailfor
/etc/courier/hosteddomains
then
makesmtpaccess
makehosteddomains
makealiases

AND
my question is :
how can I authenticate from userdb ?? is it better to use userdb or mysql as
I want to use only virtual users...

Best regards
Nabil




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] No such domain ?

2003-10-15 Thread Jeff Jansen
On Wednesday 15 October 2003 05:32, Lars Holmström wrote:
 # testmxlookup skyitl.se
 Domain skyitl.se:
 Relay: mail1.skyitl.se, Priority: 180, Address: :::172.24.99.31
 Relay: mail1.skyitl.se, Priority: 200, Address: :::172.24.99.31

That's one of your problems.  Courier is trying to send mail to your domain 
through mail1.skyitl.se which is NOT routeable on the internet.  I can't 
get an ip address for it.  

 # more /etc/courier/esmtproutes
 skyitl.se: 172.24.99.31
 mail.skyitl.se: 172.24.99.31

That's your other problem.  If you are going to route to ip addresses then 
need to be in brackets.  Courier is trying here to send to a host called 
172.24.99.31, NOT an ip address.  So

skyitl.se: [172.24.99.31]

will solve your problem.  Now courier will send all mail for the skyitl.se 
domain to that ip address.  But you ought to get your dns fixed as well. 

Interestingly enough when I do a lookup I get different results.

[EMAIL PROTECTED] jeff]$ testmxlookup skyitl.se
Domain skyitl.se:
Relay: mail.skyitl.se, Priority: 200, Address: :::194.237.242.110
Relay: www.skyitl.se, Priority: 230, Address: :::195.54.149.250
Relay: ns.flysta.net, Priority: 500, Address: :::192.121.126.10

These appear to be correct in that it references mail.skyitl.se as the 
primary mail server.

Hope that helps.

Jeff Jansen



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] No such domain ?

2003-10-14 Thread Lars Holmström



I have two courier 0.42.2 mailservers that 
are linked via ethernet
Sending mail from flysta.net to skyitl.se result in 
an error message,but sending from skyitl.se to flysta.net works 
ok.

Sep 27 19:35:52 mail2 courieresmtp: 
id=004940A7.3F75CA78.3538,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED]: 
No such domain.
I checked the nameresolving from the flysta.net 
ystem, and it seems to be OK.
Can some one point me in the direction for where to 
find the error in configuration ?

[EMAIL PROTECTED] log]# nslookup mail.skyitl.se 
-silentServer: 
172.24.99.6Address: my 
DNS#53

Name: mail.skyitl.seAddress: 
172.24.99.31

[EMAIL PROTECTED] log]#[EMAIL PROTECTED] log]# telnet 
mail.skyitl.se 25Trying 172.24.99.31...Connected to 
mail.skyitl.se.Escape character is '^]'.

220 skyitl.se ESMTP502 ESMTP command 
errorquit221 Bye.Connection closed by foreign host.[EMAIL PROTECTED] 
log]#





Re: [courier-users] No such domain ?

2003-10-14 Thread Tim Hunter
 Original Message 
From: Lars Holmström
To: [EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 1:03 PM
Subject: [courier-users] No such domain ?

 I have two courier 0.42.2  mailservers that are linked via ethernet
 Sending mail from flysta.net to skyitl.se result in an error message,
 but sending from skyitl.se to flysta.net works ok.

 Sep 27 19:35:52 mail2 courieresmtp:

id=004940A7.3F75CA78.3538,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED]:
 No such domain.

 I checked the nameresolving from the flysta.net ystem, and it seems
 to be OK.
 Can some one point me in the direction for where to find the error in
 configuration ?

run testmxlookup skyitl.se on the flysta.net box
also check in esmtproutes file for any manual routings


 [EMAIL PROTECTED] log]# nslookup mail.skyitl.se -silent
 Server: 172.24.99.6
 Address:my DNS#53

 Name:   mail.skyitl.se
 Address: 172.24.99.31

 [EMAIL PROTECTED] log]#
 [EMAIL PROTECTED] log]# telnet mail.skyitl.se 25
 Trying 172.24.99.31...
 Connected to mail.skyitl.se.
 Escape character is '^]'.

 220 skyitl.se ESMTP
 502 ESMTP command error
 quit
 221 Bye.
 Connection closed by foreign host.
 [EMAIL PROTECTED] log]#



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] No such domain ?

2003-10-14 Thread Lars Holmström
# testmxlookup skyitl.se
Domain skyitl.se:
Relay: mail1.skyitl.se, Priority: 180, Address: :::172.24.99.31
Relay: mail1.skyitl.se, Priority: 200, Address: :::172.24.99.31

# more /etc/courier/esmtproutes
skyitl.se: 172.24.99.31
mail.skyitl.se: 172.24.99.31

I can not see any problem with this ?
/Lars

- Original Message -
From: Tim Hunter [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 7:24 PM
Subject: Re: [courier-users] No such domain ?


 Original Message 
From: Lars Holmström
To: [EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 1:03 PM
Subject: [courier-users] No such domain ?

 I have two courier 0.42.2  mailservers that are linked via ethernet
 Sending mail from flysta.net to skyitl.se result in an error message,
 but sending from skyitl.se to flysta.net works ok.

 Sep 27 19:35:52 mail2 courieresmtp:

id=004940A7.3F75CA78.3538,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED]:
 No such domain.

 I checked the nameresolving from the flysta.net ystem, and it seems
 to be OK.
 Can some one point me in the direction for where to find the error in
 configuration ?

run testmxlookup skyitl.se on the flysta.net box
also check in esmtproutes file for any manual routings


 [EMAIL PROTECTED] log]# nslookup mail.skyitl.se -silent
 Server: 172.24.99.6
 Address:my DNS#53

 Name:   mail.skyitl.se
 Address: 172.24.99.31

 [EMAIL PROTECTED] log]#
 [EMAIL PROTECTED] log]# telnet mail.skyitl.se 25
 Trying 172.24.99.31...
 Connected to mail.skyitl.se.
 Escape character is '^]'.

 220 skyitl.se ESMTP
 502 ESMTP command error
 quit
 221 Bye.
 Connection closed by foreign host.
 [EMAIL PROTECTED] log]#



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users




---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] 517 Invalid domain

2003-09-12 Thread Werner Johansson
I had a similar problem where one of my machines were trying to send using
an invalid domain name. If I wanted those mails to go through to me I had to
add the IP of the machine in the smtpaccess file/dir and run makesmtpaccess,
something like this:

a.b.c.d: allow,BOFHCHECKDNS=0

(where a.b.c.d is the IP of the machine trying to send you email).

I didn't find anything that applies to the domain itself, only allowing
certain IPs to be ignored by the from-address dns check..

/Werner

- Original Message - 
From: Christophe Zwecker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 9:23 AM
Subject: [courier-users] 517 Invalid domain


 Hi,

 I get this while receiving from an internat domain of ours:

  517 Invalid domain, see URL:ftp://ftp.isi.edu/in-notes/rfc1035.txt

 id like courier just to accept it, how can I have it done ?

 thx alot

 Chris
 -- 
 Christophe Zwecker mail: [EMAIL PROTECTED]
 Hamburg, Germanyfon: +49 179 3994867
 http://www.zwecker.de

 Who is General Failure ?  And why is he reading my disk ??





 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] 517 Invalid domain

2003-09-11 Thread Christophe Zwecker
Hi,

I get this while receiving from an internat domain of ours:

 517 Invalid domain, see URL:ftp://ftp.isi.edu/in-notes/rfc1035.txt

id like courier just to accept it, how can I have it done ?

thx alot

Chris
--
Christophe Zwecker mail: [EMAIL PROTECTED]
Hamburg, Germanyfon: +49 179 3994867
http://www.zwecker.de
Who is General Failure ?  And why is he reading my disk ??





---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Forwarding virtual domain aliases to normal user accounts?

2003-09-09 Thread Joe Emenaker
I'm the sysadmin for a small ISP. RIght now, we're using Exim, but I'm 
eager to switch to Courier on our main server.

One issue we need to solve is that of virtual domain aliases.

Partly because it was easy to do in Exim and partly because I think it's 
good administrative policy, we don't allow any customers to have any 
sort of login (ie, providing an ID and password to do *something*... 
read mail, mess with the website, etc) ability to general addresses like 
[EMAIL PROTECTED] because these would have a tendency to get shared 
amongst people at the company and, in the event of abuse of the account, 
you'd only be able to narrow the suspects down to the multitude of 
people who've been allowed to read that inbox at one time.

Instead, all logins map to real individuals. Bob Smith would probably 
get bsmith on our server (note that there's no domain. So, if another 
company wants an account for, say, Beverly Smith, she'd get something 
like besmith or perhaps we'd use their middle initial or something. 
The point is that, for actually fetching mail, there's no virtuality. 
There's only one bsmith on the passwd file and that's it. Yes, it's 
old-school, but it works well for us). For the virtual domains, we just 
use aliases. So, if Bob Smith is handling complaints for WidgitCo, then 
[EMAIL PROTECTED] would *forward* to bsmith.

Fortunately, Exim made it really easy to implement this. We'd have one 
file called, say, exim.domains which would have the list of domains 
that we accept mail for *and* the alias file to consult if we *do* get 
mail for that domain. For example:
  widgit.com: /etc/aliases.d/widgitco.aliases
  widgit.net: /etc/aliases.d/widgitco.aliases
  widgit.org: /etc/aliases.d/widgitco.aliases
  otherdomain.com:  /etc/aliases.d/othercompany.aliases

Note that the ability to assign the same alias file for multiple domains 
made it a piece of cake for those companies that have one website and 
about 10 names that point to it.

Then, the individual aliase file for a domain looked like your 
plain-vanilla alias file with the exception that it supported a wildcard 
for catching unmatched aliases:
   complaints: [EMAIL PROTECTED]
   suggestions: [EMAIL PROTECTED]
   returns: [EMAIL PROTECTED]
   *: [EMAIL PROTECTED]

Anyway, I guess what I'm saying is that... it would be a pain for us to 
try to switch to pure virtual mail logins (ie, where there's no bsmith 
on the system and Bob Smith logs in as [EMAIL PROTECTED]). What 
would be the easiest way to switch to Courier but to keep the virtual 
domain aliases like we have them now?

Regards,
- Joe


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Forwarding virtual domain aliases to normal user accounts?

2003-09-09 Thread Eduardo Roldan
On Tue, 2003-09-09 at 08:02, Joe Emenaker wrote:
 Anyway, I guess what I'm saying is that... it would be a pain for us to 
 try to switch to pure virtual mail logins (ie, where there's no bsmith 
 on the system and Bob Smith logs in as [EMAIL PROTECTED]). What 
 would be the easiest way to switch to Courier but to keep the virtual 
 domain aliases like we have them now?



Check http://sourceforge.net/projects/quica, I use it in a ISP and I
think that could work for you.



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: 517-Domain does not exist: Error

2003-09-07 Thread Sam Varshavchik
Bill Long writes:

Hi all,

I'm getting this error consistently when one person sends me email.

Here is a copy of the full message

Message from  yahoo.com.
Unable to deliver message to the following address(es).
[EMAIL PROTECTED]:
Connected to 65.216.115.105 but sender was rejected.
Remote host said: 517-Domain does not exist: cropcirclenews.com.
517 Invalid domain, see URL:ftp://ftp.isi.edu/in-notes/rfc1035.txt

anybody got any ideas what might be the problem?
Check that your /etc/resolv.conf lists functioning DNS servers.




pgp0.pgp
Description: PGP signature


[courier-users] Re: Virtual domain setup

2003-08-14 Thread Sam Varshavchik
Phillip Hutchings writes:

According to the Courier FAQ I can use:
@sitharus.com: sitharus
to forward everything @sitharus.com to the local user sitharus.
No, that's not what the FAQ says.  It says:

 @domain.com: localuser

 Here, any mail address [EMAIL PROTECTED] will be redirected to the local 
 address localuser-foo. Note, the address is localuser-foo, not 
   
 localuser.
 

The rest of the paragraph explains what you need to do.




pgp0.pgp
Description: PGP signature


[courier-users] ignoring new domain in hosteddomains

2003-07-31 Thread Jan Stanik

  Hi,

 sometimes when I add domain into hosteddomains (and run
 makehosteddomains), courier ignores it and delivers test
 message to the next mx server through smtp. Only what helps is stop and
 start courier. After restart mails are delivered correctly to
 local maildir.
 
 Version of courier-mta I run is courier-0.42.2.20030630.
 Can anybody help me?
 
--
Regards,

  Jan Stanik


Jan Stanik
[EMAIL PROTECTED]
Nextra s.r.o.



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] No such domain ?

2003-05-29 Thread Lars Holmström



Can some one help me with this ?

Your message to the following recipients cannot be delivered:
I've recieved this from mt courier 
0.42.2
---[EMAIL PROTECTED]: No such 
domain.
---


# testmxlookup skyitl.seDomain 
skyitl.se:Relay: mail1.skyitl.se, Priority: 180, Address: 
:::172.24.99.31Relay: mail1.skyitl.se, Priority: 200, Address: 
:::172.24.99.31
# ping mail1.skyitl.sePING mail1.skyitl.se 
(172.24.99.31) from 172.24.99.23 : 56(84) bytes of data.64 bytes from 
172.24.99.31: icmp_seq=1 ttl=64 time=0.936 ms64 bytes from 172.24.99.31: 
icmp_seq=2 ttl=64 time=0.855 ms

# telnet mail1.skyitl.se 25Trying 
172.24.99.31...Connected to mail1.skyitl.se.Escape character is 
'^]'.220 skyitl.se ESMTP


[courier-users] Re: one domain - many servers

2003-01-22 Thread jeff jansen
On Wednesday 22 January 2003 10:08, 
 Is there any way to have a domain listed in locals or hosteddomains but 
have 
 the server accept (and relay to a smart host) mail addressed to names at 
that 
 domain which are not users on that server?  This would all be for mail sent 

Install etc/aliasdir/.courier-default

See dot-courier(5).

OK, but I'm still missing how that solves my problem.  It looks like 
/etc/courier/aliasdir/.courier-default is the last place checked in trying to 
deliver mail that should be local.  So I put 'sil.org' into the locals file 
and then created a .courier-default file.   But what do I put in it?  I want 
all mail to '[EMAIL PROTECTED]' to be delivered to our smarthost (just 
like all mail actually).  How do I tell courier to send this message out as 
if it was NOT a local domain eventhough it is a local domain?

Jeff Jansen
Bamako, Mali


---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



RE: [courier-users] Forwarding one domain to another preserving the user name

2003-01-22 Thread Bowie Bailey
 From: Stephen S. Kelley [mailto:[EMAIL PROTECTED]]
 
 Are these archives searchable anywhere?  Search at
 http://sourceforge.net/mailarchive/forum.php?forum_id=6705 
 doesn't seem
 to do anything and most of my questions have probably already been
 answered somewhere in the archives.
 

The sourceforge archives aren't searchable, but you can do a simple search
here:
http://www.mail-archive.com/courier-users%40lists.sourceforge.net/

Bowie


---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: one domain - many servers

2003-01-21 Thread Sam Varshavchik
jeff jansen writes:


Is there any way to have a domain listed in locals or hosteddomains but have 
the server accept (and relay to a smart host) mail addressed to names at that 
domain which are not users on that server?  This would all be for mail sent 

Install etc/aliasdir/.courier-default

See dot-courier(5).



---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Forwarding one domain to another preserving the user name

2003-01-21 Thread Stephen S. Kelley
I've got a courier install with a bunch of virtual domains working very
nicely with authpgsql.  Now a company wants several domains with each
user having one address per domain all going to the user's one maildir.

I have a primitive web CRUD interface that maintains a username/password
across several domains and could also imagine doing this with aliases.
However, I'm wondering if there is a way to map *@domain2 - *@domain1
in one go?

Are these archives searchable anywhere?  Search at
http://sourceforge.net/mailarchive/forum.php?forum_id=6705 doesn't seem
to do anything and most of my questions have probably already been
answered somewhere in the archives.

Thanks

Stephen S. Kelley, President 
VirtuState, Inc.
[EMAIL PROTECTED]
http://www.virtustate.com


---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re[2]: [courier-users] Adding virtual domain problem.

2002-12-25 Thread Denis Sorokin
Hello, Mark.


MC On Tue, 24 Dec 2002 10:48 pm, Denis Sorokin wrote:
 ...
 Dec 24 15:45:17 x courieresmtpd: error,relay=xxx.xxx.xxx.xxx,
 from=[EMAIL PROTECTED],to=[EMAIL PROTECTED]: 550 User unknown.

MC Add [EMAIL PROTECTED] to your MySQL mail id table.
Thanks a lot for your advice!
But this do no help - I had create  separate account
[EMAIL PROTECTED], create $HOME/.courier-default with one
line: [EMAIL PROTECTED] in it. Courier also rejects mail on
[EMAIL PROTECTED] with the same reason :-(



Denis Sorokin, DVS20-RIPE, DVS124-RIPN
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
--



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Adding virtual domain problem.

2002-12-24 Thread Denis Sorokin
Hello courier-users,

I'm trying to add virtual domain with no success:

1. Domain example.com is specified in locals as .example.com and also as me. All
dns stuff is ok, also for *.example.com.

2. User   [EMAIL PROTECTED]   exist,  works  fine  with  mysql
authorization, can send and recieve mail. Other users also could work without
any problem, and there are some aliases like postmaster, admin, www, pointing
on real accounts - also works fine.

3.I had insert alias record  in /usr/local/etc/courier/aliases/example.com:
@user.example.com:  [EMAIL PROTECTED], create file $HOME/.courier-default
with single line: [EMAIL PROTECTED], run makealiaces, courier restart,
an got the following error message:

Dec 24 15:45:17 x courieresmtpd: error,relay=xxx.xxx.xxx.xxx,
from=[EMAIL PROTECTED],to=[EMAIL PROTECTED]: 550 User unknown.

What was wrong?




Denis Sorokin, DVS20-RIPE, DVS124-RIPN
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
--



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: virtual domain

2002-06-16 Thread yoav

most chances i dont :)
i took a look at the manpage but i still couldn't understand...could you
give me an example of how you'd do this?
thanks :)


 yoav writes:

 hey
 i want to forward every mail sent to a virtual domain on my computer
 to a remote mailbox.
 let's say the virtual domain is virtual.com, the real domain real.com
 and the remote email address is [EMAIL PROTECTED]

 what i did is created a file under aliases/ called virtual.com and
 wrote in it:
 @virtual.com: | /usr/libexec/sendmail/sendmail [EMAIL PROTECTED]

 now when sending an email to, for an example, [EMAIL PROTECTED] i
 get the following error message:

 You don't understand how virtual domain aliases work.

 See the makealiases man page.

 --
 Sam


 ___

 Don't miss the 2002 Sprint PCS Application Developer's Conference
 August 25-28 in Las Vegas -
 http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users




___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: virtual domain

2002-06-16 Thread Michael Carmack

On Sun, Jun 16, 2002 at 10:27:00AM +0300, yoav wrote:
  yoav writes:
 
  i want to forward every mail sent to a virtual domain on my computer
  to a remote mailbox.
  let's say the virtual domain is virtual.com, the real domain real.com
  and the remote email address is [EMAIL PROTECTED]
 
  what i did is created a file under aliases/ called virtual.com and
  wrote in it:
  @virtual.com: | /usr/libexec/sendmail/sendmail [EMAIL PROTECTED]
  now when sending an email to, for an example, [EMAIL PROTECTED] i
  get the following error message:
 
  You don't understand how virtual domain aliases work.
 
  See the makealiases man page.

 most chances i dont :)
 i took a look at the manpage but i still couldn't understand...could you
 give me an example of how you'd do this?
 thanks :)

@virtual.com: [EMAIL PROTECTED]

Also, people get irritated when you reply with the previous message
at the bottom and your own message at the top. Just a FYI.

m.



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



  1   2   >