Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting


Advertisements:




SuperbHosting.net & Arvixe.com have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for BigResource.com.







Postfix On Suse Is Not Working


I have a server which runs suse linux on it. Postfix is already installed on it.
But, the problem is i am not able to send mail using root. I mean using mail -v command.

I could see the following in mail logs. I know 2 files main.cf and master.cf are there.

Not, sure what to change and how.

Nov 21 21:17:56 CSIDB3 postfix/smtp[14577]: connect to mx3.domain.com [x.x.x.x]: Connection timed out (port 25)
Nov 21 21:17:56 CSIDB3 postfix/smtp[14577]: 61715223EE: to=<sabarish@domain.com>, relay=none, delay=30, status=deferred (connect to mx3.domain.com[x.x.x.x]: Connection timed out)

The same thing happens will Gmail also. I think outgoing mail is not working at all.

Nov 21 20:27:41 CSIDB3 postfix/smtp[13907]: connect to gsmtp183.google.com[64.233.183.27]: Connection timed out (port 25)
Nov 21 20:27:41 CSIDB3 postfix/smtp[13907]: 5A177223E1: to=<sabarish@gmail.com>, relay=none, delay=189739, status=deferred (connect to gsmtp183.google.com[64.233.183.27]: Connection timed out)


View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
SuSE Vs. RHEL
Anyone out there have experience with SuSE over RedHat? RHEL is obviously the generalized Enterprise version used across most commercial hosting companies, but I'm interested in hearing about some SuSE experiences people have had.

It looks like SoftLayer offers SuSE and a couple VPS hosting companies do the same. I'm wondering how many large-scale sites are run on this operating system.

View Replies!   View Related
Suse Webserver - Who Does Them
I am having trouble finding any providers that provide Opensuse on their configs. So far, the only one seems to be 1&1 and I certainly do not want to be going near them anytime soon.

Does anyone know of a reputable company that can provide Opensuse based servers?

View Replies!   View Related
Does Anyone Use SUSE Linux
I have been trying to compare Red Hat to SUSE Linux, and can't really come to a definitive solution. I can't seem to find anyone that uses SUSE (Well, hardly anyway), but I found out that they have over double to market share that Red Hat has so somebody is definitely using them. I also noticed that SUSE is cheaper too.

