Re: [ilugd] Outlook Postfix help required

2013-02-21 Thread Balvinder Rawat
h
ave u checked the telnet to mailserver on 143 ( IMAP) from host, this is
where Outlook will connect for imap connectivity.



On Thu, Feb 21, 2013 at 5:21 PM, Satish Kr Malanch
wrote:

> On Thu, Feb 21, 2013 at 5:18 PM, Gora Mohanty  wrote:
>
> > On 21 February 2013 17:10, Satish Kr Malanch 
> > wrote:
> > > Dear all ,
> > > I have finaly configured postfix+dovecot+squirellmial server
> > > Now problem is from some of my clients (example 192.168.0.133) , i am
> not
> > > able to send mail from outlook 2007 (windows 7) . i am unablt to telnet
> > > 192.168.0.100 smtp from that host (192.168.0.100 is my postfix server)
> > > However i am able to send mail from squirellmail. and i can telnet from
> > > other hosts.
> >
> > This description is a little confusing. Are you able to send mail from
> > squirrelmail on 192.168.0.133? If not, and if you are saying that telnet
> > to port 25 on 192.168.0.100 does not work from that server, but works
> > from elsewhere, then it is likely to be a network issue on that specific
> > server. Either there is a firewall, or some routing issue.
> >
> > > my postcong -n is
> > [...]
> >
> > In future, could you please put such configuration data
> > into, e.g., pastebin.com, and just post a link here?
> >
> > Regards,
> > Gora
> >
> > ___
> > Ilugd mailing list
> > Ilugd@lists.linux-delhi.org
> > http://frodo.hserus.net/mailman/listinfo/ilugd
> >
>
>
>
>
>
> yes i can send it from squirrelmail and also  i am able to telnet smtp from
> some other hosts
>
>
>
> --
> With Best Regards:
> *Satish Kr Malanch*
> 
> "The only real voyage of discovery consists not in seeking new landscapes
> but in having new eyes. "
>
> --
> Visit my Blog by clicking here  
> ___
> Ilugd mailing list
> Ilugd@lists.linux-delhi.org
> http://frodo.hserus.net/mailman/listinfo/ilugd
>
___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Unable to create dir in samba share

2013-02-02 Thread Balvinder Rawat
check man page for more options


man samba_selinux



On Sat, Feb 2, 2013 at 2:41 PM, Balvinder Rawat  wrote:

> hi
>
> have u checked the SELINUX.
> Make sure its either disabled or permissive. In enforcing you'll need to
> set the boolean.
> I think this would do,
>
>
> chcon -R -t samba_share_t /var/ftp/
>
> Let us know if it helps.
>
> Regards
> Balvinder
>
>
> On Sat, Feb 2, 2013 at 12:51 PM, Satish Kr Malanch <
> satishmala...@gmail.com> wrote:
>
>> Hello , I am trying to access my samba share thourgh windows or linux but
>> i
>> m not able to create any direcotry in it.
>> I want to allow to write in public ftp dir (/var/ftp/pub)
>>
>> *My samba config file is :*
>>
>> 
>> [sp2]
>>
>>  writeable = yes
>> public = yes
>> create mode = 777
>> path = /var/ftp/pub
>>  directory mode = 777
>>
>> ---
>>
>>
>> *While file permission are as:*
>>
>>
>>
>>
>> ls -l /var/ftp
>>
>>
>> total 4
>> drwxrwxrwx. 2 root root 4096 Jan 24 21:13 pub
>>
>>
>>
>>
>> plz help.
>> thanks in advance.
>>
>>
>>
>> --
>> With Best Regards:
>> *Satish Kr Malanch*
>> 
>> "The only real voyage of discovery consists not in seeking new landscapes
>> but in having new eyes. "
>>
>> --
>> Visit my Blog by clicking here  <http://sd-malanch.blogspot.in/>
>> ___
>> Ilugd mailing list
>> Ilugd@lists.linux-delhi.org
>> http://frodo.hserus.net/mailman/listinfo/ilugd
>>
>
>
___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Unable to create dir in samba share

2013-02-02 Thread Balvinder Rawat
hi

have u checked the SELINUX.
Make sure its either disabled or permissive. In enforcing you'll need to
set the boolean.
I think this would do,


chcon -R -t samba_share_t /var/ftp/

Let us know if it helps.

Regards
Balvinder


