Sounds like permissions Bohdan,

First of all, are you running RedHat 6.x or 7.x  ?
If your running 7.x then please ignore the rest of this email, and reply 
telling me your running 7.x.

7.1 config for sendmail is slightly different.

--------------------------


Here's a look at a working server:

/etc/procmailrcs:

[root@vs2 procmailrcs]# ls -al
total 48
drwxr-xr-x    3 admin    admin        4096 Sep 13 11:56 .
drwxr-xr-x   15 root     root         4096 Oct  8 10:09 ..
-rw-r--r--    3 admin    admin          25 Aug 10 08:46 pm-vsd-admin.rc
-rw-r--r--    3 admin    admin         129 Aug 10 08:46 pm-vsd-dflt-ext.rc
-rw-r--r--    3 admin    admin          89 Aug 10 08:46 pm-vsd-dflt-int.rc
-rw-r--r--    3 admin    admin         130 Aug 10 08:46 pm-vsd-fwd-ext.rc
-rw-r--r--    3 admin    admin          90 Aug 10 08:46 pm-vsd-fwd-int.rc
-rw-r--r--    3 admin    admin         687 Aug 10 08:46 pm-vsd-rsp.rc
-rw-r--r--    3 admin    admin         151 Aug 10 08:46 pm-vsd-vd.rc
-rw-r--r--    3 admin    admin          93 Aug 10 08:46 pm-vsd-vuser.rc
-rw-r--r--    3 admin    admin         227 Aug 10 08:46 pm-vsd.rc
drwxr-xr-x    4 admin    admin        4096 Oct  8 10:03 virtual


/etc/procmailrcs/virtual:

[root@vs2 virtual]# ls -al
total 16
drwxr-xr-x    4 admin    admin        4096 Oct  8 10:03 .
drwxr-xr-x    3 admin    admin        4096 Sep 13 11:56 ..
drwxr-xr-x    3 mail     admin        4096 Oct  8 10:03 atest.fqdn
drwxr-xr-x    4 mail     admin        4096 Oct  8 10:04 trestevs2.com

/etc/procmailrcs/virtual/trestevs2.com:

[root@vs2 testervs2.com]# ls -al
total 64
drwxr-xr-x    4 mail     admin        4096 Oct  8 10:04 .
drwxr-xr-x    4 admin    admin        4096 Oct  8 10:03 ..
drwxr-xr-x    3 mail     admin        4096 Sep 13 11:56 admin
-rw-r--r--    1 mail     admin          25 Sep 13 11:56 admin.rc
drwxr-xr-x    3 admin    admin        4096 Oct  8 10:04 cheech
-rw-r--r--    1 mail     admin          25 Oct  8 10:04 cheech.rc
-rw-r--r--    3 admin    admin          25 Aug 10 08:46 pm-vsd-admin.rc
-rw-r--r--    3 admin    admin         129 Aug 10 08:46 pm-vsd-dflt-ext.rc
-rw-r--r--    3 admin    admin          89 Aug 10 08:46 pm-vsd-dflt-int.rc
-rw-r--r--    3 admin    admin         130 Aug 10 08:46 pm-vsd-fwd-ext.rc
-rw-r--r--    3 admin    admin          90 Aug 10 08:46 pm-vsd-fwd-int.rc
-rw-r--r--    3 admin    admin         687 Aug 10 08:46 pm-vsd-rsp.rc
-rw-r--r--    3 admin    admin         151 Aug 10 08:46 pm-vsd-vd.rc
-rw-r--r--    3 admin    admin          93 Aug 10 08:46 pm-vsd-vuser.rc
-rw-r--r--    3 admin    admin         227 Aug 10 08:46 pm-vsd.rc
-rw-rw-r--    1 mail     admin         309 Oct  8 10:04 pm.rc

pm.rc's ownership or modes will be causing your "Suspicious rcfile" in mailog.

other permissions to check:

cd /var/spool/

[root@vs2 spool]# ls -al
total 28
drwxr-xr-x    7 root     root         4096 Sep 13 11:56 .
drwxr-xr-x   15 root     root         4096 Sep 13 11:45 ..
drwxr-xr-x    2 admin    admin        4096 Sep 13 11:45 at
drwxr-xr-x    2 admin    admin        4096 Sep 13 11:45 cron
drwxrwxr-x    2 admin    admin        4096 Oct  8 10:10 mail
drwxr-xr-x    2 admin    admin        4096 Oct  8 10:10 mqueue
drwxr-xr-x    4 admin    admin        4096 Oct  8 10:03 virtual


Hopefully that will get you running!

Cheers,

Nigel