Based on your experiences, what are some of the pros / cons both ways? Who offers better product training (I wan't to get certified directly)? Who has better product support? Is AppArmor better than SELinux?

By the way, I am only looking for commercial linux distributions. Specifically companies that offer product training.

View Replies!   View Related
Server With SuSe Operating System
direction of any companies who offer dedicated servers with SuSe -

View Replies!   View Related
SusE / MAC X-Server Backup
I'm working with a local startup and we are looking into potential backup solutions. We have roughly 9 servers all running some variation of susE linux (some straight susE and some X Server which runs off susE).

We are needing a backup solution that will allow us to securely get data off the servers on a regular interval. We are unable to move the data off site as we are running on a single T1 line with moderate utilization, certainly not enough BW to go off site.

View Replies!   View Related
Professional/Enterprise Version Of Suse
Which type of suse you recommend Professional or Enterprise Edition?

View Replies!   View Related
Nameservers Setup SUSE Linux
How to setup nameservers in SUSE Linux when my server is behind router?

I'd need to setup two nameservers so I could register domains.

NAT IP is the ip shown at whatismyip.com? or is it ip my router gives out eg 192.168.4.103?

View Replies!   View Related
Suse, Debian, Fedora Or CentOS
I will be dropping my shared-hosting plan and ordering a small VPS as soon as I can decide on which operating sytem to use. It seems that most companies offer the following choices: Suse, Debian, Fedora and CentOS.

I freely admit that I am a full-fledged n00b when it comes to linux and will be learning as I go, the problem is I just don't know where to start because I'm not familiar with any of them. I have at least heard of Suse, Debian and Fedora before, but didn't even know this CentOS existed until yesterday... and yet, it seems to be one of the more popular choices.

So I was wondering if some of you seasoned VPS veterans here could recommend an OS, tell me what the differences are, or otherwise share any experience you might have with any of them.

View Replies!   View Related
Setting Up A Domain Name SUSE 10 Runing From Home
I've got SUSE 10 loaded and installed at home.

My ISP service is highspeed from Comcast (speed right now not an issue), I would like to setup a domain name on the box to play around with - nothing serious yet.

I have several domain names purchased (Wildwest & Enom) and would like to use one of those on this box, or even more domains at a later day.

View Replies!   View Related
Linux (SuSE) Remove Files Ending
Does anyone knows how on Linux (SuSE) remove files ending with (lets say) *.1.0.1
when I try rm *.a.1

it outputs - to many arguments if rm test.* - everything is fine.

View Replies!   View Related
Automatic Resetting A SUSE Server Multiple Times
How can I restart a SUSE server multiple times?

how to use Cron to restart the server every 5 minutes and then log the number of times this was done and output it to a file?

View Replies!   View Related
Non-working Forwarding Email Account On Working Domain
I have a domain with a few forwarding email accounts that forward to mac.com email accounts... for some reason every once in a while these accounts stop working...

This is the error I get when I email to that account:

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed: ...

View Replies!   View Related
CentOS, Debian, Fedora Core 3 & 4, Gentoo, Opensuse, Suse, Unbuntu?
Gazzin.com offers so many OSs on their VPS deals - CentOS, Debian, Fedora Core 3, Fedora Core 4, Gentoo, Opensuse, Suse, Unbuntu. Which one would you advise me to start from?

View Replies!   View Related
Postfix
i'm running postfix on my mail server.

Is it possible to make each user/domain only send out 100mails per hour or less?

View Replies!   View Related
Postfix
I'm currently having trouble with Postfix. I recently installed some new web hosting software (ispCP) and so some new configs were written for all my software. Postfix was one of them and I can't figure out what's wrong with it.

Whenever I send e-mails to my server, Postfix denies it saying "Unknown address error 554: Relay access denied". The logs say NOTHING about it and I've been trying the old configs on Postfix and still nothing works.

Here are my configs:
main.cf

Code:
#
# Postfix MTA Manager Main Configuration File;
#
# Please do NOT edit this file manually;
#

#
# Postfix directory settings; These are critical for normal Postfix MTA functionallity;
#

command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix

#
# Some common configuration parameters;
#

inet_interfaces = all
mynetworks_style = host

myhostname = xetaspace.net
mydomain = xetaspace.net.local
myorigin = $mydomain

smtpd_banner = $myhostname ISPCP 1.0.0 Managed ESMTP
setgid_group = postdrop

#
# Receiving messages parameters;
#

mydestination = $myhostname, $mydomain
append_dot_mydomain = no
append_at_myorigin = yes
local_transport = local
virtual_transport = virtual
transport_maps = hash:/etc/postfix/ispcp/transport

#
# Delivering local messages parameters;
#

mail_spool_directory = /var/mail
mailbox_size_limit = 0
mailbox_command = procmail -a "$EXTENSION"

biff = no

alias_database = hash:/etc/aliases

local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database

#
# Delivering virtual messages parameters;
#

virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_limit = 0

virtual_mailbox_domains = hash:/etc/postfix/ispcp/domains
virtual_mailbox_maps = hash:/etc/postfix/ispcp/mailboxes

virtual_alias_maps = hash:/etc/postfix/ispcp/aliases

virtual_minimum_uid = 2887
virtual_uid_maps = static:2887
virtual_gid_maps = static:8

#
# SASL paramters;
#

smtpd_sasl_auth_enable = yes

smtpd_sasl_security_options = noanonymous

smtpd_sasl_local_domain = vhcs.net

broken_sasl_auth_clients = yes

smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination
master.cf

Code:
#
# Postfix master process configuration file. For details on the format
# of the file, see the Postfix master(5) manual page.
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - - - - smtpd
#submission inet n - - - - smtpd
# -o smtpd_etrn_restrictions=reject
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps inet n - - - - smtpd
# -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - - - - smtpd
# -o smtpd_etrn_restrictions=reject
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - - - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - - - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - - n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}

#
# vhcs delivery agent.
#

ispcp-arpl unix - n n - - pipe flags=O user=vmail argv=/var/www/ispcp/engine/messager/ispcp-arpl-msgr

View Replies!   View Related
Postfix
I tried following the directions about 'The Perfect Setup' for SuSE 10.1 for my email server and finally got it to work, but now I am having issues with error messages!

In my /var/log/mail file I get tons of:
Jul 6 18:15:17 <server> postfix/qmgr[8226]: warning: connect to transport error: Operation not permitted

and in my /var/log/messages file I get tons of:
Jul 6 18:19:17 <server> kernel: audit(1183738757.049:122): REJECTING w access to /var/spool/postfix/private/error (qmgr(8226) profile /usr/lib/postfix
/qmgr active /usr/lib/postfix/qmgr)

I can't find anyone having issues with the 'error' part of postfix.

View Replies!   View Related
Postfix No Email Sent
no mails are sent, without mail i'm lost because my users need confirmation emails to activate their membership, thank you

this is from my mail.log

postfix/smtp[30100]: 597E529C0FE1: to=<d1234@yahoo.com>, relay=none, delay=38985, delays=38985/0.01/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=yahoo.com type=MX: Host not found, try again)

postfix/smtp[30098]: 5FCBA29C1032: to=<h1234@yahoo.com>, relay=none, delay=27875, delays=27875/0/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=yahoo.com type=MX: Host not found, try again)

postfix/smtp[30099]: 5162829C1053: to=<s1234@ukr.net>, relay=none, delay=22725, delays=22725/0/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=ukr.net type=MX: Host not found, try again)

View Replies!   View Related
PostFix Configuration ...
I recently moved to a VPS and installed Postfix onto it as my mail server. But I have following problems with its consistent working:

1. I experience that every now and then (once in 2 weeks) , it stops sending mails and put them in the mail queue with the following error:

Host or domain name not found. Name service error for name= type=MX: mysite.com not found, try again

I am not sure why it says so. However if I try to restart my mail server /etc/init.d/postfix restart and then try to flush the mails out of queue they are sent successfully. I am not sure where the problem is.

2. Secondly, I see that the header of my mails contains the hostname of my VPS machine "gospel" which is ofcourse not intended. How can I have my domain name in the mail headers?

View Replies!   View Related
Postfix And Header_checks
My server's running Debian Etch, Postfix and spamassassin.

Spamassassin works: it flags spam messages correctly.

Currently I have set it to discard messages marked as spam and messages that doesn't have a proper ascii header (Eliminates mail from chinese & japanese spammers). But how do I make postfix to move spam to "Junk" (or such) folder, not to discard it.

Current /etc/postfix/header_checks:

Code:
/[^[:print:]]{8}/ DISCARD
/^X-Spam-level: *******.*$/ DISCARD

I did found something that could help, but didn't know how to apply it to my configuration, and it seems to be Php code for ispconfig.

View Replies!   View Related
Postfix Config
I'm having some SMTP server security issues. I am running Postfix on my Debian VPS and I am trying to disable Postfix from being publically used by anybody except those with webmail.

I read Postfix's configuration at Postfix.org, but I couldn't find anything that I thought to be relevent to this situation. Do any of you have suggestions or ways to fix this? Besides disabling e-mail all together?

As another detail, I'm running Postfix on its original config, not through a MySQL database config.

View Replies!   View Related
Postfix Setup
I've got virtualmin installed and configured and working beautifully, and I'm able to add email accounts and have them checked by dovecot. Now I'm trying to work the SMTP side of things, but I'm stuck.

What's happening here is that when I attempt to send an email through Postfix, it replies with 'relay access denied'

I've searched google and tried various things, but none of them have worked so far. I can post any configuration files you need. After I get this working, I get to add another domain and see if the settings work there too

View Replies!   View Related
Postfix- On FC5
Its incredible.... what happens with postfix....

the install is ok but:

Code:
[root@vps25621 ~]# ping google.com
PING google.com (64.233.167.99) 56(84) bytes of data.
64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=1 ttl=244 time=24.6 ms
64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=2 ttl=244 time=27.9 ms
64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=3 ttl=244 time=24.6 ms
64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=4 ttl=244 time=24.9 ms
64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=5 ttl=244 time=24.7 ms

--- google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 24.651/25.394/27.930/1.275 ms
[root@vps25621 ~]# postfix start
postfix/postfix-script: warning: /var/spool/postfix/etc/services and /etc/services differ
postfix/postfix-script: warning: /var/spool/postfix/etc/hosts and /etc/hosts differ
postfix/postfix-script: warning: /var/spool/postfix/etc/passwd and /etc/passwd differ
postfix/postfix-script: starting the Postfix mail system
[root@vps25621 ~]# ping google.com

[root@vps25621 ~]#

View Replies!   View Related
Postfix Conflict
I'm trying to iron out this huge bug with Postfix. Right now I am stuck in a hole. I am trying to disable Postfix from relaying e-mail sent to my server. When I send e-mail without "relay_domains", I get a "554 Relay Access Denied" error. When I supply a "relay_domains" variable to Postfix, I get "mail for example.com loops back to myself" for an error.

I was skimming over the Postfix docs and it said you can make these errors go away with a "virtual_mailbox_domains" or "virtual_alias_domains" variable. My config has "virtual_mailbox_domains" but still these errors appear.

Is there a way to fix this, or a way to disable Postfix from relaying e-mail?

View Replies!   View Related
Is My Postfix Secure
I am running postfix on my server. This server is used by me only Here is what I want to do for this server:

1. Receive email: I want to receive emails for some of my virtual domains host in this server

2. Check mail: I check email by using a web client which install in the server

3. Send mail: I send email by using a web client which install in the server.

4. Don't want to let any remote user to send email through my server.

Here is my config:

alias_database hash:/etc/aliases
mynetworks_style host
myorigin $mydomain
inet_interfaces all
mail_owner postfix
mydestination $myhostname, localhost.$mydomain, localhost
mydomain example.com
myhostname mail.example.com
queue_directory /var/spool/postfix
setgid_group postdrop
unknown_local_recipient_reject_code 550
virtual_alias_domains somevirtualdomains.com
virtual_alias_maps hash:/etc/postfix/virtual

Is my server secure enough? Can people spam email through my server?

I see people suggest to use smtp auth or pop before smtp to increase the security, Do you think it's necessary to do so in my case?

View Replies!   View Related
Postfix - Forward Question
I'm using Postfix as my mail agent. I was wondering how to forward incoming emails to a script.

I did a search in google and couldn't find anything relevant only this.

create a alias like this.

email@example.com: "| php -q /home/user/full/path/to/script.php"
But is not working not forward nothing. I have tried everything but nothing works and the logs not show me any errors.

View Replies!   View Related
Postfix + Google = Headache
I installed recently Postfix + Dovecot (yum) on a CentOS 5.1 test box. The configuration went OK, I can telnet on port 25, 587 and 465 with no problems.

# hostname -f
localhost.localdomain

#openssl s_client -connect localhost:465
CONNECTED(00000003)
depth=0 /C=CA/ST=Quebec/L=Montreal/O=Axivo Inc./CN=localhost/emailAddress=webmaster@localhost
verify error:num=18:self signed certificate
verify return:1
depth=0 /C=CA/ST=Quebec/L=Montreal/O=Axivo Inc./CN=localhost/emailAddress=webmaster@localhost
verify return:1
[more certificate code here ...]
---
220 localhost.localdomain ESMTP Postfix
ehlo localhost
250-localhost.localdomain
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

# telnet localhost 587
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 localhost.localdomain ESMTP Postfix
ehlo localhost
250-localhost.localdomain
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN ....

View Replies!   View Related
POSTFIX Installation/configuration
Does anyone know of a good postfix tutorial?

I'm having trouble getting it to work on my server.

I'm using Ubuntu 8.10.

I have a working SMTP but I need POSTFIX for php mail()

View Replies!   View Related
Change Poart Of Postfix
How can I change port of postfix?

View Replies!   View Related
VPS Postfix Error
I'm thinking of forcing the install but well maybe I should just post what's going on