On Sat, Feb 2, 2013 at 12:51 PM, Satish Kr Malanch
wrote:

> Hello , I am trying to access my samba share thourgh windows or linux but i
> m not able to create any direcotry in it.
> I want to allow to write in public ftp dir (/var/ftp/pub)
>
> *My samba config file is :*
>
> 
> [sp2]
>
>  writeable = yes
> public = yes
> create mode = 777
> path = /var/ftp/pub
>  directory mode = 777
>
> ---
>
>
> *While file permission are as:*
>
>
>
>
> ls -l /var/ftp
>
>
> total 4
> drwxrwxrwx. 2 root root 4096 Jan 24 21:13 pub
>
>
>
>
> plz help.
> thanks in advance.
>
>
>
> --
> With Best Regards:
> *Satish Kr Malanch*
> 
> "The only real voyage of discovery consists not in seeking new landscapes
> but in having new eyes. "
>
> --
> Visit my Blog by clicking here  
> ___
> Ilugd mailing list
> Ilugd@lists.linux-delhi.org
> http://frodo.hserus.net/mailman/listinfo/ilugd
>
___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] need linux command

2013-01-28 Thread Balvinder Rawat
try this
sed -i '3a\
welcome to new line at 4' file-name

..
Regards
Balvinder


On Mon, Jan 28, 2013 at 4:16 PM, Chirag Anand wrote:

> Try using 'sed'.
>
> On 28 January 2013 16:13, Cool G  wrote:
> > Hi,
> > I need a linux command to add a new line (at line number 4 in a txt file)
> > and save it using command prompt. Pls. help
> >
> > Any help is appreciated.
> >
> > Thanks.
> > hk
> > ___
> > Ilugd mailing list
> > Ilugd@lists.linux-delhi.org
> > http://frodo.hserus.net/mailman/listinfo/ilugd
>
>
>
> --
> Chirag Anand
> http://atvariance.in
>
> ___
> Ilugd mailing list
> Ilugd@lists.linux-delhi.org
> http://frodo.hserus.net/mailman/listinfo/ilugd
>
___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Sendmail Relaying

2012-12-19 Thread Balvinder Rawat
Have you tried following in sendmail.mc:

define(`confDOMAIN_NAME', `mail.mydomain.com')dnl

where mail.mydomain.com is your domain or MX record

Also try to set the hostname to 

Hope it helps..

Regds
Balvinder Rawat


On Wed, Dec 19, 2012 at 4:52 PM, Vivek Kapoor  wrote:

> On 12/19/2012 11:22 AM, Tux Techie wrote:
>
>> Hi,
>>
>> I have a local mail server on MX for my domain. Sendmail configured as
>> MTA.
>> Users are able to send mails to each other. For relaying mails to outside
>> domains, I'm using SMARTHOST for my hosting. Now I'm trying to send the
>> mails directly to the outside domains, I've created the SPF records for my
>> domains with all the ip's sending mails for my server and the reverse DNS
>> entries for the IP also. But still i'm getting mail bounce error from many
>> domains stating
>>
>> 1. This message has been blocked because the HELO/EHLO domain is invalid.
>> 2. host mta6.am0.yahoodns.net [98.138.112.38]: 554 Message not allowed -
>> [299]
>>
>
> When you connect with another server, you identify yourself. If you're
> doing just a regular connection and not an authenticated one (such as via
> SMTP AUTH), then it's a HELO.
>
> For instance, do this
>
> $ telnet gmail-smtp-in.l.google.com. 25
> $ helo mydomain.com
> $ quit
>
> If you get a 2XX response (e.g. 250), then it means the server has
> accepted your hostname with which you're identifying yourself. In your
> case, the domain that you're identifying yourself with is not getting
> accepted. It should be a fully qualified domain name (FQDN), and also
> ideally should resolve to the same IP of your server. If you've not done
> any custom configuration, then the HELO name would be the hostname of your
> machine.
>
> Creating a SMTP server is now quite complicated, especially if you wish to
> get the emails in user's inbox. If you already have a host which can relay
> mails for you, then do that.
>
> Best regards
> Vivek Kapoor
> http://exain.com
>
>
> __**_
> Ilugd mailing list
> Ilugd@lists.linux-delhi.org
> http://frodo.hserus.net/**mailman/listinfo/ilugd<http://frodo.hserus.net/mailman/listinfo/ilugd>
>
___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd