Can't send mail after setting urlbase - Mozilla

This is a discussion on Can't send mail after setting urlbase - Mozilla ; Hi, there, I just setup bugzilla-3.0 on a RedHat Linux box. If I leave the "urlbase" field empty, it can send out emails. But if I set the "urlbase" field with something (anything), it can not send out emails. I ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Can't send mail after setting urlbase

  1. Can't send mail after setting urlbase

    Hi, there,

    I just setup bugzilla-3.0 on a RedHat Linux box. If I leave the
    "urlbase" field empty, it can send out emails. But if I set the
    "urlbase" field with something (anything), it can not send out
    emails.

    I tried to trace the /var/log/maillog but couldn't find any difference
    before or after the change.

    What's happened here? Can someone tell me?

    Thanks a lot!
    Calvin


  2. Re: Can't send mail after setting urlbase

    Calvin,

    2007/8/16, koifans :
    > I just setup bugzilla-3.0 on a RedHat Linux box. If I leave the
    > "urlbase" field empty, it can send out emails. But if I set the
    > "urlbase" field with something (anything), it can not send out
    > emails.


    Bugzilla uses the value of its mailfrom parameter as the sender
    address, which defaults to "bugzilla-daemon". Now if the sender
    address isn't fully qualified (read: doesn't contain an @ character),
    Bugzilla tries and uses the host part of the urlbase parameter (it
    takes as much from it that follows :// and doesn't contain another
    slash). So in your case, before you set the urlbase parameter, mails
    were sent as "bugzilla-daemon", afterwards as
    "bugzilla-daemon@your-host-or-ip-address-or-whatever".

    Keep in mind that setting the urlbase parameter is required for
    Bugzilla to function throughout properly.

    You need to make sure your mail server and spam filter copes with the
    sender's mail address correctly. Use the "Test" setting of Bugzilla's
    mail_delivery_method parameter to see the sender's mail addresses with
    and without the urlbase parameter set. Check whether setting
    Bugzilla's mailfrom parameter is useful to your environment.

    Kind regards
    Marc

  3. Re: Can't send mail after setting urlbase

    On Aug 16, 1:34 am, koifans wrote:
    > Hi, there,
    >
    > I just setup bugzilla-3.0 on a RedHat Linux box. If I leave the
    > "urlbase" field empty, it can send out emails. But if I set the
    > "urlbase" field with something (anything), it can not send out
    > emails.
    >


    I'm not sure if this is the cause, but do you have a port number in
    your urlbase (e.g. http://mysite.com:8080/)? If so, the port may be
    causing a problem with your SMTP server. There is a known bug in
    Bugzilla 3.0 if you have a port number in your urlbase and are using
    certain SMTP servers where the SMTP server rejects an invalid EHLO
    message because the port number does not get stripped out.

    For more info on this problem:
    https://bugzilla.mozilla.org/show_bug.cgi?id=372668
    https://bugzilla.mozilla.org/show_bug.cgi?id=384501

    -Scott


+ Reply to Thread