After unpacking 0B of additional disk space will be used.
Setting up virtualmin-base (1.0-19) ...
Setting Webmin theme
Setting Usermin theme
Configuring Postfix
Error: Failed to query Postfix config command to get the current value of parameter virtual_alias_maps: <tt></tt>
Error
-----
Failed to query Postfix config command to get the current value of parameter virtual_alias_maps: <tt></tt>
-----
dpkg: error processing virtualmin-base (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
virtualmin-base
E: Sub-process /usr/bin/dpkg returned an error code (1)

I ran a dpkg-reconfigure and well I didn't had any problems
The system is Debian 4.0

View Replies!   View Related
Postfix Bounce Messages
Where can I turn off the emails that go out in response to a message not being delivered?

View Replies!   View Related
Includes In Postfix Configuration
I have my postfix server configured to allow me to send email without authentication whenever my ip matches a value in my config. Only problem is, i have it open to accept anyone in my subnet, and i'm kind of weary of letting anyone in this area send mail through it.

I have a script on my server that gets my ip address whenever i send an http-based request to my winamp now playing script. When it gets my ip address, it updates a file called ip.txt with my ip address. What i'm trying to do is config my postfix main.cf file to grab the ip from ip.txt, and add it onto the mynetworks variable. Then when i try to send the email, i want it to recognize me, and let me send the email.

View Replies!   View Related
Auto Updating Postfix
I have searched the whole forum for help on this but couldnt find anything.

I have postfix running on a backup mx server for a plesk box. The backup mx does a very good job of reducing spam and virus to my plesk box thanks to mailscanner.

The problem i have now is i have to manually update postfix transport and relay_recipients file everytime a new domain is created in plesk. Do any one know how i can create a custom script that will pull domain information from my plesk box and will update postfix on the backup mx server. Maybe a website with information that can help.
i can always set a cron to run the postmap command to update the tables but i will need to update the respective files (transport, relay_recipients) first.

View Replies!   View Related
Postfix + Mysql Virtualdomaines
I've just finished setting up postfix with mysql virtualdomains, on debian sarge with mysql 5.0. However it refuses to connect to the mysql database and I have found a bug report for courrier-authdeamon

[url]

how can I get around this? I would like to be able to keep mysql 5 but need a stable version so I do not want to install the 5.1 version...

View Replies!   View Related
Sendmail/postfix On Ubuntu 7.04
how do I configure a minimal/basic sendmail/postfix mail server on an ubuntu 7.04 server edition? I tried with postfix but I ran only into errors.

View Replies!   View Related
Using Postfix As An SMTP Gateway
I have been trying to determine if I should use Postfix or Exim for our new SMTP gateway. My biggest obstacle is in trying to determine if Postfix can handle the processing as efficiently as Exim.

Basically we have hundreds of domains that will have email going through the gateway. I need to know if Postfix can be configured to perform different actions based on the recipient domain (i.e. block receipt of message or add a header and deliver). It looks like this functionality is handled by using a 3rd party tool like "amavisd".

The problem is that it looks like I have to wait for the DATA to be received before I can send the mail to the filtering tool rather than just waiting until the last RCPT command. It is also unclear as to whether the message will be denied during delivery with a 550 error being returned or whether the message is accepted and a postmaster message is sent. Obviously I would prefer the 550 error.

View Replies!   View Related
Remote Domains With VHCS2 And Postfix
I didn't know where to post this question since VHCS has no official forum (that I know of), so I decided to post it on sitepoint. I'm sure some of you use VHCS and maybe someone can help me with my problem.

I am setting up a hosting server for the sites I develop for my customers. This server is intended to host only websites (no email). The MX records for the hosted domains will mostly be directed to Google Apps.

My problem is that VHCS automatically adds all hosted domains to postfix as local domains. This in turn means that I cannot send email to these domains from the server itself (e.g. from PHP scripts).

I believe that local domains are listed in the file /etc/postfix/vhcs2/domains. Now, I could just delete them from this file and it would probably work, but I would really rather see if there was a way to convince VHCS to not add them to the list in the first place. There are several reasons I am reluctant to do this manually: I have extra work every time I add a domain; there is a chance I'll forget to do this; it says in the file "Please do NOT edit it manually", which probably means that VHCS will overwrite my changes at some time,...

Does anyone know, how to configure VHCS to not serve as a mail server for any of the hosted domains, bearing in mind that I cannot simply shut down postfix, because I need a way of sending email through PHP?

View Replies!   View Related
Postfix Or Sendmail Or Exim As MTA? Which Is Best?
i am confused about setting up mail server.

1.Postfix or sendmail or exim as MTA? which is best?

2. which SMTP/POP3 is best? dovecot or courier or any other

3. or which MTA/POP3 combination is easy and works best?

i am looking for easy installation so that i can use webmail and outlook for emails.
what do you suggest? and of course not commercial ones.

View Replies!   View Related
Should I Install Domainkeys For SENDMAIL Or POSTFIX
I have both sendmail and postfix installed. Which Should I install?

DK-MILTER-1.0.0?

or DKFILTER?

View Replies!   View Related
Sending Mail By Priority With Postfix
I'm having issue with mails stuck in queue and take days to send out. I'm looking for a command or script solution that puts a priority to particular message or domain so their message can be sent first.

Mail mta is Postfix running on BSD system.

View Replies!   View Related
Postfix And Catching Incoming Mail
write a script which will run a script on every incoming mail, the script must touch a file in /var/log/mail - filename must be a login on server... thats all

i found something to use procmail, but i dont know how to bite it

how to do that? would be nice if you drop some links or tutorials..

always i hate mail servers!

View Replies!   View Related
Postfix SMTP Auth (Relay) Problem
I've been trying to set up Postfix to send email for the past few days. I've managed to get it to ask for a username and password, in order to try and send mail to an external domain

I can receive email fine on the server, but I can't send email out

Here is my main.cf file

Code:
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
unknown_local_recipient_reject_code = 550
mynetworks = 127.0.0.0/8 192.168.3.0/24
smtpd_recipient_restrictions = permit_mynetworks permit_inet_interfaces permit_sasl_authenticated reject_unauth_destination
mynetworks_style = class
smtpd_sasl_auth_enable = yes
allow_untrusted_routing = yes
relay_domains =
smtpd_client_restrictions = permit_mynetworks permit_inet_interfaces
smtpd_sasl_application_name = smtpd
smtpd_sasl_local_domain = $mydomain
smtp_sasl_mechanism_filter = !plain, static:rest
broken_sasl_auth_clients = yes
smtp_sasl_mechanism_filter = login
myorigin = literatifoundation.org
mydomain = literatifoundation.org
myhostname = literatifoundation.org
mydestination = $myhostname, localhost.$mydomain, $mydomain

When I try to login to send the email, it doesn't accept the password.

View Replies!   View Related
How To Prevent Spoofing From Postfix/local Part
I have similar problem that explained [url]

The detail of my problem is below:

Some people sent spoofing mails from our mail users sent to our user from Postfix/local that is listed in maillog like below:

Apr 29 16:57:02 ns1 postfix/local[3075]: EC2153565E3: to=<user-mydomain.com@ns1.mydns.com>, orig_to=<user@mydomain.com>, relay=local, delay=486, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)