On Monday 08 October 2001  2:26 pm, you wrote:
> Hello.
> I have still same problem. I have created virtual domain, virtual user and
> he can't receive emails. For normal users in virtualserver are mails
> received without problems but for users in virtual domains are not. Please
> helpm me. Below is description of all steps:
>
> vsdadm vd_add hostone.net vsthree d1.net 50 50 50 5
> vsdadm vuser_add hostone.net d1.net bodo
> vsdadm  vuser_mbxadd hostone.net d1.net bodo aaaa
> vsdadm  vuser_mbxenable hostone.net d1.net bodo
> vsdadm vuser_dfltadd hostone.net d1.net bodo bodo
>
> so now test
> vsdadm vuser_list hostone.net d1.net
> vuser=bodo default=bodo
> vuser=admin default=admin
>
> bevs -r vsthree
> echo "aaaaaaa" |mail -b -v [EMAIL PROTECTED]
> [EMAIL PROTECTED] Connecting to /etc/procmailrcs/virtual/d1.net/pm.rc via
> procmail...
> [EMAIL PROTECTED] Can't create output
> root... aliased to admin
> /dead.letter... cannot open /dead.letter: Permission denied
> admin... Connecting to local...
> admin... Sent
>
> tail /var/log/maillog
> Oct  8 04:37:03 vsthree sendmail[7732]: EAA07732: from=root, size=33,
> class=0, pri=30033, nrcpts=1, msgid=<[EMAIL PROTECTED]>,
> relay=root@localhost
> Oct  8 04:37:03 vsthree procmail[7733]: Suspicious rcfile
> "/etc/procmailrcs/virtual/d1.net/pm.rc"
> Oct  8 04:37:03 vsthree sendmail[7732]: EAA07732: [EMAIL PROTECTED],
> ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=procmail,
> relay=/etc/procmailrcs/virtual/d1.net/pm.rc, stat=Can't create output
> Oct  8 04:37:03 vsthree sendmail[7732]: EAA07732: EAB07732: DSN: Can't
> create output
> Oct  8 04:37:03 vsthree sendmail[7732]: EAB07732: to=admin, delay=00:00:00,
> xdelay=00:00:00, mailer=local, stat=Sent
>
> tail /var/log/pmlog
> From admin  Mon Oct  8 04:37:03 2001
>  Subject: Returned mail: Can't create output
>    Folder: /var/spool/mail/admin
> 1837
>
> ls -al /var/spool/virtual
> total 12
> drwxr-xr-x    3 admin    admin        4096 Oct  8 04:21 .
> drwxr-xr-x    7 root     root         4096 Oct  8 02:19 ..
> drwxr-xr-x    2 mail     admin        4096 Oct  8 04:21 d1.net
>
>
> So there is some problem with "Can't create output"
>
> telnet d1.net 110
> Trying 10.0.0.8...
> Connected to d1.net (10.0.0.8).
> Escape character is '^]'.
> +OK POP3 Welcome to vm-pop3d 1.1.4 <[EMAIL PROTECTED]>
> user [EMAIL PROTECTED]
> +OK
> pass aaaa
> +OK opened mailbox for bodo
> stat
> +OK 0 0
> quit
> +OK
> Connection closed by foreign host.
>
> Pop is working properly, know to read password and know where to find
> emails.
>
>
> telnet d1.net 25
> Trying 10.0.0.8...
> Connected to d1.net (10.0.0.8).
> Escape character is '^]'.
> 220 vsthree.net ESMTP Sendmail 8.9.3/8.9.3; Mon, 8 Oct 2001 04:59:05 -0400
> helo bodo
> 250 vsthree.net Hello [10.0.0.4], pleased to meet you
> mail from:[EMAIL PROTECTED]
> 250 [EMAIL PROTECTED] Sender ok
> rcpt to:[EMAIL PROTECTED]
> 550 [EMAIL PROTECTED] Relaying denied
>
> And this is next problem, I always get 550 error, that it is not realying,
> and I don't knw why.
>
>
> Oct  8 04:59:42 vsthree sendmail[7750]: EAA07750: ruleset=check_rcpt,
> [EMAIL PROTECTED], relay=[10.0.0.4], reject=550 [EMAIL PROTECTED] Relaying
> denied
>
>
> From admin  Mon Oct  8 04:37:03 2001
>  Subject: Returned mail: Can't create output
>    Folder: /var/spool/mail/admin
> 1837
>
> Can't create output what is this ?
>
> Bind is form totaly death. May be I don't understand how to install it so
> description here:
>
> hostone.net   -hosting server IP: 10.0.0.5 with running bind
> vsthree.net(vsthree) - virtual server with IP: 10.0.0.8
>
> vsdadm bind_addvs hostone.net vsthree 10.0.0.8 5
> vsdadm bind_add hostone.net vsthree a.sk 10.0.0.10
> error: -ERR Cannot determine whether I am primary or secondary
>
> I dont understand your documentation, because you dont say if bind should
> run on hosting server or also in virtualserver, if I want provide
> nameserver for customer in virtual server. Also include
> "/var/named/named.conf"; does it mean virtual server path or hosting server
> path ?
>
> Why command vsdadm bind_addvs hostone.net vsthree 10.0.0.8 5 created in
> vsd.conf next
>
> <VirtualServer vsthree>
> IP 10.0.0.8
> StartUID 0
> Users 0
> Status active
> Quota 5
> MaxVD 0
> Skel
> Partition 0
> HostingServer
> </VirtualServer>
> section ?
> It is twice there now.
>
> This software is really cool, but this two probles make me upset.
>
> Please help me.
>
>
> Best regards
>
> Bohdan Spes
>
> ------------------------- The freeVSD Support List
> -------------------------- Subscribe:  
> mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support Unsubscribe:
> mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support Archives:  
>  http://freevsd.org/support/mail-archives/freevsd-support
> ---------------------------------------------------------------------------
>--
------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to