Bu i do not know how to prevent this people not to use my Postfix/local delivery part. How can i prevent this attack?

When i connect to my mail server to sent or receive my mail it look like
Apr 29 17:25:28 ns1 dovecot: pop3-login: Login: user=<user@mydomain.com>, method=PLAIN, rip=***.***.***.***, lip=***.***.***.***
....
Apr 29 17:25:55 ns1 dovecot: POP3(user@mydomain.com): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0....

But the attackers connect directly like below:

Apr 29 17:29:59 ns1 postfix/local[2456]: 3192E357FD9: to=<user-mydomain.com@ns1.mydns.com>, orig_to=<user@mydomain.com>, relay=local, delay=261, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
....
Apr 29 17:29:59 ns1 postfix/qmgr[2218]: 3192E357FD9: removed

How can the spammer connect to Postfix/local part? My mail server not open relay. i test it from internet.

View Replies!   View Related
Create Additional Subfolder Postfix/courier
I have a mail server which is courier, postfix, amavisd, using Mysql db and virtual mailboxes which I administer through postfixadmin.

I want to be able to add a set of default folders to all mailboxes created such as Possible Spam and some others.

I have investigated shared folders but this is not what i want, is there a way I can get courier/postfix to create a set of additional sub-folders when it creates a mailbox.

All mailboxes are accessed as IMAP mailboxes.

View Replies!   View Related
Postfix TO Addresses Show As Undisclosed-recipients
I have a dedicated server where I am running Postfix just to relay mail to a smtp server. Whenever I send test emails using Postfix the TO addresses shows as:

"undisclosed-recipients"

I see when I review my maillog where the outgoing email address is not recognized.

Jun 11 21:09:57 big1 postfix/smtpd[8098]: >>> CHECKING RECIPIENT MAPS <<<
Jun 11 21:09:57 big1 postfix/smtpd[8098]: ctable_locate: leave existing entry key xxxxx@gmail.com
Jun 11 21:09:57 big1 postfix/smtpd[8098]: maps_find: recipient_canonical_maps: xxxxx@gmail.com: not found

How can you get Postfix to just pass along the email address and not check to see if it knows it or not? The email still goes to the right place but it does not look very professional..

View Replies!   View Related
Getting Postfix Silently Discard Catchall Emails
I finally got to the spam point I had to need to disable the "catchall" email accounts on postfix. I simply removed the catchall lines from /etc/postfix/virtual, and it works correctly, however I want postfix to tell the spammer that the message was accepted but really silently discard it.

right now it discards their email correctly, but postfix emails a reply back to the "from" address (which is most likely faked or some innocent user)

Quote:

"PERM_FAILURE: SMTP Error (state 13): 550 <localhost@example.com>: Recipient address rejected: User unknown in virtual alias table"

how do I get postfix to silently trash their message, give the smtp reply code that it was successfully accepted, and not email the user back.

or is it not that big of deal and I should just let it send (but this seems like a huge waste as this means my server is wasting resources sending hundreds/thousands of unnecessary "REJECTED" messages to users who probably are completely unrelated)

View Replies!   View Related
SASL Authentication For Mail Server (Sendmail/Postfix)
I recently moved to virtual dedicated hosting for my website, mainly because I wanted a better mail server to work with to manage a mailing list.

I have a few PHP software scripts for different things: managing affiliates and email marketing.

I want to send mail using both of those via SMTP on my new server. They both have a place to type in the host and username/password.

The problem I am noticing is SASL Authentication. They attempt to connect to the host without any trouble. However, the affiliate software fails SASL Authentication every time I try to send an email or test the email system.

Email marketing software connects when I manually send a campaign. However, users are supposed to immediately receive a confirmation mail upon opting in. In this case, it shows up as an attempt in the mail log, but it fails SASL Authentication. I don't know if it's a problem with the software or not, since it attempts to connect but fails, yet connects successfully in other cases.

My question is this: Is there another way around this? I've contacted my host to double check on the appropriate username/password to pass authentication. I will also be contacting the software developers after I receive an answer.

But if nothing comes of it, is there any way around it? Is there a place where I can have it automatically authenticate if the email is coming from a certain user, or if the attempt is being made from the same server (everything sits on the same server, I use localhost in the software to connect to the mail server). Since I am the only person who has access to the server and uses it, it seems safe to automatically authenticate if the request is being asked by the server itself...

I'm just looking for other alternatives if the software does indeed have a problem and I cannot figure it out.

Keep in mind I am very new to all this server and root access. Just a few days ago I was on a shared hosting plan, so I didn't have any access to anything. With that in mind, I know very little about mail servers, although I've been learning more over the past few days. I only stumbled upon the mail logs on my server recently by browsing files in the control panel (I'm not familiar with SSH, although I do have access to it)

View Replies!   View Related
Postfix+MySQL+Courier-IMAP+Spamassassin+SquirrelMail ...issue
Hopefully I'm posting this in the correct area. Our server runs CentOS 4.4 on x86_64 arch.

So basically everything was going rather smoothly...

Problems began to arise at the point where I finished installing/configuring SquirrelMail. Upon logging in, I saw this:

[see attachment]

Ok, so I checked maillog and saw:

Feb 11 13:50:46 zeus imapd: LOGIN, user=alex, ip=[::ffff:127.0.0.1], protocol=IMAP
Feb 11 13:50:47 zeus imapd: Failed to connect to socket /tmp/fam--
Feb 11 13:50:47 zeus imapd: Failed to create cache file: maildirwatch (alex)
Feb 11 13:50:47 zeus imapd: Error: Input/output error
Feb 11 13:50:47 zeus imapd: Check for proper operation and configuration
Feb 11 13:50:47 zeus imapd: of the File Access Monitor daemon (famd).
Feb 11 13:50:47 zeus imapd: DISCONNECTED, user=alex, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=21, sent=57, time=1

So I did some searching and determined it was a problem with Courier-IMAP being compiled with File Alteration Monitor support and famd not running (I built RPM directly from source tarball without any customization whatsoever per the instructions on the Courier website).

I found some possible solutions to be:

1) Install and run fam and be sure portmapper is running as well (problem being is that fam has since been replaced by gamin on CentOS, which is installed properly on my system).
2) Do a source install of Courier-IMAP and --disable-fam

Ok, so route 1 went like this: I uninstalled gamin, found fam-2.6.8, installed it, started it manually, made sure portmapper was running and tried again. This time, I still got the same errors in SquirrelMail, but the errors in maillog didn't show up. However, shortly after the page loaded, the famd process I had started manually promptly ended without my intervention. Ok, onto trying #2.

Route 2 went like this: reinstalled gamin, then I tried building a custom RPM by manually configuring with --disable-fam and then using rpmbuild -bc --short-circuit and rpmbuild -bi --short-circuit. That didn't change anything at all, I still had the same errors both with SquirrelMail and in maillog. Then I said ok, I'll just do a complete source install. ./configure --disable-fam && make && make install. Manually started that server, tried again, same deal, both errors.

So I've got problems. Either with Courier-IMAP, SquirrelMail, or both. The other daemons seem to run fine, I just mentioned them in case of the possibility of some kind of (unknown to me) conflict.

If you need to see any of my configs, let me know...any information greatly appreciated...I'm desperate.

View Replies!   View Related
Qmail Or Sendmail Or Postfix With WHM Other Than Exim Mail SMTP
Can i use Qmail or Sendmail or Postfix with WHM other than exim mail SMTP.

View Replies!   View Related
Postfix-mysql & Partial-catchall For Single Domain
I'm running postfix 2.3.5 with my alias info being drawn from a mysql database.

What i'm trying to do is setup a partial catchall setup to forward all email that's addressed *@hah.cx to uber@spamcop.net. However, I want email addressed to mikey@hah.cx, and mike@hah.cx to be directed to my local "mikey" user email account.

View Replies!   View Related
[cPanel] Subdomain.domain.com Not Working | Www.subdomain.domain.com - Working Ok
I have problem,
subdomain.domain.com - not working
www.subdomain.domain.com - working

When I creating new subdomain: subdomain2.domain.com - all working ok, I have problem only with this one domain.

I deleting domain.com, deleting dns zones, deleting account, adding domain to other account - all not working for subdomain.domain.com

View Replies!   View Related
Postfix Recieving Email For Deleted Email Address
I had a email address I deleted on my server (postfix on Debian 4), but to my surprise the server still recieves email for the address!

(I have manually tried sending a email to the address and it comes througt).

I have deleted the address from the /etc/postfix/virtual file and restarted postfix.
What could I have forgotten?

View Replies!   View Related
Iptables Not Working
After I start iptables:
service iptables start
There is not any message coming up.
When use
service iptables status,
It said:
iptables: Firewall is not running.

My os is fedora core 6

View Replies!   View Related
Httpd Not Working
I just got apache installed on my box and the process is running. However when I enter my ip address on firefox, nothing loads up and I get a timeout error.

View Replies!   View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved